Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001637/0.001637, allocations: 101.3 kB / 17.05 MB, free: 6.125 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.001657/0.001657, allocations: 196.1 kB / 18 MB, free: 5.199 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.891/1.891, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001263/0.001263, allocations: 55.92 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1789, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.006131/0.185, allocations: 1.667 MB / 376.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1871, allocations: 0.5305 MB / 376.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.1874, allocations: 0 / 376.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1877, allocations: 19.8 kB / 376.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1879, allocations: 23.8 kB / 376.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1882, allocations: 47.94 kB / 376.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.1886, allocations: 115.6 kB / 376.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1888, allocations: 33.11 kB / 376.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.189, allocations: 43.78 kB / 376.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1891, allocations: 51.7 kB / 377 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.1892, allocations: 8 kB / 377 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.1893, allocations: 8 kB / 377 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.1893, allocations: 23.86 kB / 377 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.1894, allocations: 39.73 kB / 377.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1897, allocations: 99.52 kB / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1898, allocations: 0 / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1898, allocations: 0 / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1898, allocations: 0 / 377.2 MB, free: 1.852 MB / 318.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.000944/0.1907, allocations: 431 kB / 377.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.1908, allocations: 8.031 kB / 377.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.1909, allocations: 16.75 kB / 377.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.1915, allocations: 216.6 kB / 377.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1915, allocations: 4.375 kB / 377.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.1916, allocations: 16.12 kB / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.1921, allocations: 132.2 kB / 378 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.1922, allocations: 0 / 378 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.1922, allocations: 3.938 kB / 378 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1922, allocations: 4 kB / 378 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.1926, allocations: 63.95 kB / 378 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.1939, allocations: 0.5514 MB / 378.6 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.1945, allocations: 138.4 kB / 378.7 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.1947, allocations: 56.81 kB / 378.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1948, allocations: 4 kB / 378.8 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.1948, allocations: 38.56 kB / 378.8 MB, free: 12 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.1948, allocations: 0 / 378.8 MB, free: 12 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.2797/0.4745, allocations: 0.5026 MB / 379.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4746, allocations: 54.16 kB / 379.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4748, allocations: 158.7 kB / 379.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4748, allocations: 30.42 kB / 379.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.4749, allocations: 110 kB / 379.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.475, allocations: 46.03 kB / 379.7 MB, free: 11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.475, allocations: 32.91 kB / 379.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.4751, allocations: 325.1 kB / 380.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.4753, allocations: 46.58 kB / 380.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.4755, allocations: 87.39 kB / 380.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.4758, allocations: 138.5 kB / 380.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4758, allocations: 1.375 kB / 380.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003694/0.4762, allocations: 182.4 kB / 380.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4762, allocations: 6.344 kB / 380.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4762, allocations: 5.156 kB / 380.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4762, allocations: 1.375 kB / 380.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.4764, allocations: 37.8 kB / 380.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4764, allocations: 4.812 kB / 380.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.4765, allocations: 10.53 kB / 380.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4765, allocations: 7.375 kB / 380.6 MB, free: 10.56 MB / 318.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 8.548e-05/0.4766, allocations: 128.7 kB / 380.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.4767, allocations: 11.67 kB / 380.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.4767, allocations: 15.67 kB / 380.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4767, allocations: 1.875 kB / 380.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.4767, allocations: 2.953 kB / 380.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.4768, allocations: 2.719 kB / 380.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/0.4775, allocations: 0.4922 MB / 381.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4776, allocations: 5.125 kB / 381.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.4777, allocations: 35.34 kB / 381.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4777, allocations: 1.375 kB / 381.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4778, allocations: 6.188 kB / 381.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4778, allocations: 0.5625 kB / 381.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4778, allocations: 1.375 kB / 381.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.4784, allocations: 325.2 kB / 381.6 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.4784, allocations: 85.89 kB / 381.7 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.4784, allocations: 1.891 kB / 381.7 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4785, allocations: 19.33 kB / 381.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.4786, allocations: 18.77 kB / 381.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4786, allocations: 4.125 kB / 381.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.4787, allocations: 110.7 kB / 381.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4787, allocations: 3.75 kB / 381.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.479, allocations: 22.62 kB / 381.9 MB, free: 9.785 MB / 318.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.0001133/0.4791, allocations: 95.97 kB / 382 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.4795, allocations: 126.5 kB / 382.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4795, allocations: 0.5 kB / 382.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.4797, allocations: 70.72 kB / 382.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.4802, allocations: 38.62 kB / 382.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.4809, allocations: 331.6 kB / 382.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.4811, allocations: 0.7131 MB / 383.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.4812, allocations: 11.8 kB / 383.2 MB, free: 8.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.4813, allocations: 15.5 kB / 383.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4813, allocations: 0.5625 kB / 383.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of Templates: time 0.006392/0.4877, allocations: 1.726 MB / 385 MB, free: 8.676 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)