Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.001712/0.001712, allocations: 175.9 kB / 7.46 MB, free: 2.484 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.058/1.058, allocations: 221.4 MB / 229.3 MB, free: 3.141 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.0008155/0.0008155, allocations: 99.83 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3561/0.3561, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.539e-06/4.559e-06, allocations: 0 / 484.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 69.34 MB / 0.5408 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09407/0.3096, allocations: 98.52 MB / 0.637 GB, free: 6.426 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3099, allocations: 87.94 kB / 0.6371 GB, free: 6.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06755/0.3775, allocations: 28.14 MB / 0.6645 GB, free: 9.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.3776, allocations: 31.94 kB / 0.6646 GB, free: 9.965 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.004476/0.382, allocations: 1.918 MB / 0.6664 GB, free: 8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.3821, allocations: 8.031 kB / 0.6664 GB, free: 7.992 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.3853, allocations: 0.599 MB / 0.667 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3867, allocations: 0.8463 MB / 0.6679 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3869, allocations: 210.5 kB / 0.6681 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3871, allocations: 55.91 kB / 0.6681 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001544/0.3886, allocations: 0.9178 MB / 0.669 GB, free: 5.281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.3902, allocations: 1.017 MB / 0.67 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3902, allocations: 7.938 kB / 0.67 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.3903, allocations: 0 / 0.67 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.3904, allocations: 27.98 kB / 0.67 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/0.5184, allocations: 4.125 MB / 0.6741 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5195, allocations: 0.6384 MB / 0.6747 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/0.5202, allocations: 0.6139 MB / 0.6753 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.5203, allocations: 12.75 kB / 0.6753 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5203, allocations: 49.62 kB / 0.6753 GB, free: 140.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 2.795e-06/0.5203, allocations: 0 / 0.6753 GB, free: 140.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01167/0.532, allocations: 4.505 MB / 0.6797 GB, free: 140.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.5321, allocations: 114.3 kB / 0.6799 GB, free: 140.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.5329, allocations: 0.7686 MB / 0.6806 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.533, allocations: 25.7 kB / 0.6806 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.5331, allocations: 384.8 kB / 0.681 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.5334, allocations: 363.3 kB / 0.6813 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.5334, allocations: 0.9062 kB / 0.6813 GB, free: 140.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.5335, allocations: 346.4 kB / 0.6817 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.5342, allocations: 470.9 kB / 0.6821 GB, free: 139.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.5349, allocations: 0.6283 MB / 0.6827 GB, free: 139.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.5356, allocations: 0.5208 MB / 0.6832 GB, free: 139.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5356, allocations: 0 / 0.6832 GB, free: 139.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0119/0.5475, allocations: 4.696 MB / 0.6878 GB, free: 139.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.5477, allocations: 1.5 MB / 0.6893 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5477, allocations: 3.938 kB / 0.6893 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005139/0.5529, allocations: 1.823 MB / 0.6911 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.5535, allocations: 166.4 kB / 0.6912 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.5664, allocations: 6.802 MB / 0.6979 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5677, allocations: 199.1 kB / 0.6981 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5678, allocations: 39.16 kB / 0.6981 GB, free: 136.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.5679, allocations: 3.938 kB / 0.6981 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/0.5804, allocations: 4.526 MB / 0.7025 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5805, allocations: 4.25 kB / 0.7025 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005433/0.5859, allocations: 1.819 MB / 0.7043 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.5866, allocations: 148.9 kB / 0.7045 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.5996, allocations: 6.811 MB / 0.7111 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6008, allocations: 172.7 kB / 0.7113 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/0.6009, allocations: 36.41 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.0002998/0.6012, allocations: 147.9 kB / 0.7114 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.6014, allocations: 128.2 kB / 0.7116 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.6131, allocations: 4.6 MB / 0.7161 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.6131, allocations: 11.53 kB / 0.7161 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6132, allocations: 0 / 0.7161 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6132, allocations: 6.609 kB / 0.7161 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.6261, allocations: 6.086 MB / 0.722 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6261, allocations: 0 / 0.722 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.6267, allocations: 128.4 kB / 0.7221 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004839/0.6315, allocations: 1.788 MB / 0.7239 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/0.6316, allocations: 9.125 kB / 0.7239 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.6434, allocations: 5.99 MB / 0.7297 GB, free: 127.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6434, allocations: 5.312 kB / 0.7298 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01327/0.6566, allocations: 5.419 MB / 0.735 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.6569, allocations: 218.3 kB / 0.7353 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.6571, allocations: 0 / 0.7353 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.6582, allocations: 141.6 kB / 0.7354 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.6585, allocations: 119 kB / 0.7355 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.6586, allocations: 25.59 kB / 0.7355 GB, free: 124.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006026/0.6592, allocations: 0.5805 MB / 0.7361 GB, free: 123.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001491/0.6607, allocations: 0.678 MB / 0.7368 GB, free: 123 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.0002204/0.6609, allocations: 134.8 kB / 0.7369 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008238/0.6691, allocations: 3.683 MB / 0.7405 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6692, allocations: 4 kB / 0.7405 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.6727, allocations: 1.487 MB / 0.7419 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.6733, allocations: 93.72 kB / 0.742 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.6766, allocations: 1.74 MB / 0.7437 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.6772, allocations: 1.232 MB / 0.7449 GB, free: 115.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6773, allocations: 0 / 0.7449 GB, free: 115.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03271/0.71, allocations: 31.88 MB / 0.7761 GB, free: 90.39 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)