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.001029/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001276/0.001276, allocations: 191.9 kB / 16.25 MB, free: 6.617 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.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3739/0.3739, allocations: 39.94 MB / 309.4 MB, free: 9.305 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.001482/0.001482, allocations: 68.47 kB / 377.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1413, allocations: 56.89 MB / 434 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004517/0.1458, allocations: 3.386 MB / 437.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1488, allocations: 1.567 MB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004173/0.1493, allocations: 27.81 kB / 439 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.1498, allocations: 115.2 kB / 439.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.1503, allocations: 159 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1513, allocations: 495.3 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.1522, allocations: 0.9198 MB / 440.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.1526, allocations: 242.4 kB / 440.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.153, allocations: 358.4 kB / 441.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.1534, allocations: 402.1 kB / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.1535, allocations: 60 kB / 441.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.1536, allocations: 68 kB / 441.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.1538, allocations: 215.2 kB / 441.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.1541, allocations: 341.8 kB / 442.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.1548, allocations: 0.7473 MB / 443 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1548, allocations: 0 / 443 MB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1548, allocations: 0 / 443 MB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1548, allocations: 0 / 443 MB, free: 10.94 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.002128/0.1569, allocations: 1.168 MB / 444.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.157, allocations: 15.89 kB / 444.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.1571, allocations: 91.89 kB / 444.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.158, allocations: 0.5584 MB / 444.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.158, allocations: 41.38 kB / 444.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.1581, allocations: 63.97 kB / 445 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1592, allocations: 0.6056 MB / 445.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1592, allocations: 8 kB / 445.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.1593, allocations: 19.94 kB / 445.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1593, allocations: 12 kB / 445.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/0.1603, allocations: 465.8 kB / 446.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.1639, allocations: 2.655 MB / 448.7 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.1649, allocations: 0.5532 MB / 449.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.1654, allocations: 254.4 kB / 449.5 MB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.1654, allocations: 8 kB / 449.5 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1655, allocations: 46.58 kB / 449.6 MB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.1655, allocations: 0 / 449.6 MB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002375/0.1679, allocations: 1.128 MB / 450.7 MB, free: 2.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.168, allocations: 136.5 kB / 450.8 MB, free: 2.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.1688, allocations: 0.6607 MB / 451.5 MB, free: 2.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.1689, allocations: 33.7 kB / 451.5 MB, free: 2.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.1691, allocations: 364 kB / 451.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1693, allocations: 173.5 kB / 452.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1694, allocations: 114.3 kB / 452.2 MB, free: 1.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1696, allocations: 330 kB / 452.5 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.1701, allocations: 275.3 kB / 452.8 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.1708, allocations: 424.7 kB / 453.2 MB, free: 372 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3178/0.4886, allocations: 0.6778 MB / 453.8 MB, free: 51.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4886, allocations: 2.078 kB / 453.8 MB, free: 51.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001687/0.4903, allocations: 0.7932 MB / 454.6 MB, free: 51.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4903, allocations: 12.25 kB / 454.7 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4904, allocations: 3.594 kB / 454.7 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4904, allocations: 8.688 kB / 454.7 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.491, allocations: 150.1 kB / 454.8 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.491, allocations: 15.62 kB / 454.8 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.4916, allocations: 76.44 kB / 454.9 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.4917, allocations: 25.88 kB / 454.9 MB, free: 51.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007835/0.4924, allocations: 406.2 kB / 455.3 MB, free: 51.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005848/0.493, allocations: 421.6 kB / 455.7 MB, free: 51.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/0.4941, allocations: 0.6621 MB / 456.4 MB, free: 51.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.4941, allocations: 0 / 456.4 MB, free: 51.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001396/0.4955, allocations: 0.7744 MB / 457.2 MB, free: 51.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4956, allocations: 6.531 kB / 457.2 MB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4956, allocations: 3.5 kB / 457.2 MB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.4956, allocations: 13.66 kB / 457.2 MB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.4961, allocations: 148.6 kB / 457.3 MB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.4962, allocations: 9.906 kB / 457.4 MB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.4967, allocations: 76.28 kB / 457.4 MB, free: 51.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.4967, allocations: 23.19 kB / 457.4 MB, free: 51.11 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.0001864/0.4969, allocations: 219.1 kB / 457.7 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.4971, allocations: 76.31 kB / 457.7 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.4973, allocations: 91.05 kB / 457.8 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4973, allocations: 3.375 kB / 457.8 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4974, allocations: 3.219 kB / 457.8 MB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4974, allocations: 7.219 kB / 457.8 MB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4985, allocations: 0.8489 MB / 458.7 MB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4985, allocations: 1.844 kB / 458.7 MB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.4991, allocations: 99.78 kB / 458.8 MB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4991, allocations: 3.125 kB / 458.8 MB, free: 50.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.4992, allocations: 23.28 kB / 458.8 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4992, allocations: 3.125 kB / 458.8 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4992, allocations: 3.719 kB / 458.8 MB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5009, allocations: 1.135 MB / 460 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.5011, allocations: 198.8 kB / 460.1 MB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5013, allocations: 20.66 kB / 460.2 MB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.5018, allocations: 54.34 kB / 460.2 MB, free: 49.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.5019, allocations: 35.66 kB / 460.3 MB, free: 49.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.5019, allocations: 17.23 kB / 460.3 MB, free: 49.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005875/0.5025, allocations: 462.2 kB / 460.7 MB, free: 49.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5025, allocations: 0 / 460.7 MB, free: 49.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.5033, allocations: 190.9 kB / 460.9 MB, free: 49.45 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.0001353/0.5035, allocations: 119.6 kB / 461 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.5055, allocations: 0.9911 MB / 462 MB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5055, allocations: 0 / 462 MB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.5061, allocations: 282.6 kB / 462.3 MB, free: 49.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5072, allocations: 186.2 kB / 462.5 MB, free: 48.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.5097, allocations: 1.745 MB / 464.2 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.5101, allocations: 0.9496 MB / 465.2 MB, free: 47.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005188/0.5107, allocations: 151.3 kB / 465.3 MB, free: 47.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5108, allocations: 48 kB / 465.4 MB, free: 47.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5108, allocations: 3.562 kB / 465.4 MB, free: 47.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01361/0.5245, allocations: 7.212 MB / 472.6 MB, free: 46.8 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)