Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 106.1 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 192.3 kB / 17.36 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08623/0.08623, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.007e-05, allocations: 5.094 kB / 437.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003296/0.003336, allocations: 1.99 MB / 439.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.006534, allocations: 1.813 MB / 441.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.007104, allocations: 7.938 kB / 441.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007626/0.007877, allocations: 166.8 kB / 441.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.008928, allocations: 223 kB / 441.8 MB, free: 7.59 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.009845, allocations: 379.5 kB / 442.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.01159, allocations: 1.175 MB / 443.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.01199, allocations: 169.6 kB / 443.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.01271, allocations: 390.7 kB / 443.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.01332, allocations: 346.3 kB / 444.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.01352, allocations: 68 kB / 444.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.01377, allocations: 87.97 kB / 444.4 MB, free: 5 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000911/0.01468, allocations: 1.019 MB / 445.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005246/0.01522, allocations: 0.6465 MB / 446.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.01542, allocations: 83.62 kB / 446.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001231/0.01555, allocations: 31.75 kB / 446.2 MB, free: 3.199 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 (90) * Number of variables: 90 (90) Notification: Performance of Bindings: time 0.00312/0.01868, allocations: 2.813 MB / 449 MB, free: 260 kB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001844/0.01887, allocations: 107.8 kB / 449.1 MB, free: 152 kB / 318.1 MB Notification: Performance of Early Inline: time 0.001318/0.0202, allocations: 1.124 MB / 450.3 MB, free: 15 MB / 334.1 MB Notification: Performance of simplify1: time 0.000181/0.02039, allocations: 107.8 kB / 450.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Alias: time 0.003123/0.02352, allocations: 2.016 MB / 452.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001915/0.02372, allocations: 91.88 kB / 452.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Detect States: time 0.0006078/0.02434, allocations: 358.5 kB / 452.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Events: time 0.0003468/0.0247, allocations: 127.7 kB / 452.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004713/0.02518, allocations: 313.1 kB / 453.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Causalize: time 0.001488/0.02668, allocations: 0.9803 MB / 454.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001003/0.02769, allocations: 0.8585 MB / 455.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of Inline: time 0.003278/0.03098, allocations: 2.17 MB / 457.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001512/0.03115, allocations: 103.6 kB / 457.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of Cleanup: time 0.000169/0.03132, allocations: 71.84 kB / 457.4 MB, free: 7.449 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ARRY] (1) D.Fcs1.bb = {D.Fcs1.b[1]} ($RES_BND_149) slice: {}; [ARRY] (1) D.Fcs2.a = D.Fcs2d ($RES_BND_144) slice: {}; Notification: Performance of Causalize: time 0.009512/0.04084, allocations: 6.297 MB / 463.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Tearing: time 1.933e-05/0.04088, allocations: 4 kB / 463.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of Initialization: time 1.151e-05/0.0409, allocations: 4 kB / 463.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Tearing: time 5.25e-06/0.04091, allocations: 0 / 463.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Categorize: time 1.63e-05/0.04093, allocations: 0 / 463.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Solve: time 0.003305/0.04424, allocations: 3.396 MB / 467.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Jacobian: time 0.001017/0.04529, allocations: 0.7647 MB / 467.9 MB, free: 12.48 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 14 (14) {P.P11.x_scaled, P.P12.x_scaled, P.P21.x_scaled, P.P22.x_scaled, D.D12.x_scaled, D.D21.x_scaled, C1.xfb, C1.xBias, C1.u, C1.csfil, C2.xfb, C2.xBias, C2.u, C2.csfil} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {C1.HIsat, C1.LOsat, C2.HIsat, C2.LOsat, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:44, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 102 (scalar:72, array:30, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 8 (linear: 0, nonlinear:8) Notification: Performance of backend: time 0.0001305/0.04543, allocations: 64.27 kB / 468 MB, free: 12.42 MB / 350.1 MB Notification: Performance of SimCode: time 0.004554/0.04999, allocations: 3.568 MB / 471.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Templates: time 0.01269/0.0627, allocations: 6.52 MB / 478 MB, free: 2.238 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AES_AES_Coursework_Typical_control_structures_Decoupling -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AES_AES.Coursework.Typical_control_structures.Decoupling.o AES_AES.Coursework.Typical_control_structures.Decoupling.c AES_AES.Coursework.Typical_control_structures.Decoupling.c:142:269: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[28] /* P.P11.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp4, mul_alloc_real_array_scalar(tmp9, (data->simulationInfo->realParameter[19] /* P.P11.d PARAM */))),((data->simulationInfo->realParameter[20] /* P.P11.a_end PARAM */)) * (tmp13),"P.P11.a_end * P.P11.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[19] /* P.P11.d PARAM */)) * ((data->localData[0]->realVars[43] /* C1.CS variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ AES_AES.Coursework.Typical_control_structures.Decoupling.c:177:271: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[30] /* P.P12.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp15, mul_alloc_real_array_scalar(tmp20, (data->simulationInfo->realParameter[28] /* P.P12.d PARAM */))),((data->simulationInfo->realParameter[29] /* P.P12.a_end PARAM */)) * (tmp24),"P.P12.a_end * P.P12.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[28] /* P.P12.d PARAM */)) * ((data->localData[0]->realVars[49] /* C2.CS variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ AES_AES.Coursework.Typical_control_structures.Decoupling.c:291:271: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[34] /* P.P22.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp28, mul_alloc_real_array_scalar(tmp33, (data->simulationInfo->realParameter[46] /* P.P22.d PARAM */))),((data->simulationInfo->realParameter[47] /* P.P22.a_end PARAM */)) * (tmp37),"P.P22.a_end * P.P22.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[46] /* P.P22.d PARAM */)) * ((data->localData[0]->realVars[49] /* C2.CS variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ AES_AES.Coursework.Typical_control_structures.Decoupling.c:325:271: error: invalid operands to binary expression ('modelica_real' (aka 'double') and 'real_array' (aka 'struct base_array_s')) (data->localData[0]->realVars[32] /* P.P21.y variable */) = DIVISION_SIM(sub_alloc_real_array(tmp39, mul_alloc_real_array_scalar(tmp44, (data->simulationInfo->realParameter[37] /* P.P21.d PARAM */))),((data->simulationInfo->realParameter[38] /* P.P21.a_end PARAM */)) * (tmp48),"P.P21.a_end * P.P21.x_scaled",equationIndexes) + ((data->simulationInfo->realParameter[37] /* P.P21.d PARAM */)) * ((data->localData[0]->realVars[43] /* C1.CS variable */)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ 4 errors generated. make: *** [: AES_AES.Coursework.Typical_control_structures.Decoupling.o] Error 1