Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001159/0.001159, allocations: 90.48 kB / 16.31 MB, free: 6.453 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.00131/0.00131, allocations: 180.7 kB / 17.21 MB, free: 6.328 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.603/1.603, allocations: 205.4 MB / 223.4 MB, free: 5.582 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.0004168/0.0004168, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2489, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001706/0.2506, allocations: 1.354 MB / 329.1 MB, free: 360 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007587/0.2514, allocations: 497.7 kB / 329.6 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.2515, allocations: 5.281 kB / 329.6 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2516, allocations: 9.328 kB / 329.6 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.2517, allocations: 17.08 kB / 329.6 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.2519, allocations: 37 kB / 329.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.252, allocations: 103.2 kB / 329.7 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2522, allocations: 31.94 kB / 329.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.2522, allocations: 35.73 kB / 329.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2523, allocations: 38.59 kB / 329.8 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.2524, allocations: 3.312 kB / 329.8 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.2524, allocations: 3.812 kB / 329.8 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.2524, allocations: 22.53 kB / 329.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.2525, allocations: 43.05 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2526, allocations: 63.84 kB / 330 MB, free: 15.67 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2526, allocations: 0 / 330 MB, free: 15.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2526, allocations: 0 / 330 MB, free: 15.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2526, allocations: 4 kB / 330 MB, free: 15.67 MB / 270.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.0005337/0.2531, allocations: 415.5 kB / 330.4 MB, free: 15.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2532, allocations: 8.625 kB / 330.4 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.2532, allocations: 14.38 kB / 330.4 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2535, allocations: 211.2 kB / 330.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2535, allocations: 8.609 kB / 330.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.2536, allocations: 13.84 kB / 330.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.2539, allocations: 139.6 kB / 330.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2539, allocations: 3.906 kB / 330.8 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2539, allocations: 1.094 kB / 330.8 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2539, allocations: 2.156 kB / 330.8 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2542, allocations: 82.12 kB / 330.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.255, allocations: 0.5559 MB / 331.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.2555, allocations: 148.9 kB / 331.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.2557, allocations: 72.14 kB / 331.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2557, allocations: 5.469 kB / 331.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2557, allocations: 34.56 kB / 331.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2557, allocations: 1.281 kB / 331.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001497/0.2572, allocations: 0.5576 MB / 332.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.2573, allocations: 57.94 kB / 332.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.2576, allocations: 144.6 kB / 332.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2576, allocations: 26.77 kB / 332.4 MB, free: 13.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2578, allocations: 112.8 kB / 332.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.2578, allocations: 48.77 kB / 332.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.2578, allocations: 1.062 kB / 332.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.258, allocations: 325.1 kB / 332.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.2582, allocations: 62.27 kB / 333 MB, free: 13.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.2585, allocations: 94.23 kB / 333.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.2587, allocations: 68.25 kB / 333.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.2587, allocations: 4 kB / 333.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004976/0.2592, allocations: 203.5 kB / 333.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.2593, allocations: 6.375 kB / 333.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2593, allocations: 0 / 333.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2593, allocations: 3.188 kB / 333.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2595, allocations: 51.72 kB / 333.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.2596, allocations: 1.469 kB / 333.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.2597, allocations: 21.39 kB / 333.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2597, allocations: 4 kB / 333.4 MB, free: 12.82 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.2598, allocations: 122.2 kB / 333.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.2599, allocations: 13.36 kB / 333.6 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.2599, allocations: 19.14 kB / 333.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2599, allocations: 2.281 kB / 333.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2599, allocations: 0 / 333.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.26, allocations: 5.062 kB / 333.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.2609, allocations: 0.5158 MB / 334.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2609, allocations: 5.125 kB / 334.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2611, allocations: 41.41 kB / 334.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2611, allocations: 2.344 kB / 334.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.2611, allocations: 5.062 kB / 334.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2611, allocations: 5.281 kB / 334.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2611, allocations: 1.188 kB / 334.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.2617, allocations: 344.5 kB / 334.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.2618, allocations: 92.48 kB / 334.6 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.2618, allocations: 10.17 kB / 334.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.262, allocations: 20.05 kB / 334.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.262, allocations: 13.8 kB / 334.6 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.262, allocations: 2.375 kB / 334.6 MB, free: 11.85 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.2621, allocations: 119.2 kB / 334.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2621, allocations: 0 / 334.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000251/0.2624, allocations: 20.56 kB / 334.8 MB, free: 11.75 MB / 270.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 (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.0001479/0.2625, allocations: 96.94 kB / 334.9 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.2629, allocations: 149 kB / 335 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2629, allocations: 0 / 335 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.2631, allocations: 77.3 kB / 335.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.2636, allocations: 52.19 kB / 335.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.2645, allocations: 376.2 kB / 335.5 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.2649, allocations: 0.7138 MB / 336.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.265, allocations: 20.39 kB / 336.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.2651, allocations: 11.44 kB / 336.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2651, allocations: 0 / 336.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of Templates: time 0.004345/0.2695, allocations: 1.443 MB / 337.7 MB, free: 9.062 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)