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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, 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.00187/0.00187, allocations: 193 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3681/0.3681, allocations: 37.98 MB / 307.3 MB, free: 10.01 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.1. 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.001374/0.001374, allocations: 67.73 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1322, allocations: 56.46 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004614/0.1369, allocations: 3.393 MB / 434.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.14, allocations: 1.563 MB / 436 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000596/0.1407, allocations: 27.81 kB / 436 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.1412, allocations: 103.2 kB / 436.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.1416, allocations: 171 kB / 436.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1428, allocations: 483.3 kB / 436.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008936/0.1437, allocations: 0.869 MB / 437.6 MB, free: 464 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.1441, allocations: 238.3 kB / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.1447, allocations: 314.4 kB / 438.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.1453, allocations: 378.1 kB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.1454, allocations: 28 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1455, allocations: 32 kB / 438.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.1458, allocations: 179.3 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.1462, allocations: 313.8 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009517/0.1472, allocations: 0.7122 MB / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.1472, allocations: 0 / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1472, allocations: 3.938 kB / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1472, allocations: 0 / 439.8 MB, free: 14.27 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.003367/0.1506, allocations: 1.152 MB / 440.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.163e-05/0.1507, allocations: 12.03 kB / 440.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.1509, allocations: 95.75 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1521, allocations: 0.5701 MB / 441.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.1522, allocations: 37.38 kB / 441.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.1523, allocations: 56.28 kB / 441.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1535, allocations: 0.606 MB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1535, allocations: 3.938 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.1536, allocations: 20 kB / 442.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1536, allocations: 15.98 kB / 442.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1546, allocations: 465.8 kB / 442.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.1585, allocations: 2.671 MB / 445.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1596, allocations: 0.539 MB / 446 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.1601, allocations: 250.4 kB / 446.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.1602, allocations: 12.03 kB / 446.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1602, allocations: 38.56 kB / 446.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/0.1603, allocations: 4 kB / 446.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00258/0.1628, allocations: 1.132 MB / 447.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.163, allocations: 136.5 kB / 447.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.1639, allocations: 0.6606 MB / 448.2 MB, free: 5.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.1639, allocations: 33.7 kB / 448.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.1642, allocations: 367.9 kB / 448.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.1644, allocations: 169.5 kB / 448.8 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.1645, allocations: 118.2 kB / 448.9 MB, free: 4.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1647, allocations: 329.9 kB / 449.2 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/0.1653, allocations: 275.3 kB / 449.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.1659, allocations: 432.6 kB / 449.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1672, allocations: 0.6662 MB / 450.6 MB, free: 2.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1672, allocations: 4 kB / 450.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001589/0.1688, allocations: 0.7939 MB / 451.4 MB, free: 2.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1688, allocations: 8 kB / 451.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1688, allocations: 4 kB / 451.4 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1689, allocations: 8 kB / 451.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.1696, allocations: 152.2 kB / 451.5 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1696, allocations: 11.94 kB / 451.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.1701, allocations: 83.47 kB / 451.6 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.1701, allocations: 24.05 kB / 451.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007131/0.1709, allocations: 417.2 kB / 452.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006459/0.1715, allocations: 416.3 kB / 452.5 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.1726, allocations: 0.6686 MB / 453.1 MB, free: 264 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.1727, allocations: 0 / 453.1 MB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.2317/0.4044, allocations: 0.7613 MB / 453.9 MB, free: 52.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4044, allocations: 9.891 kB / 453.9 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4044, allocations: 6.281 kB / 453.9 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.4044, allocations: 8.094 kB / 453.9 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.4051, allocations: 145.1 kB / 454.1 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4051, allocations: 16.25 kB / 454.1 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.4056, allocations: 74.48 kB / 454.1 MB, free: 52.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4056, allocations: 24.62 kB / 454.2 MB, free: 52.83 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.0001672/0.4058, allocations: 222.4 kB / 454.4 MB, free: 52.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4059, allocations: 77.34 kB / 454.5 MB, free: 52.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.4061, allocations: 88.97 kB / 454.6 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4061, allocations: 4.375 kB / 454.6 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4062, allocations: 3.062 kB / 454.6 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4062, allocations: 2.375 kB / 454.6 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.4072, allocations: 0.8515 MB / 455.4 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4073, allocations: 3.25 kB / 455.4 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.4079, allocations: 106.9 kB / 455.5 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4079, allocations: 0 / 455.5 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.4079, allocations: 20.3 kB / 455.5 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4079, allocations: 6.812 kB / 455.5 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4079, allocations: 1.688 kB / 455.5 MB, free: 52.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4096, allocations: 1.13 MB / 456.7 MB, free: 52.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.4098, allocations: 202.4 kB / 456.9 MB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.4099, allocations: 18.55 kB / 456.9 MB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/0.4104, allocations: 46.58 kB / 456.9 MB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4105, allocations: 41.33 kB / 457 MB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.4105, allocations: 16.75 kB / 457 MB, free: 51.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005122/0.4111, allocations: 464.2 kB / 457.4 MB, free: 51.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4111, allocations: 0 / 457.4 MB, free: 51.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006999/0.4118, allocations: 192.9 kB / 457.6 MB, free: 51.86 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.0001176/0.4119, allocations: 118.2 kB / 457.8 MB, free: 51.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.4137, allocations: 0.956 MB / 458.7 MB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4137, allocations: 0 / 458.7 MB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.4142, allocations: 285.1 kB / 459 MB, free: 51.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4152, allocations: 172.8 kB / 459.2 MB, free: 51.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.4174, allocations: 1.739 MB / 460.9 MB, free: 50.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4178, allocations: 0.9534 MB / 461.8 MB, free: 49.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004591/0.4182, allocations: 154.1 kB / 462 MB, free: 49.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.4184, allocations: 47.06 kB / 462 MB, free: 49.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4184, allocations: 0 / 462 MB, free: 49.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01211/0.4305, allocations: 6.855 MB / 468.9 MB, free: 49.5 MB / 382.1 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)