Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008107/0.008106, allocations: 166.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.227/1.227, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001618/0.001618, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3059/0.3059, allocations: 38.04 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 8 kB / 362.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 48.7 MB / 411.6 MB, free: 4.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.4546, allocations: 75.76 MB / 487.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.4549, allocations: 61.05 kB / 487.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.4653, allocations: 3.745 MB / 491.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4653, allocations: 0 / 491.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4653, allocations: 0 / 491.1 MB, free: 8.707 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005391/0.4659, allocations: 475.3 kB / 491.6 MB, free: 8.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4659, allocations: 8.031 kB / 491.6 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.466, allocations: 19.03 kB / 491.6 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.4664, allocations: 255.7 kB / 491.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.4665, allocations: 83.8 kB / 492 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.4666, allocations: 14.34 kB / 492 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.4669, allocations: 173.6 kB / 492.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4669, allocations: 4 kB / 492.1 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.467, allocations: 7.5 kB / 492.1 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.467, allocations: 0 / 492.1 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.4673, allocations: 153.7 kB / 492.3 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.4682, allocations: 494.6 kB / 492.8 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.4686, allocations: 195.2 kB / 493 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4687, allocations: 0 / 493 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4687, allocations: 34.52 kB / 493 MB, free: 6.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4687, allocations: 0 / 493 MB, free: 6.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006106/0.4693, allocations: 244.2 kB / 493.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4694, allocations: 110.8 kB / 493.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4695, allocations: 156.7 kB / 493.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4695, allocations: 25.7 kB / 493.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.4696, allocations: 110.3 kB / 493.6 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4696, allocations: 22.78 kB / 493.7 MB, free: 6.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4696, allocations: 0 / 493.7 MB, free: 6.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.4697, allocations: 326 kB / 494 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.4698, allocations: 46.22 kB / 494 MB, free: 5.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4699, allocations: 70.77 kB / 494.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.47, allocations: 45.64 kB / 494.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.47, allocations: 0 / 494.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002447/0.4702, allocations: 137.6 kB / 494.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4703, allocations: 11.94 kB / 494.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.4703, allocations: 4.141 kB / 494.3 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4703, allocations: 0 / 494.3 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4705, allocations: 47.89 kB / 494.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4705, allocations: 9.5 kB / 494.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.4706, allocations: 19.89 kB / 494.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4706, allocations: 0 / 494.4 MB, free: 5.469 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.4707, allocations: 121.6 kB / 494.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4707, allocations: 7.906 kB / 494.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.4708, allocations: 16.7 kB / 494.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4708, allocations: 3.953 kB / 494.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4708, allocations: 8 kB / 494.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4708, allocations: 0 / 494.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.471, allocations: 233.8 kB / 494.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.471, allocations: 0 / 494.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.4712, allocations: 55.89 kB / 494.8 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4712, allocations: 4 kB / 494.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4712, allocations: 0 / 494.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4712, allocations: 0 / 494.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4712, allocations: 3.953 kB / 494.8 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.4717, allocations: 345.7 kB / 495.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.4718, allocations: 100.3 kB / 495.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4719, allocations: 3.25 kB / 495.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4721, allocations: 52.02 kB / 495.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.4722, allocations: 3.953 kB / 495.3 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4722, allocations: 7.984 kB / 495.3 MB, free: 4.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.4723, allocations: 125.8 kB / 495.4 MB, free: 4.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.4723, allocations: 3.938 kB / 495.4 MB, free: 4.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.4725, allocations: 26.88 kB / 495.5 MB, free: 4.367 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.4726, allocations: 101.9 kB / 495.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4729, allocations: 115 kB / 495.7 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4729, allocations: 0 / 495.7 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4731, allocations: 83.12 kB / 495.8 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.4734, allocations: 11.75 kB / 495.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.4739, allocations: 298.5 kB / 496.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.4741, allocations: 0.7082 MB / 496.8 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.4742, allocations: 16.55 kB / 496.8 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.4742, allocations: 19.42 kB / 496.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4742, allocations: 0 / 496.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of Templates: time 0.003536/0.4778, allocations: 1.524 MB / 498.3 MB, free: 1.523 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)