Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.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) 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008274/0.008274, allocations: 102 kB / 15.73 MB, free: 6.051 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.001438/0.001438, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.735/1.735, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001777/0.001778, allocations: 57.77 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1434, allocations: 46.63 MB / 373.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.004541/0.148, allocations: 1.656 MB / 374.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1495, allocations: 0.5228 MB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1498, allocations: 7.938 kB / 375.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1501, allocations: 19.73 kB / 375.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1503, allocations: 27.8 kB / 375.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1506, allocations: 43.92 kB / 375.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.151, allocations: 123.6 kB / 375.6 MB, free: 15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1512, allocations: 29.05 kB / 375.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1513, allocations: 43.78 kB / 375.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1514, allocations: 47.72 kB / 375.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1515, allocations: 8 kB / 375.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.443e-05/0.1515, allocations: 4 kB / 375.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.1515, allocations: 23.92 kB / 375.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.1516, allocations: 55.59 kB / 375.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1519, allocations: 91.64 kB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.1519, allocations: 4 kB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.152, allocations: 0 / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.152, allocations: 0 / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009734/0.153, allocations: 423 kB / 376.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.153, allocations: 8.031 kB / 376.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.1531, allocations: 16.75 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.1538, allocations: 220.5 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1538, allocations: 8.375 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.1539, allocations: 16.12 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.1543, allocations: 124.1 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1543, allocations: 4 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1544, allocations: 8 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.1544, allocations: 0 / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1546, allocations: 67.94 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1559, allocations: 0.5515 MB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.1563, allocations: 122.5 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.1565, allocations: 60.81 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1565, allocations: 0 / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.1566, allocations: 34.56 kB / 377.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1566, allocations: 0 / 377.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001593/0.1582, allocations: 0.5176 MB / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.1583, allocations: 51.41 kB / 378.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1585, allocations: 154 kB / 378.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1586, allocations: 29.7 kB / 378.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1587, allocations: 120 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.1588, allocations: 43.36 kB / 378.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.1589, allocations: 29.7 kB / 378.4 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.1591, allocations: 322.8 kB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1593, allocations: 55.89 kB / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1595, allocations: 87.3 kB / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.1599, allocations: 135.3 kB / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1599, allocations: 4 kB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004571/0.1603, allocations: 169.5 kB / 379.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.1604, allocations: 8.312 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.1604, allocations: 7.922 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.505e-05/0.1604, allocations: 4 kB / 379.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1607, allocations: 44 kB / 379.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1607, allocations: 0 / 379.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.1608, allocations: 15.98 kB / 379.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1608, allocations: 4 kB / 379.3 MB, free: 10.97 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001486/0.161, allocations: 125.7 kB / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.161, allocations: 15.81 kB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.1611, allocations: 16.66 kB / 379.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1611, allocations: 4 kB / 379.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1611, allocations: 7.984 kB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1611, allocations: 0 / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.1621, allocations: 496 kB / 379.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1621, allocations: 11.94 kB / 379.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.1623, allocations: 35.91 kB / 380 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.1623, allocations: 0.75 kB / 380 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1623, allocations: 8 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1623, allocations: 0 / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1624, allocations: 0 / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.163, allocations: 316.9 kB / 380.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.1631, allocations: 89.02 kB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1632, allocations: 7.938 kB / 380.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1633, allocations: 16.03 kB / 380.4 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.1634, allocations: 11.98 kB / 380.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1634, allocations: 7.984 kB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1635, allocations: 111.3 kB / 380.5 MB, free: 9.602 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.805e-06/0.1635, allocations: 0 / 380.5 MB, free: 9.602 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1638, allocations: 23.94 kB / 380.6 MB, free: 9.578 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * 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.0001614/0.164, allocations: 99.17 kB / 380.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.1645, allocations: 127.8 kB / 380.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1645, allocations: 0 / 380.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1647, allocations: 67.89 kB / 380.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1651, allocations: 48.14 kB / 380.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.1661, allocations: 324.5 kB / 381.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.1666, allocations: 0.7162 MB / 381.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.1667, allocations: 9.422 kB / 381.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1668, allocations: 15.44 kB / 381.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1668, allocations: 0 / 381.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of Templates: time 0.006175/0.173, allocations: 1.731 MB / 383.7 MB, free: 6.383 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)