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.0012/0.0012, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008752/0.008752, allocations: 172.2 kB / 16.27 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.636/1.636, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005132/0.0005133, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3202, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001801/0.3221, allocations: 1.381 MB / 328.4 MB, free: 304 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.323, allocations: 0.5129 MB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.3231, allocations: 6.312 kB / 328.9 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.3232, allocations: 7.922 kB / 328.9 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.3233, allocations: 18.12 kB / 328.9 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.3235, allocations: 41.58 kB / 329 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3237, allocations: 112.3 kB / 329.1 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3238, allocations: 27.67 kB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.3239, allocations: 35.67 kB / 329.2 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.324, allocations: 41.55 kB / 329.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3241, allocations: 8.688 kB / 329.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.3241, allocations: 3.094 kB / 329.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.3241, allocations: 14.61 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.3242, allocations: 67.39 kB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.3243, allocations: 91.98 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3244, allocations: 0 / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3244, allocations: 0 / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3244, allocations: 1.375 kB / 329.4 MB, free: 15.54 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.0006329/0.325, allocations: 415.4 kB / 329.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3251, allocations: 9.906 kB / 329.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.3251, allocations: 14.59 kB / 329.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.3254, allocations: 209 kB / 330 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3255, allocations: 7.656 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.3255, allocations: 18.48 kB / 330 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.3259, allocations: 136.3 kB / 330.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3259, allocations: 5.25 kB / 330.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3259, allocations: 4 kB / 330.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3259, allocations: 2.5 kB / 330.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.3262, allocations: 81.98 kB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.3269, allocations: 0.5526 MB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.3273, allocations: 161 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3275, allocations: 72.12 kB / 331 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.3275, allocations: 1.156 kB / 331.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3276, allocations: 31.81 kB / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3276, allocations: 0 / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001412/0.329, allocations: 0.5669 MB / 331.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3291, allocations: 53.97 kB / 331.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3293, allocations: 152.7 kB / 331.9 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3293, allocations: 27.02 kB / 331.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.3294, allocations: 113.6 kB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3294, allocations: 48.33 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.3295, allocations: 22.42 kB / 332.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3296, allocations: 322 kB / 332.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3298, allocations: 57.78 kB / 332.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.33, allocations: 98.5 kB / 332.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.3303, allocations: 160.1 kB / 332.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3303, allocations: 0 / 332.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004209/0.3308, allocations: 188.5 kB / 332.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3308, allocations: 9.703 kB / 332.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3308, allocations: 5.188 kB / 332.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3308, allocations: 1.125 kB / 332.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.331, allocations: 44.92 kB / 332.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.331, allocations: 2.094 kB / 332.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.3311, allocations: 21.52 kB / 332.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3311, allocations: 3.562 kB / 333 MB, free: 12.62 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 9.645e-05/0.3312, allocations: 123.3 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3313, allocations: 17.28 kB / 333.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.3313, allocations: 23.75 kB / 333.1 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3313, allocations: 1.219 kB / 333.1 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3313, allocations: 0 / 333.1 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3314, allocations: 1.031 kB / 333.1 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.3322, allocations: 0.5245 MB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3322, allocations: 0.625 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3324, allocations: 38.08 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3324, allocations: 5.031 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3324, allocations: 5.969 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3324, allocations: 2.031 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3324, allocations: 8.047 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.3331, allocations: 345.4 kB / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3331, allocations: 96.36 kB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3332, allocations: 2.594 kB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3333, allocations: 16.31 kB / 334.1 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3334, allocations: 12.36 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3334, allocations: 3.438 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.151e-05/0.3335, allocations: 120.3 kB / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3335, allocations: 4 kB / 334.3 MB, free: 11.54 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3337, allocations: 20.56 kB / 334.3 MB, free: 11.54 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.0001797/0.3339, allocations: 96.72 kB / 334.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.3343, allocations: 153.1 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3343, allocations: 0.9688 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.3345, allocations: 82.95 kB / 334.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.335, allocations: 38.75 kB / 334.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.3357, allocations: 390 kB / 335 MB, free: 10.87 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.336, allocations: 0.7126 MB / 335.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.336, allocations: 13.42 kB / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3361, allocations: 19.38 kB / 335.8 MB, free: 10.1 MB / 270.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3361, allocations: 0 / 335.8 MB, free: 10.1 MB / 270.1 MB Notification: Performance of Templates: time 0.004151/0.3402, allocations: 1.506 MB / 337.3 MB, free: 8.598 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)