Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001461/0.001462, 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.001997/0.001997, allocations: 200.1 kB / 16.26 MB, free: 6.621 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.69/1.69, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3552/0.3552, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001624/0.001624, allocations: 70.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.146, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.005578/0.1516, allocations: 3.389 MB / 434.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.155, allocations: 1.559 MB / 436.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.1555, allocations: 23.88 kB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.1562, allocations: 115.2 kB / 436.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.1567, allocations: 163 kB / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.158, allocations: 491.2 kB / 436.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1591, allocations: 0.9121 MB / 437.8 MB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.1595, allocations: 230.4 kB / 438 MB, free: 60 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.16, allocations: 366.4 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.1605, allocations: 410.1 kB / 438.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-05/0.1606, allocations: 60 kB / 438.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.1607, allocations: 64 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.1609, allocations: 199.3 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1612, allocations: 345.8 kB / 439.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.1619, allocations: 0.7473 MB / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1619, allocations: 0 / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1619, allocations: 0 / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.162, allocations: 0 / 440.2 MB, free: 13.89 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.002221/0.1642, allocations: 1.164 MB / 441.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1643, allocations: 15.89 kB / 441.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1644, allocations: 91.81 kB / 441.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.1653, allocations: 0.5584 MB / 442 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.1653, allocations: 37.38 kB / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.1654, allocations: 60.28 kB / 442.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1666, allocations: 0.606 MB / 442.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1666, allocations: 7.938 kB / 442.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.1667, allocations: 23.94 kB / 442.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.1667, allocations: 15.98 kB / 442.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1677, allocations: 461.8 kB / 443.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.1713, allocations: 2.635 MB / 445.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1724, allocations: 0.554 MB / 446.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.173, allocations: 250.5 kB / 446.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.1731, allocations: 8 kB / 446.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1731, allocations: 42.55 kB / 446.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/0.1731, allocations: 0 / 446.7 MB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002528/0.1757, allocations: 1.128 MB / 447.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.1757, allocations: 140.5 kB / 448 MB, free: 5.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.1767, allocations: 0.6529 MB / 448.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.1768, allocations: 37.7 kB / 448.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.1771, allocations: 364 kB / 449 MB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.1773, allocations: 169.5 kB / 449.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1775, allocations: 118.2 kB / 449.3 MB, free: 4.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1777, allocations: 337.9 kB / 449.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.1783, allocations: 263.3 kB / 449.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.1791, allocations: 416.6 kB / 450.3 MB, free: 3.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.1803, allocations: 0.6662 MB / 451 MB, free: 2.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1804, allocations: 0 / 451 MB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001773/0.1821, allocations: 0.8142 MB / 451.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.1822, allocations: 11.98 kB / 451.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1822, allocations: 4 kB / 451.8 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.1825, allocations: 69.25 kB / 451.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/0.1834, allocations: 191.7 kB / 452.1 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2421/0.4255, allocations: 1.605 MB / 453.7 MB, free: 52.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000835/0.4264, allocations: 87.61 kB / 453.7 MB, free: 52.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.4265, allocations: 20.75 kB / 453.8 MB, free: 52.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007343/0.4272, allocations: 402.4 kB / 454.2 MB, free: 52.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005326/0.4278, allocations: 416.3 kB / 454.6 MB, free: 51.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009309/0.4287, allocations: 0.6495 MB / 455.2 MB, free: 51.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.4287, allocations: 3.062 kB / 455.2 MB, free: 51.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001329/0.43, allocations: 0.7939 MB / 456 MB, free: 51.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4301, allocations: 6.656 kB / 456 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4301, allocations: 3.094 kB / 456 MB, free: 51.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.4302, allocations: 59.62 kB / 456.1 MB, free: 51.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.431, allocations: 192.5 kB / 456.3 MB, free: 51.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.432, allocations: 1.612 MB / 457.9 MB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.4325, allocations: 72.95 kB / 457.9 MB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.4326, allocations: 19.31 kB / 458 MB, free: 50.39 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.0001953/0.4328, allocations: 224.1 kB / 458.2 MB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.4329, allocations: 78.34 kB / 458.3 MB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.4331, allocations: 85.06 kB / 458.3 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4331, allocations: 10.5 kB / 458.4 MB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4331, allocations: 0 / 458.4 MB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4331, allocations: 6.25 kB / 458.4 MB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4343, allocations: 0.8521 MB / 459.2 MB, free: 49.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4344, allocations: 5.25 kB / 459.2 MB, free: 49.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.435, allocations: 105 kB / 459.3 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.435, allocations: 3.344 kB / 459.3 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.435, allocations: 18.08 kB / 459.3 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.435, allocations: 0 / 459.3 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.435, allocations: 10.25 kB / 459.4 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.4367, allocations: 1.132 MB / 460.5 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.4369, allocations: 200.4 kB / 460.7 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.4369, allocations: 11.31 kB / 460.7 MB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.4375, allocations: 50.84 kB / 460.7 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.4376, allocations: 40.23 kB / 460.8 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4376, allocations: 13.91 kB / 460.8 MB, free: 49.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005363/0.4381, allocations: 473.4 kB / 461.3 MB, free: 49.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4382, allocations: 0 / 461.3 MB, free: 49.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007724/0.4389, allocations: 194.6 kB / 461.4 MB, free: 48.99 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.0001268/0.4391, allocations: 119 kB / 461.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.4413, allocations: 1.216 MB / 462.8 MB, free: 48.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4414, allocations: 0 / 462.8 MB, free: 48.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.4419, allocations: 279.2 kB / 463.1 MB, free: 48.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4429, allocations: 194.6 kB / 463.2 MB, free: 48.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.4459, allocations: 1.747 MB / 465 MB, free: 47.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.4463, allocations: 0.9612 MB / 466 MB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.447, allocations: 138.2 kB / 466.1 MB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4472, allocations: 44.06 kB / 466.1 MB, free: 46.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4472, allocations: 0 / 466.1 MB, free: 46.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01274/0.4599, allocations: 8.082 MB / 474.2 MB, free: 46.08 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)