Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001849/0.001849, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.461/1.461, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001679/0.001679, allocations: 106.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1966/0.1966, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.231e-05, allocations: 8 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4826, allocations: 83.75 MB / 489.4 MB, free: 18.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4829, allocations: 65.41 kB / 489.5 MB, free: 18.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07194/0.5548, allocations: 27.99 MB / 0.5054 GB, free: 9.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5549, allocations: 3.984 kB / 0.5054 GB, free: 9.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.5549, allocations: 23.22 kB / 0.5054 GB, free: 9.633 MB / 330.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.00146/0.5564, allocations: 0.9197 MB / 0.5063 GB, free: 8.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5564, allocations: 11.77 kB / 0.5063 GB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.5566, allocations: 81.34 kB / 0.5064 GB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.5575, allocations: 0.5362 MB / 0.5069 GB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.5575, allocations: 38.62 kB / 0.5069 GB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.5576, allocations: 52.2 kB / 0.507 GB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.5582, allocations: 486.9 kB / 0.5074 GB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5583, allocations: 7.719 kB / 0.5075 GB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.5583, allocations: 18.34 kB / 0.5075 GB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5583, allocations: 11.73 kB / 0.5075 GB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.5589, allocations: 343.2 kB / 0.5078 GB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.5617, allocations: 1.974 MB / 0.5097 GB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.5623, allocations: 467.8 kB / 0.5102 GB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.5626, allocations: 190 kB / 0.5104 GB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.5627, allocations: 11.94 kB / 0.5104 GB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.5627, allocations: 42.16 kB / 0.5104 GB, free: 7.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.5627, allocations: 0 / 0.5104 GB, free: 7.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001134/0.5638, allocations: 0.7668 MB / 0.5112 GB, free: 6.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5639, allocations: 162 kB / 0.5113 GB, free: 6.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.5644, allocations: 0.4973 MB / 0.5118 GB, free: 6.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5644, allocations: 33.02 kB / 0.5118 GB, free: 6.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.5646, allocations: 327.8 kB / 0.5122 GB, free: 6.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.5647, allocations: 170 kB / 0.5123 GB, free: 6.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.5647, allocations: 7 kB / 0.5123 GB, free: 6.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.5648, allocations: 390 kB / 0.5127 GB, free: 5.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.5651, allocations: 190.8 kB / 0.5129 GB, free: 5.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.5654, allocations: 314.9 kB / 0.5132 GB, free: 5.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.5657, allocations: 228.9 kB / 0.5134 GB, free: 5.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5657, allocations: 0 / 0.5134 GB, free: 5.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008043/0.5665, allocations: 0.6083 MB / 0.514 GB, free: 5.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5666, allocations: 8.031 kB / 0.514 GB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5666, allocations: 4 kB / 0.514 GB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5666, allocations: 7.75 kB / 0.514 GB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.5672, allocations: 150.8 kB / 0.5141 GB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5672, allocations: 7.75 kB / 0.5142 GB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.5677, allocations: 97.06 kB / 0.5142 GB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.5678, allocations: 18.97 kB / 0.5143 GB, free: 5.25 MB / 330.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.0001145/0.5679, allocations: 135.4 kB / 0.5144 GB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.568, allocations: 73.88 kB / 0.5145 GB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.5682, allocations: 84.22 kB / 0.5145 GB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5682, allocations: 7.781 kB / 0.5146 GB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5682, allocations: 0 / 0.5146 GB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.5682, allocations: 3.906 kB / 0.5146 GB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.5692, allocations: 0.787 MB / 0.5153 GB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5692, allocations: 3.906 kB / 0.5153 GB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.5698, allocations: 117.1 kB / 0.5154 GB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5698, allocations: 3.781 kB / 0.5154 GB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.5699, allocations: 18.86 kB / 0.5155 GB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5699, allocations: 0 / 0.5155 GB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5699, allocations: 11.81 kB / 0.5155 GB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000958/0.5709, allocations: 0.9718 MB / 0.5164 GB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.5711, allocations: 189.3 kB / 0.5166 GB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.5712, allocations: 19.3 kB / 0.5166 GB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.5717, allocations: 66.12 kB / 0.5167 GB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.5718, allocations: 42.97 kB / 0.5167 GB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5719, allocations: 15.09 kB / 0.5167 GB, free: 3.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003571/0.5722, allocations: 400.9 kB / 0.5171 GB, free: 3.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5722, allocations: 0 / 0.5171 GB, free: 3.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.5727, allocations: 111.6 kB / 0.5172 GB, free: 3.785 MB / 330.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.0001504/0.5729, allocations: 125.6 kB / 0.5173 GB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006521/0.5735, allocations: 460 kB / 0.5178 GB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5735, allocations: 3.875 kB / 0.5178 GB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.5738, allocations: 214 kB / 0.518 GB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.5747, allocations: 151.8 kB / 0.5181 GB, free: 3.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.5766, allocations: 1.15 MB / 0.5193 GB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5769, allocations: 0.9461 MB / 0.5202 GB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.5772, allocations: 99.36 kB / 0.5203 GB, free: 2.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.5774, allocations: 46.36 kB / 0.5203 GB, free: 2.133 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5774, allocations: 3.938 kB / 0.5203 GB, free: 2.129 MB / 330.7 MB Notification: Performance of Templates: time 0.0113/0.5887, allocations: 6.218 MB / 0.5264 GB, free: 12.22 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)