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.001611/0.00161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.354/0.354, allocations: 39.94 MB / 309.7 MB, free: 9.328 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.002132/0.002132, allocations: 70.41 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1583, allocations: 56.87 MB / 434.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.005456/0.1638, allocations: 3.372 MB / 437.9 MB, free: 328 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.1674, allocations: 1.598 MB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.1679, allocations: 19.88 kB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1685, allocations: 142.7 kB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.1689, allocations: 190.5 kB / 439.8 MB, free: 14.37 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1701, allocations: 0.5303 MB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009518/0.1711, allocations: 0.9199 MB / 441.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004304/0.1715, allocations: 234.4 kB / 441.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.1722, allocations: 358.5 kB / 441.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.1729, allocations: 398.1 kB / 442.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.173, allocations: 64 kB / 442.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1732, allocations: 64 kB / 442.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.1735, allocations: 207.2 kB / 442.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.1739, allocations: 341.8 kB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1749, allocations: 0.7551 MB / 443.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.1749, allocations: 0 / 443.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1749, allocations: 0 / 443.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.175, allocations: 0 / 443.6 MB, free: 10.51 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.002701/0.1777, allocations: 1.156 MB / 444.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1777, allocations: 11.89 kB / 444.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1779, allocations: 95.91 kB / 444.9 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008743/0.1788, allocations: 0.5623 MB / 445.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.1788, allocations: 37.38 kB / 445.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.1789, allocations: 68.02 kB / 445.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.18, allocations: 0.6095 MB / 446.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.18, allocations: 4 kB / 446.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.1801, allocations: 20 kB / 446.2 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1801, allocations: 12 kB / 446.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1811, allocations: 457.8 kB / 446.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.1845, allocations: 2.659 MB / 449.3 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1856, allocations: 0.5569 MB / 449.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.1862, allocations: 254.4 kB / 450.1 MB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.1862, allocations: 4 kB / 450.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1863, allocations: 46.59 kB / 450.2 MB, free: 3.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.1863, allocations: 0 / 450.2 MB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002508/0.1888, allocations: 1.131 MB / 451.3 MB, free: 2.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/0.1889, allocations: 136.7 kB / 451.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.1898, allocations: 0.6568 MB / 452.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.1898, allocations: 41.64 kB / 452.1 MB, free: 1.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.1901, allocations: 360 kB / 452.5 MB, free: 1.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.1902, allocations: 173.5 kB / 452.6 MB, free: 1.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1904, allocations: 114.3 kB / 452.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1905, allocations: 334 kB / 453.1 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.1912, allocations: 271.3 kB / 453.3 MB, free: 432 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2668/0.458, allocations: 423.8 kB / 453.8 MB, free: 51.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.4596, allocations: 0.6802 MB / 454.4 MB, free: 51.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4596, allocations: 0 / 454.4 MB, free: 51.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001594/0.4612, allocations: 0.7956 MB / 455.2 MB, free: 51.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4612, allocations: 11.64 kB / 455.2 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4612, allocations: 5.812 kB / 455.3 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.4612, allocations: 5.781 kB / 455.3 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.4619, allocations: 154.8 kB / 455.4 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.462, allocations: 8.422 kB / 455.4 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.4626, allocations: 85.86 kB / 455.5 MB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.4626, allocations: 24.88 kB / 455.5 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007728/0.4634, allocations: 407.8 kB / 455.9 MB, free: 50.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005687/0.464, allocations: 414.9 kB / 456.3 MB, free: 50.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001051/0.465, allocations: 0.6605 MB / 457 MB, free: 50.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.465, allocations: 0 / 457 MB, free: 50.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001347/0.4664, allocations: 0.7729 MB / 457.8 MB, free: 50.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4664, allocations: 6.375 kB / 457.8 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4664, allocations: 3.188 kB / 457.8 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.4664, allocations: 13.34 kB / 457.8 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.467, allocations: 145.1 kB / 457.9 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.467, allocations: 9.625 kB / 457.9 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.4675, allocations: 77.64 kB / 458 MB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.4676, allocations: 20.19 kB / 458 MB, free: 50.61 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.0001615/0.4677, allocations: 218.9 kB / 458.2 MB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4679, allocations: 76.28 kB / 458.3 MB, free: 50.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.4681, allocations: 90.91 kB / 458.4 MB, free: 50.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4681, allocations: 14.22 kB / 458.4 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4681, allocations: 0 / 458.4 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4681, allocations: 3.328 kB / 458.4 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.4692, allocations: 0.8517 MB / 459.3 MB, free: 49.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4693, allocations: 0 / 459.3 MB, free: 49.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.4699, allocations: 109 kB / 459.4 MB, free: 49.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.4699, allocations: 3.219 kB / 459.4 MB, free: 49.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.4699, allocations: 18.38 kB / 459.4 MB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4699, allocations: 6.5 kB / 459.4 MB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4699, allocations: 0 / 459.4 MB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.4717, allocations: 1.134 MB / 460.5 MB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.4718, allocations: 200.7 kB / 460.7 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.4719, allocations: 17.03 kB / 460.8 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.4725, allocations: 44.64 kB / 460.8 MB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4726, allocations: 43.05 kB / 460.8 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4726, allocations: 17.88 kB / 460.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005569/0.4732, allocations: 464 kB / 461.3 MB, free: 49.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4732, allocations: 0 / 461.3 MB, free: 49.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.4739, allocations: 194 kB / 461.5 MB, free: 49.04 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.0001236/0.474, allocations: 119.5 kB / 461.6 MB, free: 48.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.4759, allocations: 0.9896 MB / 462.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4759, allocations: 0 / 462.6 MB, free: 48.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.4765, allocations: 278.1 kB / 462.9 MB, free: 48.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4775, allocations: 198.9 kB / 463.1 MB, free: 48.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.4799, allocations: 1.508 MB / 464.6 MB, free: 47.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.4803, allocations: 0.952 MB / 465.5 MB, free: 47.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004858/0.4808, allocations: 154.9 kB / 465.7 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.4809, allocations: 41.88 kB / 465.7 MB, free: 47.06 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4809, allocations: 0 / 465.7 MB, free: 47.06 MB / 382.1 MB Notification: Performance of Templates: time 0.01559/0.4965, allocations: 7.451 MB / 473.2 MB, free: 46.6 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)