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.001275/0.001276, allocations: 113.8 kB / 17.06 MB, free: 6.004 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.001056/0.001056, allocations: 198.9 kB / 18 MB, free: 5.082 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.812/1.812, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001208/0.001208, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1218, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003101/0.125, allocations: 1.667 MB / 376.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000898/0.1259, allocations: 0.5305 MB / 376.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.126, allocations: 4 kB / 376.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1262, allocations: 15.8 kB / 376.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.1263, allocations: 23.78 kB / 376.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.1264, allocations: 43.95 kB / 376.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1267, allocations: 115.6 kB / 376.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.1269, allocations: 37.09 kB / 376.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.127, allocations: 39.8 kB / 376.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1271, allocations: 51.7 kB / 377 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1272, allocations: 8 kB / 377 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.1272, allocations: 8 kB / 377 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.1272, allocations: 15.88 kB / 377 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.1273, allocations: 47.72 kB / 377.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1275, allocations: 103.5 kB / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1275, allocations: 0 / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1275, allocations: 0 / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1275, allocations: 4 kB / 377.2 MB, free: 1.855 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.0006459/0.1282, allocations: 423 kB / 377.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1282, allocations: 8.031 kB / 377.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1283, allocations: 16.75 kB / 377.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1286, allocations: 212.6 kB / 377.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1286, allocations: 12.38 kB / 377.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1287, allocations: 16.12 kB / 377.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.129, allocations: 128.1 kB / 378 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.129, allocations: 4 kB / 378 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.129, allocations: 4 kB / 378 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.129, allocations: 0 / 378 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1293, allocations: 71.94 kB / 378.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.13, allocations: 0.5437 MB / 378.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.1303, allocations: 134.4 kB / 378.7 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1305, allocations: 64.69 kB / 378.8 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1305, allocations: 0 / 378.8 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1306, allocations: 38.56 kB / 378.8 MB, free: 24 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.061e-06/0.1306, allocations: 0 / 378.8 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.2292/0.3597, allocations: 0.5058 MB / 379.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3598, allocations: 53.53 kB / 379.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3599, allocations: 157.5 kB / 379.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.36, allocations: 30.45 kB / 379.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.36, allocations: 106.8 kB / 379.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.36, allocations: 48.91 kB / 379.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3601, allocations: 32.77 kB / 379.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.3602, allocations: 324.7 kB / 380.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3603, allocations: 49.69 kB / 380.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3605, allocations: 80.33 kB / 380.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.3608, allocations: 140.4 kB / 380.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3608, allocations: 1.531 kB / 380.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003835/0.3612, allocations: 183.3 kB / 380.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3612, allocations: 6.094 kB / 380.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3612, allocations: 7.656 kB / 380.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.3612, allocations: 1.375 kB / 380.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3614, allocations: 38.38 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3614, allocations: 1.5 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.3615, allocations: 18.25 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3615, allocations: 4.375 kB / 380.6 MB, free: 12.28 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.101e-05/0.3616, allocations: 126.4 kB / 380.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.3616, allocations: 13.16 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.3617, allocations: 20.92 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3617, allocations: 1.344 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3617, allocations: 0 / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3617, allocations: 5.75 kB / 380.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.3624, allocations: 0.4892 MB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3624, allocations: 1.375 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3626, allocations: 31 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3626, allocations: 1.375 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3626, allocations: 10.62 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3626, allocations: 1.375 kB / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3626, allocations: 0 / 381.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.3632, allocations: 321.1 kB / 381.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.3633, allocations: 88.77 kB / 381.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3633, allocations: 9.875 kB / 381.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3634, allocations: 11.92 kB / 381.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.3635, allocations: 16.8 kB / 381.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3635, allocations: 2.75 kB / 381.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.656e-05/0.3636, allocations: 114.1 kB / 381.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3636, allocations: 0 / 381.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3638, allocations: 22.36 kB / 381.9 MB, free: 11.5 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 8.95e-05/0.3639, allocations: 102.4 kB / 382 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.3643, allocations: 125.7 kB / 382.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3643, allocations: 0.5938 kB / 382.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3645, allocations: 67.06 kB / 382.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.365, allocations: 46.89 kB / 382.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.3656, allocations: 333.8 kB / 382.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3658, allocations: 0.7081 MB / 383.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.3659, allocations: 12.39 kB / 383.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.3659, allocations: 16.34 kB / 383.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3659, allocations: 0 / 383.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Templates: time 0.004931/0.3709, allocations: 1.782 MB / 385 MB, free: 10.35 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)