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.0009286/0.0009288, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001182/0.001182, allocations: 184.2 kB / 17.57 MB, free: 6.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.641/1.641, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.000448/0.0004481, allocations: 12.41 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09788, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002171/0.1001, allocations: 1.382 MB / 329.7 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.1011, allocations: 0.5115 MB / 330.2 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.1012, allocations: 0 / 330.2 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1014, allocations: 11.86 kB / 330.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.1014, allocations: 19.86 kB / 330.2 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.1016, allocations: 39.95 kB / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1018, allocations: 107.6 kB / 330.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.102, allocations: 32.89 kB / 330.4 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.102, allocations: 35.78 kB / 330.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.1021, allocations: 43.72 kB / 330.5 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1022, allocations: 4 kB / 330.5 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.1022, allocations: 4 kB / 330.5 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.1022, allocations: 15.86 kB / 330.5 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1023, allocations: 65.44 kB / 330.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1024, allocations: 91.78 kB / 330.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1024, allocations: 4 kB / 330.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1025, allocations: 0 / 330.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1025, allocations: 0 / 330.7 MB, free: 1.379 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.0005905/0.1031, allocations: 419 kB / 331.1 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1031, allocations: 8.031 kB / 331.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1032, allocations: 16.84 kB / 331.1 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1034, allocations: 212.6 kB / 331.3 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1034, allocations: 4.375 kB / 331.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.1035, allocations: 16.12 kB / 331.3 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1038, allocations: 132.2 kB / 331.5 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1038, allocations: 7.906 kB / 331.5 MB, free: 492 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1038, allocations: 4 kB / 331.5 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1038, allocations: 0 / 331.5 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.104, allocations: 87.88 kB / 331.6 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.1047, allocations: 0.5516 MB / 332.1 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1051, allocations: 154.4 kB / 332.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1053, allocations: 68.83 kB / 332.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1053, allocations: 3.984 kB / 332.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1053, allocations: 34.55 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1053, allocations: 0 / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001147/0.1065, allocations: 0.5682 MB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1065, allocations: 55.41 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1067, allocations: 154.2 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1067, allocations: 29.7 kB / 333.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.1068, allocations: 111.9 kB / 333.3 MB, free: 14.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1068, allocations: 47.34 kB / 333.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1069, allocations: 17.72 kB / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.107, allocations: 322.8 kB / 333.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1072, allocations: 67.95 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1073, allocations: 87.39 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.1077, allocations: 155.3 kB / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1077, allocations: 0 / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003973/0.1081, allocations: 201.3 kB / 334.2 MB, free: 13.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1081, allocations: 12.09 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1081, allocations: 3.938 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1082, allocations: 0 / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1083, allocations: 43.97 kB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1083, allocations: 0 / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.1084, allocations: 23.98 kB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1084, allocations: 8 kB / 334.3 MB, free: 13.49 MB / 286.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.212e-05/0.1085, allocations: 125.8 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1086, allocations: 7.906 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.1086, allocations: 24.64 kB / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1086, allocations: 0 / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1086, allocations: 0 / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1086, allocations: 0 / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.1094, allocations: 0.5203 MB / 334.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1095, allocations: 3.938 kB / 334.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1096, allocations: 43.97 kB / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1096, allocations: 4 kB / 335 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1097, allocations: 4.094 kB / 335 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1097, allocations: 3.938 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1097, allocations: 4 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.1102, allocations: 341 kB / 335.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1103, allocations: 96.95 kB / 335.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1103, allocations: 0 / 335.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1104, allocations: 19.98 kB / 335.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1105, allocations: 15.92 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1105, allocations: 4 kB / 335.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.1106, allocations: 119.9 kB / 335.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1106, allocations: 0 / 335.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1108, allocations: 27.94 kB / 335.6 MB, free: 12.03 MB / 286.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 9.464e-05/0.1109, allocations: 103.1 kB / 335.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1113, allocations: 140 kB / 335.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1114, allocations: 4.062 kB / 335.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1115, allocations: 83.83 kB / 335.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.112, allocations: 40.05 kB / 336 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/0.1126, allocations: 381.8 kB / 336.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.113, allocations: 0.7126 MB / 337 MB, free: 10.51 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.113, allocations: 13.42 kB / 337.1 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1131, allocations: 15.44 kB / 337.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1131, allocations: 3.938 kB / 337.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of Templates: time 0.003771/0.1168, allocations: 1.509 MB / 338.6 MB, free: 8.98 MB / 286.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)