Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.001781/0.001781, allocations: 183 kB / 7.461 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.046/1.046, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0008038/0.0008037, allocations: 92.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.3704/0.3704, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.57e-06, allocations: 0 / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2443, allocations: 69.35 MB / 0.5408 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09623/0.3406, allocations: 96.31 MB / 0.6348 GB, free: 8.543 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.3408, allocations: 87.94 kB / 0.6349 GB, free: 8.457 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05973/0.4005, allocations: 23.99 MB / 0.6583 GB, free: 284 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.562e-05/0.4006, allocations: 23.94 kB / 0.6583 GB, free: 260 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004596/0.4052, allocations: 1.738 MB / 0.66 GB, free: 14.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4053, allocations: 8.031 kB / 0.6601 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.4086, allocations: 0.5643 MB / 0.6606 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.41, allocations: 0.6953 MB / 0.6613 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.4102, allocations: 236.1 kB / 0.6615 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4104, allocations: 48 kB / 0.6616 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00143/0.4118, allocations: 0.8006 MB / 0.6623 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.4132, allocations: 0.8095 MB / 0.6631 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4132, allocations: 3.906 kB / 0.6631 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.4133, allocations: 4 kB / 0.6631 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.4134, allocations: 19.94 kB / 0.6632 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004952/0.4183, allocations: 2.984 MB / 0.6661 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.4191, allocations: 0.5538 MB / 0.6666 GB, free: 7.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.4199, allocations: 0.5546 MB / 0.6672 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.42, allocations: 24.75 kB / 0.6672 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4201, allocations: 47.28 kB / 0.6672 GB, free: 6.887 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.334e-06/0.4201, allocations: 0 / 0.6672 GB, free: 6.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.0127/0.4328, allocations: 4.417 MB / 0.6715 GB, free: 2.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4329, allocations: 64.19 kB / 0.6716 GB, free: 2.375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.4338, allocations: 0.6432 MB / 0.6722 GB, free: 1.711 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.434, allocations: 25.7 kB / 0.6722 GB, free: 1.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.4342, allocations: 300.4 kB / 0.6725 GB, free: 1.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.4346, allocations: 315.2 kB / 0.6728 GB, free: 1.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.4346, allocations: 0 / 0.6728 GB, free: 1.066 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4348, allocations: 341.9 kB / 0.6732 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.4355, allocations: 434 kB / 0.6736 GB, free: 312 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1361/0.5716, allocations: 0.5267 MB / 0.6741 GB, free: 142.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.5723, allocations: 470.3 kB / 0.6745 GB, free: 142.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5723, allocations: 0 / 0.6745 GB, free: 142.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0119/0.5842, allocations: 4.544 MB / 0.679 GB, free: 142.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5843, allocations: 12.25 kB / 0.679 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5843, allocations: 2.5 kB / 0.679 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005177/0.5895, allocations: 1.814 MB / 0.6808 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.5901, allocations: 123.8 kB / 0.6809 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.6029, allocations: 6.792 MB / 0.6875 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6041, allocations: 173.1 kB / 0.6877 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.6042, allocations: 31.8 kB / 0.6877 GB, free: 141.2 MB / 490.7 MB 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 (71): * Single equations (assignments): 70 * 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.000186/0.6044, allocations: 121 kB / 0.6878 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.6046, allocations: 110.8 kB / 0.6879 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.616, allocations: 4.493 MB / 0.6923 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.616, allocations: 10.59 kB / 0.6923 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.616, allocations: 4 kB / 0.6923 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.616, allocations: 3.938 kB / 0.6923 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.6295, allocations: 5.848 MB / 0.698 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6295, allocations: 0 / 0.698 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.63, allocations: 96.48 kB / 0.6981 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005022/0.6351, allocations: 1.79 MB / 0.6999 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.6351, allocations: 6 kB / 0.6999 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.6468, allocations: 5.99 MB / 0.7057 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6468, allocations: 1.781 kB / 0.7057 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01235/0.6592, allocations: 5.272 MB / 0.7109 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.6595, allocations: 201.5 kB / 0.7111 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.6597, allocations: 2.406 kB / 0.7111 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6608, allocations: 130.7 kB / 0.7112 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.661, allocations: 111.7 kB / 0.7113 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.6611, allocations: 22.53 kB / 0.7113 GB, free: 137.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000549/0.6617, allocations: 0.5004 MB / 0.7118 GB, free: 137.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001015/0.6627, allocations: 380 kB / 0.7122 GB, free: 137.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.0002489/0.663, allocations: 129.6 kB / 0.7123 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004571/0.6675, allocations: 1.967 MB / 0.7142 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6676, allocations: 0 / 0.7142 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.6712, allocations: 1.45 MB / 0.7156 GB, free: 136.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.6716, allocations: 57.05 kB / 0.7157 GB, free: 136.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.6748, allocations: 1.504 MB / 0.7172 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.6754, allocations: 1.118 MB / 0.7183 GB, free: 134.8 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6754, allocations: 3.562 kB / 0.7183 GB, free: 134.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02571/0.7011, allocations: 19.05 MB / 0.7369 GB, free: 129.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)