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.006161/0.006162, allocations: 165.3 kB / 15.11 MB, free: 5.969 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.262/1.262, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001606/0.001606, allocations: 106.6 kB / 226.2 MB, free: 10.11 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.3222/0.3222, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005708, allocations: 8 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4623, allocations: 83.83 MB / 495.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4625, allocations: 67.97 kB / 495.5 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07982/0.5424, allocations: 28.03 MB / 0.5112 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5424, allocations: 0 / 0.5112 GB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.27e-05/0.5425, allocations: 20.44 kB / 0.5112 GB, free: 12.21 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.002237/0.5447, allocations: 1.068 MB / 0.5123 GB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5448, allocations: 8.031 kB / 0.5123 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.545, allocations: 83.06 kB / 0.5124 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.5462, allocations: 0.5622 MB / 0.5129 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.5462, allocations: 31.75 kB / 0.513 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.5463, allocations: 53.09 kB / 0.513 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.5474, allocations: 0.5588 MB / 0.5135 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.5474, allocations: 4 kB / 0.5136 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.5475, allocations: 14.88 kB / 0.5136 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.5475, allocations: 15.95 kB / 0.5136 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.5485, allocations: 472.8 kB / 0.514 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.552, allocations: 1.981 MB / 0.516 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.5532, allocations: 0.5797 MB / 0.5165 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.5533, allocations: 8.062 kB / 0.5165 GB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.5533, allocations: 37.81 kB / 0.5166 GB, free: 7.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/0.5533, allocations: 0 / 0.5166 GB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002678/0.556, allocations: 1.159 MB / 0.5177 GB, free: 6.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.5561, allocations: 170.2 kB / 0.5179 GB, free: 6.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/0.5569, allocations: 0.523 MB / 0.5184 GB, free: 5.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.557, allocations: 37.7 kB / 0.5184 GB, free: 5.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.5573, allocations: 324.3 kB / 0.5187 GB, free: 5.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.5574, allocations: 169.5 kB / 0.5189 GB, free: 5.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.5575, allocations: 8 kB / 0.5189 GB, free: 5.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.5577, allocations: 386.7 kB / 0.5193 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.5583, allocations: 276.9 kB / 0.5195 GB, free: 4.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.559, allocations: 397.7 kB / 0.5199 GB, free: 4.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.5597, allocations: 310.2 kB / 0.5202 GB, free: 3.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5597, allocations: 0 / 0.5202 GB, free: 3.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001511/0.5612, allocations: 0.7722 MB / 0.521 GB, free: 2.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5612, allocations: 8 kB / 0.521 GB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.5612, allocations: 4 kB / 0.521 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.5613, allocations: 4.281 kB / 0.521 GB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/0.5619, allocations: 151.8 kB / 0.5211 GB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.5619, allocations: 7.984 kB / 0.5211 GB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.5625, allocations: 87.62 kB / 0.5212 GB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.5626, allocations: 20 kB / 0.5212 GB, free: 2.688 MB / 362.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.0002924/0.5629, allocations: 202.6 kB / 0.5214 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.563, allocations: 83.14 kB / 0.5215 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.5632, allocations: 77.64 kB / 0.5216 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5632, allocations: 4 kB / 0.5216 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5632, allocations: 0 / 0.5216 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5632, allocations: 11.92 kB / 0.5216 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.5645, allocations: 0.818 MB / 0.5224 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5645, allocations: 0 / 0.5224 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.5652, allocations: 115.9 kB / 0.5225 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5652, allocations: 0 / 0.5225 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.5652, allocations: 20 kB / 0.5225 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5653, allocations: 0 / 0.5225 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5653, allocations: 3.984 kB / 0.5225 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.5673, allocations: 1.215 MB / 0.5237 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.5676, allocations: 196.2 kB / 0.5239 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.5677, allocations: 19.98 kB / 0.5239 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.5683, allocations: 63.94 kB / 0.524 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5684, allocations: 43.98 kB / 0.524 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.5685, allocations: 11.98 kB / 0.524 GB, free: 15.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005963/0.5691, allocations: 431 kB / 0.5244 GB, free: 15.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5691, allocations: 0 / 0.5244 GB, free: 15.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005208/0.5696, allocations: 116 kB / 0.5246 GB, free: 15.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.0001966/0.5698, allocations: 119.2 kB / 0.5247 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.5711, allocations: 0.6173 MB / 0.5253 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5711, allocations: 0 / 0.5253 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.5718, allocations: 303.7 kB / 0.5256 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008482/0.5727, allocations: 151.8 kB / 0.5257 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.5755, allocations: 1.636 MB / 0.5273 GB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.576, allocations: 0.945 MB / 0.5282 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003934/0.5764, allocations: 100.6 kB / 0.5283 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5766, allocations: 43.42 kB / 0.5284 GB, free: 11.2 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5766, allocations: 0 / 0.5284 GB, free: 11.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01162/0.5882, allocations: 6.219 MB / 0.5344 GB, free: 5.039 MB / 378.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)