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.000801/0.000801, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.004837/0.004838, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.384/1.384, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004018/0.0004018, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 47.6 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001475/0.2192, allocations: 1.374 MB / 328.4 MB, free: 312 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.2199, allocations: 0.5185 MB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.22, allocations: 3.938 kB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.507e-05/0.2201, allocations: 7.469 kB / 328.9 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.2202, allocations: 15.86 kB / 328.9 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.2203, allocations: 45.3 kB / 329 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2205, allocations: 108.2 kB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2206, allocations: 27 kB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.2207, allocations: 39.62 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.2208, allocations: 42.92 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2208, allocations: 3.25 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.2208, allocations: 4.344 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.2208, allocations: 18.14 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.2209, allocations: 63.27 kB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.221, allocations: 95.89 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.221, allocations: 0 / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.221, allocations: 1.062 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.221, allocations: 3.938 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.0005198/0.2216, allocations: 408 kB / 329.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2216, allocations: 13.22 kB / 329.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.2217, allocations: 19.73 kB / 329.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2219, allocations: 211.7 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2219, allocations: 4.531 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.2219, allocations: 14.91 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.2222, allocations: 148.2 kB / 330.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2222, allocations: 4 kB / 330.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2223, allocations: 1.344 kB / 330.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2223, allocations: 2.719 kB / 330.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.2225, allocations: 80.61 kB / 330.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.2231, allocations: 0.5566 MB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.2235, allocations: 149 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.2237, allocations: 73.03 kB / 331 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2237, allocations: 1.031 kB / 331.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2237, allocations: 31.66 kB / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.2237, allocations: 0 / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001206/0.2249, allocations: 0.5633 MB / 331.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.225, allocations: 58.12 kB / 331.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2252, allocations: 148.5 kB / 331.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2252, allocations: 26.86 kB / 331.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.2253, allocations: 110.1 kB / 332 MB, free: 13.32 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.2253, allocations: 48.55 kB / 332 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.2254, allocations: 25.98 kB / 332.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2255, allocations: 325.9 kB / 332.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.2257, allocations: 59.44 kB / 332.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.2258, allocations: 93.12 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.2262, allocations: 155.8 kB / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2262, allocations: 1.125 kB / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004501/0.2267, allocations: 192.2 kB / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2267, allocations: 5.625 kB / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2267, allocations: 8.812 kB / 332.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2267, allocations: 5.109 kB / 332.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.2269, allocations: 45.08 kB / 332.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2269, allocations: 1.281 kB / 332.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.227, allocations: 25.36 kB / 333 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.227, allocations: 4.438 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 0.000104/0.2272, allocations: 122.3 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.2272, allocations: 13.16 kB / 333.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.2272, allocations: 19.88 kB / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2273, allocations: 1.281 kB / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2273, allocations: 0 / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2273, allocations: 0.9688 kB / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.2281, allocations: 0.521 MB / 333.6 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2281, allocations: 5.109 kB / 333.6 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2282, allocations: 37.42 kB / 333.7 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2283, allocations: 5.188 kB / 333.7 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2283, allocations: 6.031 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2283, allocations: 1.125 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2283, allocations: 1.062 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.2289, allocations: 353.1 kB / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.2289, allocations: 93.02 kB / 334.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2289, allocations: 1.969 kB / 334.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2291, allocations: 19.66 kB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2291, allocations: 13.73 kB / 334.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2291, allocations: 3 kB / 334.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.2292, allocations: 119.9 kB / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2292, allocations: 0 / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.2294, allocations: 21.12 kB / 334.3 MB, free: 11.55 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.0001075/0.2296, allocations: 104.1 kB / 334.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.2299, allocations: 150.8 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.23, allocations: 0 / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.2301, allocations: 79.03 kB / 334.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2305, allocations: 47.06 kB / 334.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.2312, allocations: 393.9 kB / 335.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2314, allocations: 0.7126 MB / 335.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.898e-05/0.2315, allocations: 17.42 kB / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.2315, allocations: 11.44 kB / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2315, allocations: 0 / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of Templates: time 0.00378/0.2353, allocations: 1.502 MB / 337.3 MB, free: 8.609 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)