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.00113/0.001131, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001169/0.001169, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.516/1.516, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001173/0.001173, allocations: 51.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09773, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003192/0.101, allocations: 1.729 MB / 327.9 MB, free: 3.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.102, allocations: 0.5075 MB / 328.4 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1021, allocations: 7.938 kB / 328.4 MB, free: 2.535 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1023, allocations: 11.92 kB / 328.4 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1025, allocations: 23.84 kB / 328.4 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1027, allocations: 39.91 kB / 328.4 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1029, allocations: 115.6 kB / 328.6 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.103, allocations: 24.88 kB / 328.6 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.1031, allocations: 47.73 kB / 328.6 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1032, allocations: 51.77 kB / 328.7 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1032, allocations: 4 kB / 328.7 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.1033, allocations: 8 kB / 328.7 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.1033, allocations: 27.8 kB / 328.7 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.1034, allocations: 47.73 kB / 328.8 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1036, allocations: 91.84 kB / 328.9 MB, free: 2.051 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1036, allocations: 0 / 328.9 MB, free: 2.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1036, allocations: 0 / 328.9 MB, free: 2.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1036, allocations: 0 / 328.9 MB, free: 2.051 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.0006885/0.1043, allocations: 427 kB / 329.3 MB, free: 1.586 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.1044, allocations: 12.03 kB / 329.3 MB, free: 1.574 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.1044, allocations: 12.75 kB / 329.3 MB, free: 1.562 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1047, allocations: 212.6 kB / 329.5 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1047, allocations: 8.375 kB / 329.5 MB, free: 1.309 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1048, allocations: 16.06 kB / 329.5 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1051, allocations: 136.1 kB / 329.7 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1051, allocations: 0 / 329.7 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1051, allocations: 4 kB / 329.7 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1051, allocations: 0 / 329.7 MB, free: 1.141 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.1054, allocations: 71.84 kB / 329.7 MB, free: 1.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1064, allocations: 0.5515 MB / 330.3 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.1068, allocations: 134.5 kB / 330.4 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.107, allocations: 48.83 kB / 330.5 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.107, allocations: 0 / 330.5 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.107, allocations: 38.56 kB / 330.5 MB, free: 228 kB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.107, allocations: 192 / 330.5 MB, free: 228 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001321/0.1084, allocations: 0.5173 MB / 331 MB, free: 15.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1084, allocations: 55.41 kB / 331.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.1086, allocations: 150.3 kB / 331.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1087, allocations: 29.69 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.1088, allocations: 115.9 kB / 331.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1088, allocations: 43.3 kB / 331.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.1089, allocations: 29.7 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1091, allocations: 326.8 kB / 331.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1092, allocations: 51.95 kB / 331.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1094, allocations: 83.39 kB / 331.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1097, allocations: 136.2 kB / 332 MB, free: 14.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1097, allocations: 0 / 332 MB, free: 14.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000364/0.1101, allocations: 185.4 kB / 332.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1101, allocations: 11.12 kB / 332.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1101, allocations: 3.938 kB / 332.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1101, allocations: 0 / 332.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1103, allocations: 43.91 kB / 332.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1103, allocations: 4 kB / 332.3 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.1104, allocations: 11.98 kB / 332.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1104, allocations: 8 kB / 332.3 MB, free: 14.31 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 0.0001216/0.1106, allocations: 125.8 kB / 332.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1106, allocations: 11.91 kB / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1106, allocations: 12.66 kB / 332.4 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1107, allocations: 11.92 kB / 332.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1107, allocations: 0 / 332.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1107, allocations: 0 / 332.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.1114, allocations: 0.4958 MB / 332.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1114, allocations: 0 / 332.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1116, allocations: 35.97 kB / 333 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1116, allocations: 0 / 333 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1116, allocations: 8.062 kB / 333 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1116, allocations: 0 / 333 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1116, allocations: 0 / 333 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.1122, allocations: 316.9 kB / 333.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1123, allocations: 88.92 kB / 333.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1123, allocations: 4.047 kB / 333.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1125, allocations: 19.92 kB / 333.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.1125, allocations: 7.984 kB / 333.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1125, allocations: 11.98 kB / 333.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.1126, allocations: 108.1 kB / 333.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1126, allocations: 4 kB / 333.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1129, allocations: 20 kB / 333.5 MB, free: 12.93 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 0.0001438/0.113, allocations: 115.1 kB / 333.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1134, allocations: 123.9 kB / 333.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1134, allocations: 4.188 kB / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1136, allocations: 67.89 kB / 333.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.1141, allocations: 44.14 kB / 333.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.1149, allocations: 352.9 kB / 334.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1152, allocations: 0.7123 MB / 335 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.1153, allocations: 17.42 kB / 335 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.1153, allocations: 15.44 kB / 335 MB, free: 11.43 MB / 286.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1154, allocations: 0 / 335 MB, free: 11.43 MB / 286.1 MB Notification: Performance of Templates: time 0.004675/0.12, allocations: 1.597 MB / 336.6 MB, free: 9.836 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)