Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") [: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.00311/0.00311, allocations: 185.1 kB / 7.46 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.192/1.192, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001695/0.001695, allocations: 121.7 kB / 247.1 MB, free: 6.336 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.1627/0.1627, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.662e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.46, allocations: 89.32 MB / 0.5244 GB, free: 8.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4603, allocations: 66.38 kB / 0.5244 GB, free: 8.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07844/0.5387, allocations: 27.1 MB / 0.5509 GB, free: 4.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.652e-05/0.5388, allocations: 35.81 kB / 0.5509 GB, free: 4.293 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.001993/0.5408, allocations: 0.9133 MB / 0.5518 GB, free: 3.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5409, allocations: 8.031 kB / 0.5518 GB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.5411, allocations: 86.97 kB / 0.5519 GB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.5422, allocations: 0.5425 MB / 0.5524 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.5422, allocations: 12 kB / 0.5525 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.5423, allocations: 43.83 kB / 0.5525 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006002/0.5429, allocations: 312.8 kB / 0.5528 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.5436, allocations: 418.6 kB / 0.5532 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.5436, allocations: 3.938 kB / 0.5532 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.5437, allocations: 4 kB / 0.5532 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5437, allocations: 11.94 kB / 0.5532 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.5469, allocations: 1.819 MB / 0.555 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.5474, allocations: 350.9 kB / 0.5553 GB, free: 324 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.5478, allocations: 191.5 kB / 0.5555 GB, free: 188 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.5478, allocations: 4.438 kB / 0.5555 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.5478, allocations: 38.44 kB / 0.5556 GB, free: 140 kB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.216e-06/0.5479, allocations: 0 / 0.5556 GB, free: 140 kB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001421/0.5493, allocations: 0.7304 MB / 0.5563 GB, free: 15.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.5494, allocations: 118 kB / 0.5564 GB, free: 15.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.5499, allocations: 450.1 kB / 0.5568 GB, free: 15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.5499, allocations: 25.7 kB / 0.5568 GB, free: 14.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5501, allocations: 214.4 kB / 0.557 GB, free: 14.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5503, allocations: 169.4 kB / 0.5572 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.5503, allocations: 4.062 kB / 0.5572 GB, free: 14.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5505, allocations: 388.9 kB / 0.5576 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.5508, allocations: 185.7 kB / 0.5578 GB, free: 14.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.5512, allocations: 286.7 kB / 0.558 GB, free: 13.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.5516, allocations: 231.1 kB / 0.5582 GB, free: 13.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5517, allocations: 4 kB / 0.5582 GB, free: 13.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001006/0.5527, allocations: 0.5752 MB / 0.5588 GB, free: 13.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005147/0.5532, allocations: 1.051 MB / 0.5598 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5532, allocations: 4 kB / 0.5598 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5532, allocations: 8 kB / 0.5598 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.5543, allocations: 198.9 kB / 0.56 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5543, allocations: 11.88 kB / 0.56 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.5549, allocations: 79.55 kB / 0.5601 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.555, allocations: 19.5 kB / 0.5601 GB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.555, allocations: 4 kB / 0.5601 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009557/0.556, allocations: 499.8 kB / 0.5606 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.556, allocations: 4 kB / 0.5606 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.556, allocations: 8 kB / 0.5606 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.557, allocations: 191.2 kB / 0.5608 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.557, allocations: 8 kB / 0.5608 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.5575, allocations: 75.55 kB / 0.5609 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.5576, allocations: 22.5 kB / 0.5609 GB, free: 11.24 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.000165/0.5578, allocations: 116.8 kB / 0.561 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.5579, allocations: 67.16 kB / 0.5611 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.5582, allocations: 74.45 kB / 0.5612 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5582, allocations: 4 kB / 0.5612 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/0.5583, allocations: 4 kB / 0.5612 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5583, allocations: 7.922 kB / 0.5612 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.5601, allocations: 1.085 MB / 0.5622 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5602, allocations: 0 / 0.5622 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/0.5609, allocations: 122.9 kB / 0.5624 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.5609, allocations: 4 kB / 0.5624 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.561, allocations: 7.984 kB / 0.5624 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.561, allocations: 11.94 kB / 0.5624 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.561, allocations: 0 / 0.5624 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001162/0.5622, allocations: 0.9863 MB / 0.5633 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.5624, allocations: 191.6 kB / 0.5635 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.5625, allocations: 4 kB / 0.5635 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.5631, allocations: 55.94 kB / 0.5636 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5633, allocations: 34.38 kB / 0.5636 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.5633, allocations: 14.88 kB / 0.5636 GB, free: 8.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004435/0.5638, allocations: 357.7 kB / 0.564 GB, free: 8.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009961/0.5648, allocations: 195.9 kB / 0.5642 GB, free: 8.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.0003488/0.5651, allocations: 144.6 kB / 0.5643 GB, free: 8.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.5664, allocations: 0.7514 MB / 0.565 GB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5665, allocations: 3.875 kB / 0.565 GB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.5668, allocations: 223 kB / 0.5652 GB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.5677, allocations: 154.1 kB / 0.5654 GB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.5701, allocations: 1.135 MB / 0.5665 GB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/0.5709, allocations: 0.9983 MB / 0.5675 GB, free: 5.348 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.5709, allocations: 0 / 0.5675 GB, free: 5.348 MB / 378.7 MB Notification: Performance of Templates: time 0.01841/0.5894, allocations: 10.44 MB / 0.5777 GB, free: 10.97 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)