Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") [: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 3.2.2+maint.om/package.mo): time 0.004495/0.004495, allocations: 185.7 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.229/1.229, allocations: 194.2 MB / 202.1 MB, free: 8.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001771/0.001771, allocations: 121.6 kB / 247.1 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.185/0.185, allocations: 39.93 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.592e-06, allocations: 0 / 392.8 MB, free: 75.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 54.87 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4541, allocations: 89.22 MB / 0.5243 GB, free: 8.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4544, allocations: 67.06 kB / 0.5243 GB, free: 8.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0761/0.5306, allocations: 25.75 MB / 0.5495 GB, free: 5.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.975e-05/0.5307, allocations: 16 kB / 0.5495 GB, free: 5.566 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002474/0.5332, allocations: 0.9207 MB / 0.5504 GB, free: 4.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.5333, allocations: 8.031 kB / 0.5504 GB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.5336, allocations: 82.97 kB / 0.5505 GB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.535, allocations: 0.5201 MB / 0.551 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.535, allocations: 19.88 kB / 0.551 GB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5351, allocations: 31.91 kB / 0.551 GB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000691/0.5358, allocations: 320.3 kB / 0.5513 GB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.5366, allocations: 425.2 kB / 0.5517 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5366, allocations: 4 kB / 0.5518 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.5366, allocations: 0 / 0.5518 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.5367, allocations: 12 kB / 0.5518 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.5402, allocations: 1.847 MB / 0.5536 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.541, allocations: 450.6 kB / 0.554 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.5413, allocations: 180.2 kB / 0.5542 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.5414, allocations: 15.88 kB / 0.5542 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.5414, allocations: 37.62 kB / 0.5542 GB, free: 1.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.515e-06/0.5414, allocations: 4 kB / 0.5542 GB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001528/0.543, allocations: 0.7214 MB / 0.5549 GB, free: 0.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.5431, allocations: 136.5 kB / 0.5551 GB, free: 0.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.5437, allocations: 454.6 kB / 0.5555 GB, free: 192 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.5438, allocations: 25.8 kB / 0.5555 GB, free: 160 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.544, allocations: 221.6 kB / 0.5557 GB, free: 15.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.5441, allocations: 159.2 kB / 0.5559 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.5442, allocations: 4 kB / 0.5559 GB, free: 15.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.5444, allocations: 379.5 kB / 0.5562 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.5447, allocations: 187.9 kB / 0.5564 GB, free: 15.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.5451, allocations: 301.8 kB / 0.5567 GB, free: 15.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.5455, allocations: 217 kB / 0.5569 GB, free: 14.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5455, allocations: 4 kB / 0.5569 GB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001006/0.5466, allocations: 0.5773 MB / 0.5575 GB, free: 14.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005276/0.5471, allocations: 1.046 MB / 0.5585 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5471, allocations: 7.938 kB / 0.5585 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.5472, allocations: 4 kB / 0.5585 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.5479, allocations: 158.8 kB / 0.5587 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.548, allocations: 11.98 kB / 0.5587 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.5486, allocations: 79.64 kB / 0.5588 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.5487, allocations: 19.5 kB / 0.5588 GB, free: 13.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5487, allocations: 7.906 kB / 0.5588 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000806/0.5495, allocations: 479.1 kB / 0.5592 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5495, allocations: 8.312 kB / 0.5592 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.5496, allocations: 4 kB / 0.5593 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.5502, allocations: 147.5 kB / 0.5594 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5502, allocations: 4 kB / 0.5594 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.5508, allocations: 75.58 kB / 0.5595 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.5509, allocations: 23.19 kB / 0.5595 GB, free: 12.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.5511, allocations: 116.7 kB / 0.5596 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.5513, allocations: 63.25 kB / 0.5597 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.5516, allocations: 77.52 kB / 0.5597 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5516, allocations: 7.984 kB / 0.5597 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5516, allocations: 7.906 kB / 0.5598 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5516, allocations: 0 / 0.5598 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5532, allocations: 0.7238 MB / 0.5605 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.5532, allocations: 4 kB / 0.5605 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/0.5539, allocations: 119.5 kB / 0.5606 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.554, allocations: 4 kB / 0.5606 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.554, allocations: 15.61 kB / 0.5606 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.554, allocations: 0 / 0.5606 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5541, allocations: 4 kB / 0.5606 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001267/0.5553, allocations: 0.9415 MB / 0.5615 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.5556, allocations: 196 kB / 0.5617 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5558, allocations: 4 kB / 0.5617 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.5564, allocations: 63.88 kB / 0.5618 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.5566, allocations: 34.25 kB / 0.5618 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.5566, allocations: 11.06 kB / 0.5618 GB, free: 10.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005071/0.5571, allocations: 356.9 kB / 0.5622 GB, free: 10.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.558, allocations: 160 kB / 0.5623 GB, free: 10.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.5582, allocations: 123 kB / 0.5624 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.5595, allocations: 0.7495 MB / 0.5632 GB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5595, allocations: 4.125 kB / 0.5632 GB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.5599, allocations: 212 kB / 0.5634 GB, free: 9.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008819/0.5608, allocations: 139.8 kB / 0.5635 GB, free: 9.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.5634, allocations: 1.123 MB / 0.5646 GB, free: 8.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/0.5643, allocations: 0.9965 MB / 0.5656 GB, free: 7.086 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5644, allocations: 4 kB / 0.5656 GB, free: 7.082 MB / 378.7 MB Notification: Performance of Templates: time 0.02015/0.5845, allocations: 9.915 MB / 0.5753 GB, free: 13.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)