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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001079/0.001079, allocations: 190.2 kB / 16.14 MB, free: 6.703 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.688/1.688, allocations: 205.1 MB / 222 MB, free: 4.742 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.4137/0.4137, allocations: 39.93 MB / 309.3 MB, free: 9.336 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.001368/0.001368, allocations: 63.91 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.005416/0.1807, allocations: 3.386 MB / 437.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1844, allocations: 1.571 MB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.1851, allocations: 23.81 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.1858, allocations: 115.2 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.1864, allocations: 163 kB / 439.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1878, allocations: 487.3 kB / 439.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009492/0.1887, allocations: 0.8496 MB / 440.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.1892, allocations: 234.4 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.1897, allocations: 322.4 kB / 440.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1901, allocations: 378.1 kB / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.11e-05/0.1902, allocations: 32 kB / 441.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.1903, allocations: 32 kB / 441.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.1905, allocations: 175.2 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.1909, allocations: 325.8 kB / 441.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.1916, allocations: 0.7005 MB / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1916, allocations: 0 / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1916, allocations: 0 / 442.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1916, allocations: 0 / 442.5 MB, free: 11.34 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.00262/0.1943, allocations: 1.16 MB / 443.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1943, allocations: 12.03 kB / 443.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1945, allocations: 87.91 kB / 443.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.1955, allocations: 0.5662 MB / 444.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.1955, allocations: 37.38 kB / 444.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1957, allocations: 60.03 kB / 444.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.1969, allocations: 0.6134 MB / 445.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1969, allocations: 0 / 445.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.1969, allocations: 20 kB / 445.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.197, allocations: 12 kB / 445.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.198, allocations: 461.8 kB / 445.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.2018, allocations: 2.632 MB / 448.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.2031, allocations: 0.5467 MB / 448.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.2037, allocations: 254.4 kB / 449 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.2038, allocations: 4 kB / 449 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.2039, allocations: 38.56 kB / 449 MB, free: 4.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 4.698e-06/0.2039, allocations: 0 / 449 MB, free: 4.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002932/0.2068, allocations: 1.136 MB / 450.2 MB, free: 3.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.207, allocations: 140.5 kB / 450.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.2081, allocations: 0.649 MB / 450.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.2082, allocations: 37.7 kB / 451 MB, free: 2.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.2086, allocations: 372 kB / 451.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.2088, allocations: 173.5 kB / 451.5 MB, free: 2.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.209, allocations: 114.3 kB / 451.6 MB, free: 1.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2092, allocations: 333.9 kB / 452 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/0.2098, allocations: 267.3 kB / 452.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.2106, allocations: 412.7 kB / 452.6 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2119, allocations: 0.6816 MB / 453.3 MB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2119, allocations: 0 / 453.3 MB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.2694/0.4812, allocations: 0.8064 MB / 454.1 MB, free: 51.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.4813, allocations: 12.12 kB / 454.1 MB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4813, allocations: 6.844 kB / 454.1 MB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.4816, allocations: 56.06 kB / 454.2 MB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.4825, allocations: 197.5 kB / 454.4 MB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.4837, allocations: 1.493 MB / 455.9 MB, free: 50.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.4845, allocations: 78 kB / 455.9 MB, free: 50.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.4845, allocations: 23.84 kB / 456 MB, free: 50.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008926/0.4854, allocations: 404 kB / 456.4 MB, free: 49.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005855/0.486, allocations: 409.3 kB / 456.8 MB, free: 49.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.4872, allocations: 0.6515 MB / 457.4 MB, free: 49.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/0.4872, allocations: 4.328 kB / 457.4 MB, free: 49.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001734/0.4889, allocations: 0.8013 MB / 458.2 MB, free: 49.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4889, allocations: 6.594 kB / 458.2 MB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.489, allocations: 6.688 kB / 458.2 MB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.4892, allocations: 61.53 kB / 458.3 MB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.49, allocations: 184.2 kB / 458.5 MB, free: 49.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.4911, allocations: 1.502 MB / 460 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.4917, allocations: 74.12 kB / 460 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.4918, allocations: 25.81 kB / 460.1 MB, free: 48.32 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.0002135/0.492, allocations: 222.8 kB / 460.3 MB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4922, allocations: 77.23 kB / 460.4 MB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.4924, allocations: 93.42 kB / 460.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4924, allocations: 6.625 kB / 460.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4924, allocations: 3.25 kB / 460.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4924, allocations: 3.188 kB / 460.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.4936, allocations: 0.853 MB / 461.3 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4936, allocations: 3.219 kB / 461.3 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.4942, allocations: 104.4 kB / 461.4 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.4942, allocations: 3.188 kB / 461.4 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.4943, allocations: 17.41 kB / 461.4 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4943, allocations: 7.406 kB / 461.5 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4943, allocations: 0 / 461.5 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.496, allocations: 1.134 MB / 462.6 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.4962, allocations: 197.2 kB / 462.8 MB, free: 46.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.4963, allocations: 14 kB / 462.8 MB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/0.4968, allocations: 46.58 kB / 462.8 MB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.497, allocations: 40.88 kB / 462.9 MB, free: 46.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.497, allocations: 13.59 kB / 462.9 MB, free: 46.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006183/0.4976, allocations: 473.7 kB / 463.4 MB, free: 46.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4976, allocations: 0 / 463.4 MB, free: 46.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.4985, allocations: 195.6 kB / 463.5 MB, free: 46.7 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.4986, allocations: 115 kB / 463.7 MB, free: 46.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.501, allocations: 1.187 MB / 464.8 MB, free: 46.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.501, allocations: 0 / 464.8 MB, free: 46.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.5016, allocations: 282 kB / 465.1 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5027, allocations: 172.5 kB / 465.3 MB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.5051, allocations: 1.762 MB / 467 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.5055, allocations: 0.958 MB / 468 MB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004689/0.506, allocations: 137.6 kB / 468.1 MB, free: 44.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.5061, allocations: 43.5 kB / 468.2 MB, free: 44.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5061, allocations: 0 / 468.2 MB, free: 44.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01274/0.5189, allocations: 7.695 MB / 475.9 MB, free: 43.81 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)