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.001224/0.001224, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001171/0.001171, allocations: 191 kB / 18 MB, free: 5.105 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.714/1.714, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001311/0.001311, allocations: 47.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003774/0.1179, allocations: 1.663 MB / 376.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1191, allocations: 0.5266 MB / 376.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1193, allocations: 4 kB / 376.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1195, allocations: 23.8 kB / 376.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.1196, allocations: 19.8 kB / 376.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1198, allocations: 47.94 kB / 376.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.12, allocations: 115.6 kB / 376.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1202, allocations: 29.11 kB / 376.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.1202, allocations: 39.78 kB / 376.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1203, allocations: 51.72 kB / 377 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1204, allocations: 8 kB / 377 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.1204, allocations: 8 kB / 377 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.1204, allocations: 19.92 kB / 377 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.1205, allocations: 47.67 kB / 377.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1207, allocations: 103.5 kB / 377.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1207, allocations: 0 / 377.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1207, allocations: 0 / 377.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1207, allocations: 0 / 377.2 MB, free: 1.871 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.0006342/0.1213, allocations: 431 kB / 377.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1214, allocations: 8.031 kB / 377.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.1214, allocations: 16.75 kB / 377.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.1218, allocations: 212.6 kB / 377.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1218, allocations: 8.375 kB / 377.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1219, allocations: 16.12 kB / 377.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1222, allocations: 136.1 kB / 378 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1222, allocations: 3.938 kB / 378 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1222, allocations: 4 kB / 378 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1222, allocations: 4 kB / 378 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1224, allocations: 63.94 kB / 378.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.1233, allocations: 0.5515 MB / 378.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1237, allocations: 134.4 kB / 378.7 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1238, allocations: 56.81 kB / 378.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1238, allocations: 4 kB / 378.8 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1239, allocations: 30.56 kB / 378.8 MB, free: 36 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1239, allocations: 3.938 kB / 378.8 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.2584/0.3823, allocations: 0.5046 MB / 379.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3823, allocations: 56.59 kB / 379.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3825, allocations: 157 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3825, allocations: 26.22 kB / 379.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.3825, allocations: 109.8 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3826, allocations: 47.12 kB / 379.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.3826, allocations: 33.09 kB / 379.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.3827, allocations: 321 kB / 380.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3829, allocations: 56.05 kB / 380.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.383, allocations: 79.73 kB / 380.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.3833, allocations: 137.1 kB / 380.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3833, allocations: 1.125 kB / 380.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003789/0.3837, allocations: 183.2 kB / 380.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3838, allocations: 5.5 kB / 380.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3838, allocations: 4.141 kB / 380.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3838, allocations: 3.547 kB / 380.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.384, allocations: 40.83 kB / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.384, allocations: 5.078 kB / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.3841, allocations: 12.23 kB / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3841, allocations: 7.25 kB / 380.6 MB, free: 12.3 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 7.583e-05/0.3842, allocations: 122.1 kB / 380.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.3842, allocations: 16.22 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.3843, allocations: 16.34 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3843, allocations: 2.875 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3843, allocations: 0 / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3843, allocations: 4.969 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.385, allocations: 0.4913 MB / 381.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.385, allocations: 0.8438 kB / 381.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3852, allocations: 36.41 kB / 381.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3852, allocations: 1.375 kB / 381.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3852, allocations: 1.984 kB / 381.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3852, allocations: 4.547 kB / 381.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3852, allocations: 0.5156 kB / 381.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.3857, allocations: 322.5 kB / 381.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.3858, allocations: 90 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.3858, allocations: 2.422 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3859, allocations: 14.66 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.386, allocations: 17.11 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.386, allocations: 7.25 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.575e-05/0.3861, allocations: 110 kB / 381.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3861, allocations: 4 kB / 381.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3864, allocations: 20.59 kB / 381.9 MB, free: 11.51 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.0001023/0.3865, allocations: 101.9 kB / 382 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.387, allocations: 126.2 kB / 382.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.387, allocations: 0.5 kB / 382.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.3872, allocations: 66.7 kB / 382.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3876, allocations: 45.5 kB / 382.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.3884, allocations: 331.8 kB / 382.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3885, allocations: 0.7126 MB / 383.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.3886, allocations: 16.08 kB / 383.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.3886, allocations: 19.28 kB / 383.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3887, allocations: 0 / 383.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Templates: time 0.005025/0.3937, allocations: 1.718 MB / 385 MB, free: 10.4 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)