Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108 kB / 15.61 MB, free: 152 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.001661/0.001661, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.617/1.617, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.4017/0.4017, allocations: 39.94 MB / 309.7 MB, free: 9.309 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.001963/0.001964, allocations: 71.91 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 56.88 MB / 434.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004957/0.1646, allocations: 3.368 MB / 437.8 MB, free: 320 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1679, allocations: 1.59 MB / 439.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.1683, allocations: 23.88 kB / 439.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.169, allocations: 146.7 kB / 439.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.1695, allocations: 190.6 kB / 439.8 MB, free: 14.36 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.001392/0.1709, allocations: 0.5225 MB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009659/0.1719, allocations: 0.9043 MB / 441.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.1723, allocations: 238.4 kB / 441.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.1727, allocations: 358.5 kB / 441.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.1732, allocations: 398.1 kB / 442.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.383e-05/0.1733, allocations: 64 kB / 442.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1734, allocations: 64 kB / 442.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1736, allocations: 203.2 kB / 442.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.174, allocations: 349.8 kB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.1747, allocations: 0.7395 MB / 443.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1747, allocations: 0 / 443.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1747, allocations: 0 / 443.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1748, allocations: 0 / 443.6 MB, free: 10.53 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.002432/0.1772, allocations: 1.16 MB / 444.8 MB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1773, allocations: 11.89 kB / 444.8 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.1774, allocations: 99.89 kB / 444.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.1783, allocations: 0.5662 MB / 445.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.1784, allocations: 37.38 kB / 445.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.1785, allocations: 60.03 kB / 445.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1796, allocations: 0.6165 MB / 446.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.1797, allocations: 4 kB / 446.1 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.1797, allocations: 16 kB / 446.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1798, allocations: 12 kB / 446.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1808, allocations: 465.8 kB / 446.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.1844, allocations: 2.616 MB / 449.2 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1856, allocations: 0.5428 MB / 449.8 MB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.1862, allocations: 254.4 kB / 450 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.1862, allocations: 7.984 kB / 450 MB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.1863, allocations: 42.55 kB / 450.1 MB, free: 3.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.684e-06/0.1863, allocations: 3.938 kB / 450.1 MB, free: 3.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002571/0.1888, allocations: 1.143 MB / 451.2 MB, free: 2.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.326e-05/0.1889, allocations: 132.5 kB / 451.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/0.1898, allocations: 0.6607 MB / 452 MB, free: 1.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.1899, allocations: 33.7 kB / 452.1 MB, free: 1.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.1901, allocations: 364 kB / 452.4 MB, free: 1.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1903, allocations: 173.5 kB / 452.6 MB, free: 1.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1905, allocations: 114.3 kB / 452.7 MB, free: 1.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1906, allocations: 337.9 kB / 453 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.1912, allocations: 259.3 kB / 453.3 MB, free: 492 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2614/0.4526, allocations: 429.8 kB / 453.7 MB, free: 51.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.4544, allocations: 0.6685 MB / 454.4 MB, free: 51.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4544, allocations: 2.5 kB / 454.4 MB, free: 51.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001864/0.4563, allocations: 0.8146 MB / 455.2 MB, free: 50.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4563, allocations: 12.38 kB / 455.2 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4563, allocations: 2.938 kB / 455.2 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.4566, allocations: 56.62 kB / 455.2 MB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.4575, allocations: 202.5 kB / 455.4 MB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4588, allocations: 1.599 MB / 457 MB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.4594, allocations: 84.11 kB / 457.1 MB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.4595, allocations: 24.06 kB / 457.2 MB, free: 49.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007466/0.4602, allocations: 401.9 kB / 457.5 MB, free: 49.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005617/0.4608, allocations: 411.7 kB / 457.9 MB, free: 49.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.4619, allocations: 0.6543 MB / 458.6 MB, free: 49.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.4619, allocations: 3.156 kB / 458.6 MB, free: 49.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001451/0.4634, allocations: 0.7916 MB / 459.4 MB, free: 49.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4634, allocations: 10.78 kB / 459.4 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4634, allocations: 3.25 kB / 459.4 MB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.4636, allocations: 57.44 kB / 459.5 MB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.4643, allocations: 191 kB / 459.7 MB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.4654, allocations: 1.606 MB / 461.3 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.4659, allocations: 77.77 kB / 461.3 MB, free: 47.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.466, allocations: 23.09 kB / 461.4 MB, free: 47.71 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.4662, allocations: 222.8 kB / 461.6 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.4663, allocations: 73 kB / 461.6 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.4665, allocations: 91.83 kB / 461.7 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4665, allocations: 3.25 kB / 461.7 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4665, allocations: 3.344 kB / 461.7 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4666, allocations: 3.328 kB / 461.7 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.4677, allocations: 0.8592 MB / 462.6 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4677, allocations: 4 kB / 462.6 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.4683, allocations: 102.8 kB / 462.7 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4683, allocations: 6.031 kB / 462.7 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.4684, allocations: 13.7 kB / 462.7 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4684, allocations: 3.344 kB / 462.7 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4684, allocations: 2.078 kB / 462.7 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4702, allocations: 1.149 MB / 463.9 MB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.4704, allocations: 195.7 kB / 464.1 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.4705, allocations: 11.25 kB / 464.1 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.471, allocations: 50.98 kB / 464.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4712, allocations: 43.39 kB / 464.2 MB, free: 46.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.4712, allocations: 10.69 kB / 464.2 MB, free: 46.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006001/0.4718, allocations: 462.6 kB / 464.6 MB, free: 46.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4718, allocations: 0 / 464.6 MB, free: 46.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008357/0.4727, allocations: 203.4 kB / 464.8 MB, free: 46.02 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.0001464/0.4728, allocations: 113.8 kB / 464.9 MB, free: 45.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.4753, allocations: 1.229 MB / 466.2 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4753, allocations: 0 / 466.2 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.4759, allocations: 274.9 kB / 466.4 MB, free: 45.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.477, allocations: 190.2 kB / 466.6 MB, free: 45.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.4795, allocations: 1.521 MB / 468.2 MB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.4799, allocations: 0.95 MB / 469.1 MB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004657/0.4804, allocations: 134.5 kB / 469.2 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4805, allocations: 56.17 kB / 469.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4805, allocations: 4 kB / 469.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01316/0.4937, allocations: 8.303 MB / 477.6 MB, free: 43.29 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)