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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006335/0.006335, allocations: 176.3 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.598/1.598, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001754/0.001754, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.184/0.184, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 12.73 kB / 406.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 54.87 MB / 461 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5725, allocations: 90.05 MB / 0.5381 GB, free: 22.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5729, allocations: 72.64 kB / 0.5382 GB, free: 22.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07593/0.6488, allocations: 26.31 MB / 0.5639 GB, free: 18.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6489, allocations: 0 / 0.5639 GB, free: 18.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.649, allocations: 15.62 kB / 0.5639 GB, free: 18.91 MB / 378.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.002822/0.6518, allocations: 1.045 MB / 0.5649 GB, free: 18.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6519, allocations: 11.69 kB / 0.565 GB, free: 18.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.6523, allocations: 81.78 kB / 0.565 GB, free: 18.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.6538, allocations: 0.5399 MB / 0.5656 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.6539, allocations: 38.41 kB / 0.5656 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.6541, allocations: 48.84 kB / 0.5656 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.6552, allocations: 0.5458 MB / 0.5662 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6552, allocations: 0 / 0.5662 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.6553, allocations: 21.88 kB / 0.5662 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.6553, allocations: 7.75 kB / 0.5662 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.6563, allocations: 475.2 kB / 0.5667 GB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.66, allocations: 1.971 MB / 0.5686 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.6611, allocations: 0.5836 MB / 0.5692 GB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.6612, allocations: 7.938 kB / 0.5692 GB, free: 16.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.6612, allocations: 53.38 kB / 0.5692 GB, free: 16.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.6612, allocations: 0 / 0.5692 GB, free: 16.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002421/0.6636, allocations: 1.15 MB / 0.5703 GB, free: 15.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.6638, allocations: 132.4 kB / 0.5705 GB, free: 15.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.6646, allocations: 0.5226 MB / 0.571 GB, free: 15.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.6647, allocations: 36.64 kB / 0.571 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.6649, allocations: 323.3 kB / 0.5713 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.6651, allocations: 172.8 kB / 0.5715 GB, free: 15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.6651, allocations: 10.94 kB / 0.5715 GB, free: 15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6653, allocations: 377.6 kB / 0.5719 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.6659, allocations: 280.6 kB / 0.5721 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.6665, allocations: 392.6 kB / 0.5725 GB, free: 14.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.6672, allocations: 309.7 kB / 0.5728 GB, free: 14.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6672, allocations: 0 / 0.5728 GB, free: 14.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001473/0.6687, allocations: 0.7729 MB / 0.5735 GB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.669, allocations: 1.059 MB / 0.5746 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.669, allocations: 4 kB / 0.5746 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.669, allocations: 7.875 kB / 0.5746 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.6696, allocations: 142.9 kB / 0.5747 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.6697, allocations: 7.75 kB / 0.5747 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.6703, allocations: 92.41 kB / 0.5748 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.6703, allocations: 15.38 kB / 0.5748 GB, free: 13.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6703, allocations: 5.531 kB / 0.5748 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/0.6716, allocations: 0.6617 MB / 0.5755 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6716, allocations: 7.812 kB / 0.5755 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.6716, allocations: 3.844 kB / 0.5755 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.6722, allocations: 146.8 kB / 0.5756 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.6722, allocations: 15.5 kB / 0.5757 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.6727, allocations: 81.28 kB / 0.5757 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.6728, allocations: 22.59 kB / 0.5758 GB, free: 12.82 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 () * Number of clocked 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.0003427/0.6731, allocations: 281.5 kB / 0.576 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.6733, allocations: 65.97 kB / 0.5761 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.6735, allocations: 79.83 kB / 0.5762 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.6735, allocations: 11.78 kB / 0.5762 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6735, allocations: 0 / 0.5762 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6735, allocations: 3.984 kB / 0.5762 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6748, allocations: 0.8186 MB / 0.577 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6748, allocations: 0 / 0.577 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.6754, allocations: 117.2 kB / 0.5771 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.6754, allocations: 3.984 kB / 0.5771 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.6755, allocations: 14.94 kB / 0.5771 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6755, allocations: 0 / 0.5771 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6755, allocations: 7.828 kB / 0.5771 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.6773, allocations: 1.199 MB / 0.5783 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.6775, allocations: 192.3 kB / 0.5785 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/0.6776, allocations: 18.8 kB / 0.5785 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.6782, allocations: 62.28 kB / 0.5785 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6783, allocations: 42.97 kB / 0.5786 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.6784, allocations: 11.88 kB / 0.5786 GB, free: 11.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006219/0.679, allocations: 426 kB / 0.579 GB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.679, allocations: 0 / 0.579 GB, free: 11.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007685/0.6798, allocations: 194.8 kB / 0.5792 GB, free: 11.17 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 () * Number of clocked 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.0001945/0.68, allocations: 121.4 kB / 0.5793 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.6819, allocations: 0.9526 MB / 0.5802 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6819, allocations: 0 / 0.5802 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.6825, allocations: 312.4 kB / 0.5805 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.6834, allocations: 158.7 kB / 0.5807 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.686, allocations: 1.63 MB / 0.5823 GB, free: 9.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.6864, allocations: 0.9444 MB / 0.5832 GB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.687, allocations: 146.5 kB / 0.5833 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.6872, allocations: 38.5 kB / 0.5834 GB, free: 8.926 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6872, allocations: 0 / 0.5834 GB, free: 8.926 MB / 378.7 MB Notification: Performance of Templates: time 0.01196/0.6992, allocations: 6.313 MB / 0.5895 GB, free: 5.879 MB / 378.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)