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.001068/0.001069, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001374/0.001374, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004731/0.0004732, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2776, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00158/0.2792, allocations: 1.355 MB / 327.8 MB, free: 336 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.2799, allocations: 500 kB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.28, allocations: 1.938 kB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2802, allocations: 7.875 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.2802, allocations: 21.83 kB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2804, allocations: 37.73 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.2806, allocations: 106.7 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2807, allocations: 23.52 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.2808, allocations: 35.66 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.2809, allocations: 42.44 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2809, allocations: 3.812 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.2809, allocations: 7.75 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.2809, allocations: 14.55 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.281, allocations: 40.02 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.2811, allocations: 63.78 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2811, allocations: 1.562 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2811, allocations: 0 / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2811, allocations: 0 / 328.7 MB, free: 15.65 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.0006012/0.2817, allocations: 420.8 kB / 329.1 MB, free: 15.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2818, allocations: 9.094 kB / 329.1 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.2818, allocations: 14.78 kB / 329.1 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2821, allocations: 210.4 kB / 329.3 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2821, allocations: 8.266 kB / 329.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.2822, allocations: 14.67 kB / 329.4 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.2825, allocations: 143 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2826, allocations: 5.344 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2826, allocations: 0 / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2826, allocations: 2.812 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.2828, allocations: 77.39 kB / 329.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.2836, allocations: 0.5599 MB / 330.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.284, allocations: 152.5 kB / 330.3 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2841, allocations: 72.39 kB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2842, allocations: 1.219 kB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.2842, allocations: 35.78 kB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.2842, allocations: 192 / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001224/0.2854, allocations: 0.5592 MB / 331 MB, free: 13.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2855, allocations: 52.59 kB / 331 MB, free: 13.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.2857, allocations: 153.4 kB / 331.2 MB, free: 13.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2857, allocations: 25.7 kB / 331.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.2858, allocations: 110.3 kB / 331.3 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2859, allocations: 55.95 kB / 331.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.2859, allocations: 1.375 kB / 331.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.286, allocations: 325.5 kB / 331.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2862, allocations: 57.23 kB / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.2863, allocations: 94.33 kB / 331.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2865, allocations: 64.09 kB / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2865, allocations: 0 / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000396/0.2869, allocations: 203.4 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2869, allocations: 8.625 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.287, allocations: 1 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.287, allocations: 2.031 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.2872, allocations: 52.34 kB / 332.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2872, allocations: 2.094 kB / 332.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.2873, allocations: 16.98 kB / 332.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2873, allocations: 3.188 kB / 332.2 MB, free: 12.8 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.0001068/0.2874, allocations: 127.9 kB / 332.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.2874, allocations: 13.39 kB / 332.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.2875, allocations: 14.97 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2875, allocations: 1.188 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2875, allocations: 1.344 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2875, allocations: 3.984 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.2884, allocations: 0.5201 MB / 332.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2885, allocations: 1.25 kB / 332.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2886, allocations: 33.39 kB / 332.9 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2886, allocations: 1.219 kB / 332.9 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2887, allocations: 13.77 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2887, allocations: 1.344 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2887, allocations: 5.312 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.2893, allocations: 348.1 kB / 333.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.2893, allocations: 89.08 kB / 333.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.2894, allocations: 2.781 kB / 333.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2895, allocations: 19.62 kB / 333.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.2895, allocations: 17.12 kB / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2896, allocations: 11.11 kB / 333.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.2897, allocations: 119.7 kB / 333.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2897, allocations: 0 / 333.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.2899, allocations: 20 kB / 333.5 MB, free: 11.72 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.0001068/0.29, allocations: 93.12 kB / 333.6 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.2904, allocations: 149.2 kB / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2904, allocations: 0 / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.2906, allocations: 80.77 kB / 333.8 MB, free: 11.55 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.2911, allocations: 46.03 kB / 333.9 MB, free: 11.52 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.2917, allocations: 378.9 kB / 334.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.292, allocations: 0.7107 MB / 335 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.2921, allocations: 12.7 kB / 335 MB, free: 10.5 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.2921, allocations: 14.5 kB / 335 MB, free: 10.5 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2921, allocations: 4 kB / 335 MB, free: 10.49 MB / 270.1 MB Notification: Performance of Templates: time 0.003958/0.2961, allocations: 1.447 MB / 336.4 MB, free: 9.051 MB / 270.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)