Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.009882/0.009882, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.002162/0.002163, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.864/1.864, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.002273/0.002273, allocations: 54.61 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1381, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003505/0.1417, allocations: 1.668 MB / 374.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1429, allocations: 0.5188 MB / 375.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1431, allocations: 7.938 kB / 375.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1432, allocations: 11.86 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.1433, allocations: 35.78 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1435, allocations: 39.89 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1437, allocations: 119.6 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1439, allocations: 29.02 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.1439, allocations: 43.8 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.144, allocations: 51.7 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1441, allocations: 4 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.1441, allocations: 12 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.1441, allocations: 23.86 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.1442, allocations: 55.66 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1444, allocations: 87.52 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1444, allocations: 4 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1444, allocations: 4 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1444, allocations: 0 / 375.9 MB, free: 14.61 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.0006964/0.1451, allocations: 426.8 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1451, allocations: 12.03 kB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.1452, allocations: 16.89 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.1457, allocations: 216.6 kB / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1457, allocations: 12.31 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.1458, allocations: 16.12 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1461, allocations: 128.2 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1461, allocations: 7.938 kB / 376.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1461, allocations: 4 kB / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1461, allocations: 0 / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.1464, allocations: 67.89 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.1471, allocations: 0.5439 MB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.1475, allocations: 130.4 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1477, allocations: 60.81 kB / 377.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1477, allocations: 0 / 377.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1477, allocations: 34.56 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1477, allocations: 0 / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00114/0.1489, allocations: 0.5136 MB / 378 MB, free: 12.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1489, allocations: 51.41 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1491, allocations: 165.9 kB / 378.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1491, allocations: 29.7 kB / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.1492, allocations: 112 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.1492, allocations: 39.64 kB / 378.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.1493, allocations: 37.66 kB / 378.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1494, allocations: 322.8 kB / 378.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1496, allocations: 47.97 kB / 378.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.1498, allocations: 87.38 kB / 378.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.1501, allocations: 143.3 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1501, allocations: 0 / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003817/0.1505, allocations: 166.5 kB / 379.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1505, allocations: 12.25 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1505, allocations: 12.02 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1505, allocations: 4 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1507, allocations: 31.98 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1507, allocations: 0 / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.1508, allocations: 15.98 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1508, allocations: 4 kB / 379.3 MB, free: 10.88 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.0001187/0.1509, allocations: 125.8 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.151, allocations: 19.91 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.151, allocations: 20.59 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.151, allocations: 4 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.151, allocations: 0 / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1511, allocations: 0 / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.1518, allocations: 0.4998 MB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1519, allocations: 4 kB / 380 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.152, allocations: 27.98 kB / 380 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.152, allocations: 3.984 kB / 380 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1521, allocations: 8 kB / 380 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1521, allocations: 0 / 380 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1521, allocations: 3.938 kB / 380 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.1526, allocations: 313.1 kB / 380.3 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.1527, allocations: 93.02 kB / 380.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1527, allocations: 8 kB / 380.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1528, allocations: 12.03 kB / 380.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.1529, allocations: 11.98 kB / 380.4 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1529, allocations: 4 kB / 380.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.03e-05/0.153, allocations: 119.2 kB / 380.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.153, allocations: 3.938 kB / 380.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1533, allocations: 20 kB / 380.6 MB, free: 9.477 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.0001208/0.1534, allocations: 99.19 kB / 380.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.1538, allocations: 123.8 kB / 380.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1538, allocations: 0 / 380.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.154, allocations: 68.22 kB / 380.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1544, allocations: 52.05 kB / 380.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.1551, allocations: 336.1 kB / 381.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1554, allocations: 0.7084 MB / 381.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.982e-05/0.1554, allocations: 13.42 kB / 382 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.1555, allocations: 15.44 kB / 382 MB, free: 8.004 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1555, allocations: 0 / 382 MB, free: 8.004 MB / 318.1 MB Notification: Performance of Templates: time 0.004471/0.16, allocations: 1.727 MB / 383.7 MB, free: 6.277 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)