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.001196/0.001196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.456/1.456, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.001192/0.001192, allocations: 56.39 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2629, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002844/0.2657, allocations: 1.668 MB / 327 MB, free: 0.5312 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.2666, allocations: 0.5242 MB / 327.5 MB, free: 116 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.2667, allocations: 3.938 kB / 327.5 MB, free: 112 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.2668, allocations: 15.7 kB / 327.5 MB, free: 100 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.2669, allocations: 23.8 kB / 327.5 MB, free: 76 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.267, allocations: 50.34 kB / 327.6 MB, free: 36 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.2672, allocations: 112.5 kB / 327.7 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2673, allocations: 23.3 kB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.737e-05/0.2674, allocations: 50.34 kB / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.2675, allocations: 46.8 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.2675, allocations: 11.03 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.2675, allocations: 8.125 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.2676, allocations: 25.98 kB / 327.9 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.2676, allocations: 46.3 kB / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.2678, allocations: 93.95 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2678, allocations: 1.188 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2678, allocations: 0 / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.2678, allocations: 0 / 328 MB, free: 15.75 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.0005585/0.2684, allocations: 430.4 kB / 328.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2684, allocations: 9.906 kB / 328.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.2685, allocations: 15.16 kB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2687, allocations: 211.9 kB / 328.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2687, allocations: 8.531 kB / 328.7 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.2688, allocations: 10.28 kB / 328.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.2691, allocations: 135.9 kB / 328.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2691, allocations: 0 / 328.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2691, allocations: 1.219 kB / 328.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2691, allocations: 1.438 kB / 328.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.2693, allocations: 70.3 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.2701, allocations: 0.5569 MB / 329.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.2705, allocations: 136.3 kB / 329.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2706, allocations: 51.2 kB / 329.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2706, allocations: 1.156 kB / 329.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2707, allocations: 36.09 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 3.797e-06/0.2707, allocations: 0 / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001174/0.2719, allocations: 0.5175 MB / 330.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2719, allocations: 56.62 kB / 330.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2721, allocations: 149.9 kB / 330.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2721, allocations: 25.7 kB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.2722, allocations: 117.4 kB / 330.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.2723, allocations: 45.19 kB / 330.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.2723, allocations: 35.69 kB / 330.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2725, allocations: 322.6 kB / 330.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.2727, allocations: 51.95 kB / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.2729, allocations: 81.39 kB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.2732, allocations: 132.4 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2732, allocations: 1.406 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004076/0.2736, allocations: 168.7 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2737, allocations: 9.938 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2737, allocations: 5.406 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2737, allocations: 0.9062 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2739, allocations: 44.06 kB / 331.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2739, allocations: 1.562 kB / 331.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.274, allocations: 16.2 kB / 331.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.274, allocations: 3.938 kB / 331.4 MB, free: 12.83 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.563e-05/0.2741, allocations: 123.5 kB / 331.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.2741, allocations: 13.56 kB / 331.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/0.2742, allocations: 20.02 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2743, allocations: 0 / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2743, allocations: 5.094 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2743, allocations: 3.938 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.2751, allocations: 499.6 kB / 332.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2751, allocations: 1.281 kB / 332.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2752, allocations: 32.09 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2752, allocations: 2.531 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2753, allocations: 5.406 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2753, allocations: 5.312 kB / 332.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2753, allocations: 1.375 kB / 332.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.2758, allocations: 324.7 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.2759, allocations: 88.02 kB / 332.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.2759, allocations: 10.16 kB / 332.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.276, allocations: 11.92 kB / 332.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2761, allocations: 17.3 kB / 332.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2761, allocations: 2.188 kB / 332.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.2762, allocations: 111.8 kB / 332.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2762, allocations: 5.219 kB / 332.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2765, allocations: 20.09 kB / 332.7 MB, free: 11.76 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.0001157/0.2766, allocations: 109.2 kB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.277, allocations: 124.4 kB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.277, allocations: 4.188 kB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.2772, allocations: 66.98 kB / 333 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.2777, allocations: 38.5 kB / 333 MB, free: 11.56 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.2785, allocations: 332.7 kB / 333.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2788, allocations: 0.7091 MB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.989e-05/0.2789, allocations: 17.69 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.2789, allocations: 14.72 kB / 334.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2789, allocations: 1.312 kB / 334.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of Templates: time 0.004969/0.2839, allocations: 1.705 MB / 335.8 MB, free: 8.957 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)