# Problem in Build Process in RT Box 1:Error in Buld step 2

**URL:** <https://forum.plexim.com/t/problem-in-build-process-in-rt-box-1-error-in-buld-step-2/1235>\
**Category:** RT Box\
**Tags:** rt-box\
**Created:** [April 27, 2023, 5:33am UTC](https://forum.plexim.com/t/problem-in-build-process-in-rt-box-1-error-in-buld-step-2/1235 "2023-04-27T05:33:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvaL](https://avatars.discourse-cdn.com/v4/letter/e/5fc32e/32.png) [@EvaL](https://forum.plexim.com/u/EvaL)\
**Post date:** [April 27, 2023, 5:33am UTC](https://forum.plexim.com/t/problem-in-build-process-in-rt-box-1-error-in-buld-step-2/1235/1 "2023-04-27T05:33:47Z")

</div>

During the process of building the plant subsystem into the RT Box 1, I encountered the following error :

Error in build step #2 (Make): Make process exited with code 2:Compiling pl\_3ph\_rtbox\_main.oCompiling pl\_3ph\_rtbox.opl\_3ph\_rtbox.mk:57: recipe for target ‘pl\_3ph\_rtbox.o’ failedpl\_3ph\_rtbox.c: In function ‘PM6\_natPreComm\_2337’:pl\_3ph\_rtbox.c:714786: note: -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headersif (-x[5]-1.09999999999999987_x[7]+1.09999999999999987_x[8]+0.0650162540635158687_u[1]+0.100025006251562881_u[3]+0.0900225056264065959_u[4]+0.0900225056264065959_u[5]-0.0150037509377344315_u[6]+0.0100025006251562888_u[11]+0.0100025006251562888\*u[12] \> 0) {cc1.exe: out of memory allocating 65536 bytesmake: \*\*\* [pl\_3ph\_rtbox.o] Error 1

I have set the \<Timeout\> to the value 240 to the file ‘info.xml’ because before the following message was appeared: Error in build step #2 (Make) : Make process timed out after 240 seconds.

Can anyone help?

Thank you

Below, i attach the relevant file

[3ph\_rtbox.plecs](https://forum.plexim.com/uploads/short-url/v8Tyu3yq7tkYMxvrA6L24QnG3Ra.plecs) (637 KB)

---

<div class="post-metadata">

**Author:** ![Bryan\_Lieblick](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/bryan_lieblick/32/10_2.png) [@Bryan\_Lieblick](https://forum.plexim.com/u/Bryan_Lieblick)\
**Post date:** [May 3, 2023, 10:29am UTC](https://forum.plexim.com/t/problem-in-build-process-in-rt-box-1-error-in-buld-step-2/1235/2 "2023-05-03T10:29:40Z")

</div>

The error message indicates that the size of the generated model is too large. You will have to use model splitting techniques to numerically decouple different parts of your system. Refer to the "[forum question](https://forum.plexim.com/6976/sampling-script-block-causes-vertikal-edges-switching-signals). The PLECS Manual and the tutorials contain guidance on what is required if a modulator is implemented using C-Scripts.

On the RT Box you are not using the PWM Capture input to supply the switching signals to your series connected full bridges. This will reduce the model fidelity substantially.
