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.001647/0.001647, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00213/0.00213, allocations: 190.9 kB / 16.14 MB, free: 6.66 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.63/1.63, allocations: 205.1 MB / 222 MB, free: 4.758 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.001244/0.001245, allocations: 43.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2654, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00261/0.2681, allocations: 1.728 MB / 326.4 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.2688, allocations: 0.5159 MB / 326.9 MB, free: 156 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.2689, allocations: 3.156 kB / 326.9 MB, free: 156 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2691, allocations: 15.86 kB / 326.9 MB, free: 140 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.2691, allocations: 23.84 kB / 327 MB, free: 116 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2693, allocations: 42.2 kB / 327 MB, free: 84 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.2695, allocations: 107.6 kB / 327.1 MB, free: 20 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2696, allocations: 23.98 kB / 327.1 MB, free: 8 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.2697, allocations: 36.77 kB / 327.2 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.2698, allocations: 54.38 kB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.2698, allocations: 9.625 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.2698, allocations: 8.469 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.2699, allocations: 14.45 kB / 327.2 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.2699, allocations: 46.3 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2701, allocations: 92.83 kB / 327.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2701, allocations: 0 / 327.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.2701, allocations: 0 / 327.4 MB, free: 15.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2701, allocations: 0 / 327.4 MB, free: 15.82 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.0005715/0.2707, allocations: 427 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2707, allocations: 8.875 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.2708, allocations: 15.5 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.271, allocations: 220.9 kB / 328 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.271, allocations: 8.719 kB / 328 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.2711, allocations: 10.38 kB / 328.1 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.2714, allocations: 129.5 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2714, allocations: 1.188 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.2714, allocations: 1.188 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2714, allocations: 2.156 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.2716, allocations: 70.78 kB / 328.3 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.2724, allocations: 0.5519 MB / 328.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.2728, allocations: 136.3 kB / 328.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2729, allocations: 50.36 kB / 329 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.273, allocations: 2.5 kB / 329 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.273, allocations: 34.56 kB / 329 MB, free: 14.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.273, allocations: 1.344 kB / 329 MB, free: 14.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001177/0.2742, allocations: 0.5138 MB / 329.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2742, allocations: 56.88 kB / 329.6 MB, free: 13.85 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2744, allocations: 150.3 kB / 329.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2744, allocations: 25.7 kB / 329.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.2745, allocations: 113.9 kB / 329.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.2745, allocations: 40.45 kB / 329.9 MB, free: 13.55 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.2746, allocations: 31.53 kB / 329.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2747, allocations: 326.9 kB / 330.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2749, allocations: 56.8 kB / 330.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.275, allocations: 81.23 kB / 330.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.2754, allocations: 136.5 kB / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2754, allocations: 5.312 kB / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004232/0.2758, allocations: 172.6 kB / 330.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2759, allocations: 9.562 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2759, allocations: 5.062 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2759, allocations: 2.312 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2761, allocations: 36.19 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2761, allocations: 1.125 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.2762, allocations: 15.8 kB / 330.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2762, allocations: 4.25 kB / 330.8 MB, free: 12.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2764, allocations: 131.2 kB / 330.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2764, allocations: 13.41 kB / 330.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.2765, allocations: 18.67 kB / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2765, allocations: 2.406 kB / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2765, allocations: 0 / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2765, allocations: 0 / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/0.2774, allocations: 499.5 kB / 331.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.2774, allocations: 0 / 331.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.2776, allocations: 42.16 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2776, allocations: 3.938 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2777, allocations: 6.812 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2777, allocations: 1.031 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2777, allocations: 1.062 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.2783, allocations: 321.2 kB / 331.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.2784, allocations: 88.2 kB / 331.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.2784, allocations: 10.19 kB / 331.9 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2785, allocations: 11.42 kB / 331.9 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.2786, allocations: 13.39 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2786, allocations: 7.219 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2787, allocations: 111.1 kB / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2787, allocations: 5.125 kB / 332 MB, free: 11.83 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.279, allocations: 19.94 kB / 332.1 MB, free: 11.83 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 (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.0001395/0.2792, allocations: 100.8 kB / 332.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.2796, allocations: 127.6 kB / 332.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2796, allocations: 8.125 kB / 332.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2798, allocations: 68.39 kB / 332.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.2802, allocations: 40.3 kB / 332.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.2809, allocations: 367.5 kB / 332.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2812, allocations: 0.7098 MB / 333.5 MB, free: 10.62 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.2812, allocations: 12.36 kB / 333.5 MB, free: 10.62 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.2813, allocations: 19.25 kB / 333.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2813, allocations: 0 / 333.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of Templates: time 0.004622/0.2859, allocations: 1.516 MB / 335 MB, free: 9.32 MB / 270.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)