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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 192.6 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4234/0.4234, allocations: 39.93 MB / 309.3 MB, free: 9.375 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1476, allocations: 56.89 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.006858/0.1545, allocations: 3.39 MB / 437.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.1593, allocations: 1.575 MB / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.16, allocations: 19.88 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.1608, allocations: 115.2 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.1613, allocations: 167 kB / 439.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.1629, allocations: 483.3 kB / 439.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.1643, allocations: 0.869 MB / 440.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.1648, allocations: 230.4 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.1653, allocations: 322.4 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.1658, allocations: 374.1 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-05/0.1659, allocations: 32 kB / 441.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.166, allocations: 36 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.1662, allocations: 171.3 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.1665, allocations: 317.8 kB / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.1673, allocations: 0.7122 MB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1673, allocations: 4 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1673, allocations: 0 / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1673, allocations: 3.938 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002589/0.1699, allocations: 1.16 MB / 443.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.636e-05/0.17, allocations: 8.031 kB / 443.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.1702, allocations: 87.91 kB / 443.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.1712, allocations: 0.5662 MB / 444.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.1713, allocations: 37.38 kB / 444.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/0.1714, allocations: 64.02 kB / 444.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1725, allocations: 0.6095 MB / 445.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1725, allocations: 3.984 kB / 445.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.1726, allocations: 20 kB / 445.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1726, allocations: 8 kB / 445.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009922/0.1736, allocations: 461.8 kB / 445.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.1774, allocations: 2.667 MB / 448.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1785, allocations: 0.5465 MB / 448.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.179, allocations: 250.4 kB / 449 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.179, allocations: 11.92 kB / 449 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1791, allocations: 46.55 kB / 449.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.1791, allocations: 0 / 449.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002342/0.1814, allocations: 1.132 MB / 450.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.1815, allocations: 136.6 kB / 450.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.1824, allocations: 0.6568 MB / 451 MB, free: 2.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.1824, allocations: 33.7 kB / 451 MB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.1827, allocations: 364 kB / 451.4 MB, free: 2.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1828, allocations: 173.5 kB / 451.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.183, allocations: 114.3 kB / 451.7 MB, free: 1.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1831, allocations: 333.9 kB / 452 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.1837, allocations: 271.3 kB / 452.3 MB, free: 1.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.1844, allocations: 428.6 kB / 452.7 MB, free: 0.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.1857, allocations: 0.6816 MB / 453.4 MB, free: 8 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1857, allocations: 0 / 453.4 MB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.2481/0.4338, allocations: 0.7902 MB / 454.2 MB, free: 51.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.4339, allocations: 5.344 kB / 454.2 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4339, allocations: 6.125 kB / 454.2 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.434, allocations: 7.344 kB / 454.2 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.4346, allocations: 155.2 kB / 454.3 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4347, allocations: 11.28 kB / 454.3 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.4352, allocations: 78.83 kB / 454.4 MB, free: 51.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.4353, allocations: 30.22 kB / 454.4 MB, free: 51.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007399/0.436, allocations: 406 kB / 454.8 MB, free: 51.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000553/0.4366, allocations: 418.1 kB / 455.3 MB, free: 51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000962/0.4376, allocations: 0.6553 MB / 455.9 MB, free: 50.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.4376, allocations: 3.562 kB / 455.9 MB, free: 50.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001304/0.4389, allocations: 0.7789 MB / 456.7 MB, free: 50.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4389, allocations: 9.625 kB / 456.7 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4389, allocations: 3.25 kB / 456.7 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.4389, allocations: 11.44 kB / 456.7 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.4395, allocations: 142.8 kB / 456.9 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4395, allocations: 12.5 kB / 456.9 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.44, allocations: 76.84 kB / 456.9 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.44, allocations: 21.03 kB / 457 MB, free: 50.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.4402, allocations: 223.1 kB / 457.2 MB, free: 50.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.4403, allocations: 77.09 kB / 457.3 MB, free: 50.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.4405, allocations: 90.31 kB / 457.3 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.4405, allocations: 6.562 kB / 457.4 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4405, allocations: 0 / 457.4 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4406, allocations: 11.84 kB / 457.4 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.4417, allocations: 0.8475 MB / 458.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4417, allocations: 0 / 458.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.4423, allocations: 104.5 kB / 458.3 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4423, allocations: 6.453 kB / 458.3 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.4424, allocations: 18.12 kB / 458.3 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.4424, allocations: 5.562 kB / 458.3 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4424, allocations: 0 / 458.3 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.4442, allocations: 1.136 MB / 459.5 MB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.4444, allocations: 195.2 kB / 459.7 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.4445, allocations: 21.75 kB / 459.7 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.445, allocations: 53.56 kB / 459.7 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4451, allocations: 39.56 kB / 459.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.4452, allocations: 9.281 kB / 459.8 MB, free: 49.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007072/0.4459, allocations: 464 kB / 460.2 MB, free: 49.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4459, allocations: 1.422 kB / 460.2 MB, free: 49.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009464/0.4468, allocations: 200.8 kB / 460.4 MB, free: 49.39 MB / 382.1 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.4471, allocations: 114.6 kB / 460.6 MB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.4492, allocations: 0.9562 MB / 461.5 MB, free: 49.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4492, allocations: 0 / 461.5 MB, free: 49.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.4498, allocations: 278.9 kB / 461.8 MB, free: 49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4509, allocations: 176.4 kB / 462 MB, free: 48.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4535, allocations: 1.745 MB / 463.7 MB, free: 47.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.4539, allocations: 0.9494 MB / 464.6 MB, free: 47.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004934/0.4544, allocations: 158.2 kB / 464.8 MB, free: 47.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.4546, allocations: 43.16 kB / 464.8 MB, free: 47.21 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4546, allocations: 0 / 464.8 MB, free: 47.21 MB / 382.1 MB Notification: Performance of Templates: time 0.01301/0.4676, allocations: 6.861 MB / 471.7 MB, free: 46.78 MB / 382.1 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)