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

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.09999999999999987x[7]+1.09999999999999987x[8]+0.0650162540635158687u[1]+0.100025006251562881u[3]+0.0900225056264065959u[4]+0.0900225056264065959u[5]-0.0150037509377344315u[6]+0.0100025006251562888u[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 (637 KB)

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. 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.