Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.003523/0.003523, allocations: 184 kB / 7.457 MB, free: 2.516 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.269/1.269, allocations: 221.4 MB / 229.3 MB, free: 3.352 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.0009953/0.0009953, allocations: 95.98 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4096/0.4096, allocations: 78.06 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.133e-06, allocations: 0 / 484.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2687, allocations: 69.35 MB / 0.5407 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.3844, allocations: 98.52 MB / 0.6369 GB, free: 6.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.3847, allocations: 83.95 kB / 0.637 GB, free: 6.219 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08131/0.466, allocations: 28.15 MB / 0.6645 GB, free: 9.867 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.4662, allocations: 28 kB / 0.6645 GB, free: 9.84 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005689/0.4719, allocations: 1.918 MB / 0.6664 GB, free: 7.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4719, allocations: 8.031 kB / 0.6664 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.4758, allocations: 0.6029 MB / 0.667 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.4778, allocations: 0.8346 MB / 0.6678 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.4781, allocations: 210.5 kB / 0.668 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.4784, allocations: 59.91 kB / 0.6681 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002126/0.4805, allocations: 0.9256 MB / 0.669 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.4825, allocations: 1.017 MB / 0.67 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4826, allocations: 4 kB / 0.67 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.4827, allocations: 0 / 0.67 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.4827, allocations: 24 kB / 0.67 GB, free: 4.066 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1565/0.6392, allocations: 4.122 MB / 0.674 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.6404, allocations: 0.6458 MB / 0.6747 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007953/0.6412, allocations: 0.604 MB / 0.6752 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.6414, allocations: 25.73 kB / 0.6753 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6414, allocations: 46.53 kB / 0.6753 GB, free: 140.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/0.6414, allocations: 0 / 0.6753 GB, free: 140.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01334/0.6548, allocations: 4.508 MB / 0.6797 GB, free: 140.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.6549, allocations: 114.4 kB / 0.6798 GB, free: 140.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6559, allocations: 0.7715 MB / 0.6806 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.6561, allocations: 25.7 kB / 0.6806 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6563, allocations: 378.8 kB / 0.681 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.6566, allocations: 363.9 kB / 0.6813 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.6567, allocations: 4.406 kB / 0.6813 GB, free: 140.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.6568, allocations: 340.6 kB / 0.6816 GB, free: 139.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000792/0.6576, allocations: 479 kB / 0.6821 GB, free: 139.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/0.6583, allocations: 0.6288 MB / 0.6827 GB, free: 139.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.6591, allocations: 0.517 MB / 0.6832 GB, free: 139.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6592, allocations: 2.969 kB / 0.6832 GB, free: 139.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01361/0.6728, allocations: 4.699 MB / 0.6878 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.6731, allocations: 1.497 MB / 0.6893 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.6731, allocations: 7.562 kB / 0.6893 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/0.6792, allocations: 1.807 MB / 0.691 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.6801, allocations: 169.9 kB / 0.6912 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.6957, allocations: 6.809 MB / 0.6979 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.6975, allocations: 198.5 kB / 0.698 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.6977, allocations: 34.81 kB / 0.6981 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.6978, allocations: 4.125 kB / 0.6981 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/0.7125, allocations: 4.519 MB / 0.7025 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.7126, allocations: 5 kB / 0.7025 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0063/0.7189, allocations: 1.823 MB / 0.7043 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.7198, allocations: 150.1 kB / 0.7044 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/0.7358, allocations: 6.814 MB / 0.7111 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.7374, allocations: 172.7 kB / 0.7112 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.7376, allocations: 42.19 kB / 0.7113 GB, free: 134 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0004056/0.738, allocations: 128.8 kB / 0.7114 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.7384, allocations: 136.4 kB / 0.7115 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/0.7527, allocations: 4.601 MB / 0.716 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.7528, allocations: 12.03 kB / 0.716 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7528, allocations: 0 / 0.716 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.7528, allocations: 11.12 kB / 0.716 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.7691, allocations: 6.079 MB / 0.722 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.7692, allocations: 2.625 kB / 0.722 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.77, allocations: 134 kB / 0.7221 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005588/0.7756, allocations: 1.787 MB / 0.7239 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.7758, allocations: 6.75 kB / 0.7239 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.79, allocations: 5.992 MB / 0.7297 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.79, allocations: 2.031 kB / 0.7297 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01571/0.8057, allocations: 5.414 MB / 0.735 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.8062, allocations: 217.3 kB / 0.7352 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/0.8066, allocations: 1.031 kB / 0.7352 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.808, allocations: 141.3 kB / 0.7354 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.8084, allocations: 118.9 kB / 0.7355 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8085, allocations: 21.88 kB / 0.7355 GB, free: 123.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008128/0.8093, allocations: 0.5883 MB / 0.7361 GB, free: 123.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002103/0.8115, allocations: 0.6775 MB / 0.7367 GB, free: 122.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.8118, allocations: 131.1 kB / 0.7368 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009872/0.8216, allocations: 3.684 MB / 0.7404 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8217, allocations: 2.438 kB / 0.7404 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004358/0.826, allocations: 1.488 MB / 0.7419 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.8269, allocations: 102.3 kB / 0.742 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.8316, allocations: 1.737 MB / 0.7437 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/0.8324, allocations: 1.223 MB / 0.7449 GB, free: 115.1 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.8324, allocations: 0 / 0.7449 GB, free: 115.1 MB / 490.7 MB Notification: Performance of Templates: time 0.0432/0.8757, allocations: 31.88 MB / 0.776 GB, free: 90.15 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)