Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003134/0.003134, allocations: 179.7 kB / 7.463 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.4 MB / 229.3 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009976, allocations: 89.17 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.473/0.473, allocations: 78.05 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1771/0.6502, allocations: 75.5 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/1.024, allocations: 69.35 MB / 0.5408 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/1.154, allocations: 98.62 MB / 0.6371 GB, free: 6.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/1.154, allocations: 83.94 kB / 0.6372 GB, free: 6.012 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.08707/1.241, allocations: 30.79 MB / 0.6673 GB, free: 6.969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.241, allocations: 12 kB / 0.6673 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/1.245, allocations: 0.6068 MB / 0.6679 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/1.248, allocations: 0.8741 MB / 0.6687 GB, free: 5.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.249, allocations: 218.4 kB / 0.6689 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/1.249, allocations: 56 kB / 0.669 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002537/1.252, allocations: 0.9334 MB / 0.6699 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.254, allocations: 1.05 MB / 0.6709 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.254, allocations: 0 / 0.6709 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.254, allocations: 0 / 0.6709 GB, free: 3.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/1.254, allocations: 24 kB / 0.671 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2236/1.478, allocations: 4.36 MB / 0.6752 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.479, allocations: 0.6461 MB / 0.6758 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/1.48, allocations: 0.6167 MB / 0.6764 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/1.481, allocations: 23.64 kB / 0.6765 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.481, allocations: 47.25 kB / 0.6765 GB, free: 138.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 4.127e-06/1.481, allocations: 0 / 0.6765 GB, free: 138.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01353/1.494, allocations: 4.532 MB / 0.6809 GB, free: 138.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.494, allocations: 118 kB / 0.681 GB, free: 138 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.496, allocations: 0.8088 MB / 0.6818 GB, free: 137.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003071/1.496, allocations: 29.55 kB / 0.6819 GB, free: 137.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/1.496, allocations: 384.2 kB / 0.6822 GB, free: 137.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005907/1.497, allocations: 377.8 kB / 0.6826 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.497, allocations: 0 / 0.6826 GB, free: 137.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/1.497, allocations: 350.9 kB / 0.6829 GB, free: 137.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008805/1.498, allocations: 478 kB / 0.6834 GB, free: 137.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/1.499, allocations: 0.6557 MB / 0.684 GB, free: 137 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/1.5, allocations: 0.5222 MB / 0.6845 GB, free: 137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/1.5, allocations: 3.969 kB / 0.6845 GB, free: 137 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0137/1.514, allocations: 4.737 MB / 0.6892 GB, free: 136.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004107/1.514, allocations: 1.677 MB / 0.6908 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.514, allocations: 6.656 kB / 0.6908 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005983/1.52, allocations: 1.82 MB / 0.6926 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/1.521, allocations: 175.4 kB / 0.6928 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/1.538, allocations: 6.795 MB / 0.6994 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.54, allocations: 200.9 kB / 0.6996 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/1.54, allocations: 41.06 kB / 0.6996 GB, free: 133.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.54, allocations: 8.094 kB / 0.6996 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01854/1.559, allocations: 4.555 MB / 0.7041 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/1.559, allocations: 3.75 kB / 0.7041 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009671/1.569, allocations: 1.819 MB / 0.7059 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.57, allocations: 158.9 kB / 0.706 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.593, allocations: 6.799 MB / 0.7126 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.596, allocations: 184.7 kB / 0.7128 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/1.596, allocations: 42.48 kB / 0.7129 GB, free: 131.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006811/1.597, allocations: 132.5 kB / 0.713 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006399/1.597, allocations: 141.5 kB / 0.7131 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01981/1.617, allocations: 4.613 MB / 0.7176 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/1.617, allocations: 11.38 kB / 0.7176 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.617, allocations: 3.906 kB / 0.7176 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/1.617, allocations: 16.98 kB / 0.7177 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/1.641, allocations: 6.135 MB / 0.7236 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/1.641, allocations: 0 / 0.7236 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.642, allocations: 132.2 kB / 0.7238 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008201/1.65, allocations: 1.789 MB / 0.7255 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/1.65, allocations: 7.516 kB / 0.7255 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/1.671, allocations: 6.003 MB / 0.7314 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.671, allocations: 0 / 0.7314 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02346/1.695, allocations: 5.468 MB / 0.7367 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02364/1.718, allocations: 6.643 MB / 0.7432 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/1.719, allocations: 225.3 kB / 0.7434 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000628/1.72, allocations: 7.906 kB / 0.7434 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.722, allocations: 141.6 kB / 0.7436 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/1.722, allocations: 121.2 kB / 0.7437 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.722, allocations: 24 kB / 0.7437 GB, free: 115.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001379/1.724, allocations: 0.6131 MB / 0.7443 GB, free: 114.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005494/1.729, allocations: 0.6914 MB / 0.745 GB, free: 114.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004305/1.73, allocations: 137.7 kB / 0.7451 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01531/1.745, allocations: 3.72 MB / 0.7488 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.745, allocations: 0.5 kB / 0.7488 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006478/1.752, allocations: 1.502 MB / 0.7502 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.753, allocations: 101.2 kB / 0.7503 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/1.761, allocations: 1.829 MB / 0.7521 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.763, allocations: 1.252 MB / 0.7533 GB, free: 106.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.903e-06/1.763, allocations: 0 / 0.7533 GB, free: 106.6 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)