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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001162/0.001161, allocations: 195 kB / 16.14 MB, free: 6.707 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.306/1.306, allocations: 205.1 MB / 222 MB, free: 4.777 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.001042/0.001042, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.204, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00243/0.2065, allocations: 1.723 MB / 326.4 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006675/0.2072, allocations: 0.5196 MB / 326.9 MB, free: 148 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.2073, allocations: 1.75 kB / 326.9 MB, free: 148 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2074, allocations: 7.922 kB / 326.9 MB, free: 140 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.2075, allocations: 38.72 kB / 327 MB, free: 104 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.2076, allocations: 36.98 kB / 327 MB, free: 76 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.2078, allocations: 107.7 kB / 327.1 MB, free: 12 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2079, allocations: 27.14 kB / 327.1 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.208, allocations: 38.61 kB / 327.2 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.2081, allocations: 55.2 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2081, allocations: 2.625 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.2081, allocations: 11.16 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.2082, allocations: 19.41 kB / 327.2 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.2082, allocations: 38.41 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2083, allocations: 90.91 kB / 327.4 MB, free: 15.81 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2084, allocations: 0 / 327.4 MB, free: 15.81 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2084, allocations: 0 / 327.4 MB, free: 15.81 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.2084, allocations: 0 / 327.4 MB, free: 15.81 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.0005818/0.209, allocations: 430.6 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.209, allocations: 8.906 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.2091, allocations: 14.47 kB / 327.8 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.2093, allocations: 212.4 kB / 328 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2093, allocations: 5.219 kB / 328 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2093, allocations: 14.16 kB / 328 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2096, allocations: 130.2 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2097, allocations: 5.062 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2097, allocations: 0.9375 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2097, allocations: 2.25 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.2099, allocations: 70.44 kB / 328.2 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.2106, allocations: 0.5527 MB / 328.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.211, allocations: 127.5 kB / 328.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2111, allocations: 54.94 kB / 329 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2111, allocations: 5.562 kB / 329 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2112, allocations: 35.97 kB / 329 MB, free: 14.31 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2112, allocations: 0 / 329 MB, free: 14.31 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001059/0.2122, allocations: 0.5183 MB / 329.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2123, allocations: 52.66 kB / 329.6 MB, free: 13.85 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2124, allocations: 148.9 kB / 329.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2124, allocations: 26.86 kB / 329.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.2125, allocations: 109.6 kB / 329.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.2126, allocations: 44.55 kB / 329.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.2126, allocations: 36.27 kB / 329.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2128, allocations: 325.5 kB / 330.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2129, allocations: 48.42 kB / 330.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2131, allocations: 86.14 kB / 330.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.2134, allocations: 133.2 kB / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2134, allocations: 0 / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003468/0.2137, allocations: 173.4 kB / 330.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2138, allocations: 5.344 kB / 330.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2138, allocations: 9.344 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2138, allocations: 2.062 kB / 330.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.214, allocations: 40.56 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.214, allocations: 1.156 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.2141, allocations: 12.42 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2141, allocations: 11.28 kB / 330.8 MB, free: 12.9 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.351e-05/0.2142, allocations: 119.7 kB / 330.9 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.2142, allocations: 16.44 kB / 330.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.2143, allocations: 23.95 kB / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.2143, allocations: 1.5 kB / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2143, allocations: 0 / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2143, allocations: 5.141 kB / 330.9 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.215, allocations: 0.4901 MB / 331.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.215, allocations: 1.156 kB / 331.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.2152, allocations: 36.47 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2152, allocations: 2.25 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2152, allocations: 2.344 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2152, allocations: 5.25 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2153, allocations: 1.25 kB / 331.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.2158, allocations: 324.1 kB / 331.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.2159, allocations: 88.55 kB / 331.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2159, allocations: 2.156 kB / 331.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.216, allocations: 19.84 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.2161, allocations: 13.44 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.2161, allocations: 2.312 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.2162, allocations: 112.7 kB / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2162, allocations: 0 / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2164, allocations: 24.47 kB / 332.1 MB, free: 11.83 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.0001368/0.2166, allocations: 105.8 kB / 332.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.2169, allocations: 126.4 kB / 332.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.217, allocations: 0 / 332.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.2171, allocations: 67.77 kB / 332.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.2176, allocations: 41.02 kB / 332.4 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.2182, allocations: 370.7 kB / 332.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2184, allocations: 0.7138 MB / 333.5 MB, free: 10.62 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.2185, allocations: 12.98 kB / 333.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.2186, allocations: 14.88 kB / 333.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2186, allocations: 0 / 333.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of Templates: time 0.003771/0.2223, allocations: 1.525 MB / 335 MB, free: 9.316 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)