Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.001816/0.001815, allocations: 179.9 kB / 7.458 MB, free: 2.5 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.048/1.048, allocations: 221.4 MB / 229.3 MB, free: 2.977 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.0009354/0.0009353, allocations: 104.1 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3571/0.3571, allocations: 78.09 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.23e-06, allocations: 0 / 484.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2564, allocations: 69.36 MB / 0.5408 GB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3619, allocations: 97.79 MB / 0.6363 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3621, allocations: 87.94 kB / 0.6363 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.06495/0.4271, allocations: 25.29 MB / 0.661 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.391e-05/0.4272, allocations: 24 kB / 0.6611 GB, free: 1.809 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005062/0.4323, allocations: 1.777 MB / 0.6628 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.4323, allocations: 8.031 kB / 0.6628 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.4358, allocations: 0.5798 MB / 0.6634 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.4375, allocations: 0.763 MB / 0.6641 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.4377, allocations: 198.5 kB / 0.6643 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.4379, allocations: 47.91 kB / 0.6644 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001645/0.4396, allocations: 0.8475 MB / 0.6652 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.4411, allocations: 0.8447 MB / 0.666 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4411, allocations: 4 kB / 0.666 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.4412, allocations: 0 / 0.666 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.4412, allocations: 16 kB / 0.666 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.4464, allocations: 3.066 MB / 0.669 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.4474, allocations: 0.5935 MB / 0.6696 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.4482, allocations: 0.5661 MB / 0.6702 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.4483, allocations: 16.77 kB / 0.6702 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4483, allocations: 43.34 kB / 0.6702 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=93): time 2.334e-06/0.4483, allocations: 3.938 kB / 0.6702 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93): time 0.01277/0.4611, allocations: 4.437 MB / 0.6745 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4612, allocations: 89.89 kB / 0.6746 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.4622, allocations: 0.713 MB / 0.6753 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.4623, allocations: 25.7 kB / 0.6754 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.4625, allocations: 312.5 kB / 0.6756 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.4629, allocations: 319.3 kB / 0.676 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.463, allocations: 0 / 0.676 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4631, allocations: 334.9 kB / 0.6763 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007243/0.4638, allocations: 446 kB / 0.6767 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.4646, allocations: 0.5443 MB / 0.6772 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007837/0.4654, allocations: 487.8 kB / 0.6777 GB, free: 396 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4654, allocations: 0 / 0.6777 GB, free: 396 kB / 0.5261 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01335/0.4788, allocations: 4.565 MB / 0.6822 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.479, allocations: 0.7961 MB / 0.6829 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4791, allocations: 4 kB / 0.6829 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/0.4849, allocations: 1.819 MB / 0.6847 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.4856, allocations: 123.8 kB / 0.6848 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.5003, allocations: 6.809 MB / 0.6915 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.5017, allocations: 191.1 kB / 0.6917 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.5018, allocations: 31.98 kB / 0.6917 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.5018, allocations: 4 kB / 0.6917 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/0.5149, allocations: 4.421 MB / 0.696 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5149, allocations: 8 kB / 0.696 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005677/0.5206, allocations: 1.816 MB / 0.6978 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.5212, allocations: 107.9 kB / 0.6979 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.5359, allocations: 6.832 MB / 0.7046 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.5373, allocations: 175.3 kB / 0.7047 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5374, allocations: 27.98 kB / 0.7048 GB, free: 4.32 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0002716/0.5377, allocations: 120.8 kB / 0.7049 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.5379, allocations: 114.6 kB / 0.705 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1612/0.6992, allocations: 4.517 MB / 0.7094 GB, free: 185.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.6992, allocations: 9.969 kB / 0.7094 GB, free: 185.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6992, allocations: 0 / 0.7094 GB, free: 185.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.6993, allocations: 11.33 kB / 0.7094 GB, free: 185.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.7129, allocations: 5.903 MB / 0.7152 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.7129, allocations: 0 / 0.7152 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.7135, allocations: 92.08 kB / 0.7153 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004902/0.7184, allocations: 1.789 MB / 0.717 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.7185, allocations: 6.938 kB / 0.717 GB, free: 184.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.7303, allocations: 5.991 MB / 0.7229 GB, free: 183.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7304, allocations: 3.438 kB / 0.7229 GB, free: 183.5 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01262/0.743, allocations: 5.294 MB / 0.728 GB, free: 183.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.7432, allocations: 206.2 kB / 0.7282 GB, free: 183 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.7434, allocations: 2.688 kB / 0.7282 GB, free: 183 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7445, allocations: 146.2 kB / 0.7284 GB, free: 183 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.7447, allocations: 107.3 kB / 0.7285 GB, free: 183 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.7448, allocations: 26 kB / 0.7285 GB, free: 183 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0005619/0.7454, allocations: 0.5459 MB / 0.729 GB, free: 182.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001327/0.7467, allocations: 0.6184 MB / 0.7297 GB, free: 182.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.000225/0.747, allocations: 133.1 kB / 0.7298 GB, free: 182.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008292/0.7553, allocations: 3.515 MB / 0.7332 GB, free: 182.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7553, allocations: 6.875 kB / 0.7332 GB, free: 182.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/0.759, allocations: 1.445 MB / 0.7346 GB, free: 182.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.7595, allocations: 66.56 kB / 0.7347 GB, free: 182.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.7637, allocations: 1.644 MB / 0.7363 GB, free: 181.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006935/0.7644, allocations: 1.148 MB / 0.7374 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.7644, allocations: 0 / 0.7374 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.03678/0.8012, allocations: 30.07 MB / 0.7668 GB, free: 168.7 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)