Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") [: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.002338/0.002338, allocations: 172.5 kB / 7.457 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.06/1.06, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0008202/0.00082, allocations: 93.25 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3772/0.3772, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.365e-06, allocations: 4 kB / 484.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2422, allocations: 69.35 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09921/0.3414, allocations: 98.61 MB / 0.6371 GB, free: 6.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.3416, allocations: 83.95 kB / 0.6371 GB, free: 6.234 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07152/0.4132, allocations: 28.81 MB / 0.6653 GB, free: 9.215 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.552e-05/0.4133, allocations: 35.94 kB / 0.6653 GB, free: 9.18 MB / 490.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.005171/0.4185, allocations: 1.953 MB / 0.6672 GB, free: 7.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4185, allocations: 8.031 kB / 0.6672 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.422, allocations: 0.6029 MB / 0.6678 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.4239, allocations: 0.8702 MB / 0.6687 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.4241, allocations: 214.4 kB / 0.6689 GB, free: 5.402 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.4243, allocations: 56 kB / 0.6689 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001788/0.4261, allocations: 0.9373 MB / 0.6698 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.4279, allocations: 1.046 MB / 0.6709 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.428, allocations: 7.922 kB / 0.6709 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/0.4281, allocations: 4 kB / 0.6709 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.4281, allocations: 24 kB / 0.6709 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1393/0.5674, allocations: 4.35 MB / 0.6751 GB, free: 139.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/0.5683, allocations: 0.6547 MB / 0.6758 GB, free: 139.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/0.5691, allocations: 0.613 MB / 0.6764 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.5692, allocations: 21.25 kB / 0.6764 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.5692, allocations: 41.28 kB / 0.6764 GB, free: 139.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 2.675e-06/0.5692, allocations: 0 / 0.6764 GB, free: 139.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01182/0.5811, allocations: 4.536 MB / 0.6809 GB, free: 139.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.5811, allocations: 116 kB / 0.681 GB, free: 138.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.5819, allocations: 0.8114 MB / 0.6818 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.582, allocations: 26.2 kB / 0.6818 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.5821, allocations: 388.7 kB / 0.6822 GB, free: 138.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.5824, allocations: 376.3 kB / 0.6825 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.5824, allocations: 0.6562 kB / 0.6825 GB, free: 138.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.5825, allocations: 348.6 kB / 0.6829 GB, free: 138.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.5831, allocations: 478.8 kB / 0.6833 GB, free: 138.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.5838, allocations: 0.6445 MB / 0.6839 GB, free: 137.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.5846, allocations: 0.534 MB / 0.6845 GB, free: 137.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5846, allocations: 1.875 kB / 0.6845 GB, free: 137.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01178/0.5963, allocations: 4.736 MB / 0.6891 GB, free: 137.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.5966, allocations: 1.681 MB / 0.6907 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.5966, allocations: 6.438 kB / 0.6907 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005087/0.6017, allocations: 1.824 MB / 0.6925 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.6024, allocations: 173.2 kB / 0.6927 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.6154, allocations: 6.794 MB / 0.6993 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.6168, allocations: 201.9 kB / 0.6995 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.617, allocations: 44.92 kB / 0.6996 GB, free: 134.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.617, allocations: 8.188 kB / 0.6996 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/0.6296, allocations: 4.551 MB / 0.704 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6296, allocations: 3.719 kB / 0.704 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.6351, allocations: 1.821 MB / 0.7058 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.6358, allocations: 154 kB / 0.7059 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.6491, allocations: 6.806 MB / 0.7126 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.6505, allocations: 175.3 kB / 0.7127 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6506, allocations: 44.16 kB / 0.7128 GB, free: 132 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.000333/0.651, allocations: 139.8 kB / 0.7129 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.6512, allocations: 135.7 kB / 0.713 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.6632, allocations: 4.613 MB / 0.7176 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.6632, allocations: 11.62 kB / 0.7176 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6632, allocations: 3.312 kB / 0.7176 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.6633, allocations: 9.781 kB / 0.7176 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.6768, allocations: 6.16 MB / 0.7236 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6768, allocations: 0 / 0.7236 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.6774, allocations: 127.1 kB / 0.7237 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.6824, allocations: 1.789 MB / 0.7255 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.6825, allocations: 2.812 kB / 0.7255 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.6943, allocations: 6.006 MB / 0.7313 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6943, allocations: 0 / 0.7313 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01337/0.7077, allocations: 5.463 MB / 0.7367 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.708, allocations: 232.8 kB / 0.7369 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.7082, allocations: 0 / 0.7369 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.7093, allocations: 141.4 kB / 0.737 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.7096, allocations: 115.7 kB / 0.7371 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.7097, allocations: 29.55 kB / 0.7372 GB, free: 121.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006419/0.7104, allocations: 0.6186 MB / 0.7378 GB, free: 121.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001586/0.7119, allocations: 0.6814 MB / 0.7384 GB, free: 120.7 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.000216/0.7122, allocations: 129.1 kB / 0.7386 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008236/0.7204, allocations: 3.722 MB / 0.7422 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7204, allocations: 0 / 0.7422 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003598/0.724, allocations: 1.507 MB / 0.7437 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.7246, allocations: 98.59 kB / 0.7438 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.728, allocations: 1.809 MB / 0.7455 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/0.7287, allocations: 1.239 MB / 0.7467 GB, free: 113 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7287, allocations: 0 / 0.7467 GB, free: 113 MB / 490.7 MB Notification: Performance of Templates: time 0.03408/0.7628, allocations: 32.45 MB / 0.7784 GB, free: 87.47 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)