Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.007375/0.007375, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001626/0.001626, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001194/0.001194, allocations: 53.86 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 46.61 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002886/0.1089, allocations: 1.672 MB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000947/0.1098, allocations: 0.5267 MB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.11, allocations: 3.938 kB / 375.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1101, allocations: 15.86 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.1102, allocations: 27.72 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1104, allocations: 39.95 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1107, allocations: 115.6 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.1108, allocations: 41.02 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.1109, allocations: 39.73 kB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.111, allocations: 47.72 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1111, allocations: 4 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.1111, allocations: 8 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.1111, allocations: 23.92 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.1112, allocations: 51.66 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1114, allocations: 95.45 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1114, allocations: 3.984 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1114, allocations: 4 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1114, allocations: 4 kB / 375.9 MB, free: 14.59 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.000655/0.1121, allocations: 426.9 kB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1121, allocations: 8.031 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.1122, allocations: 12.89 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1125, allocations: 220.6 kB / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1125, allocations: 12.38 kB / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1125, allocations: 16.12 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1128, allocations: 124.1 kB / 376.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1128, allocations: 0 / 376.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1129, allocations: 8 kB / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1129, allocations: 0 / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1131, allocations: 75.88 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.1138, allocations: 0.5399 MB / 377.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.1142, allocations: 130.4 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1143, allocations: 60.81 kB / 377.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1143, allocations: 0 / 377.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1144, allocations: 38.56 kB / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1144, allocations: 0 / 377.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001171/0.1156, allocations: 0.5136 MB / 378 MB, free: 12.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1156, allocations: 51.41 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1158, allocations: 161.9 kB / 378.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1158, allocations: 29.7 kB / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1159, allocations: 112 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1159, allocations: 43.64 kB / 378.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.116, allocations: 33.67 kB / 378.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1161, allocations: 322.8 kB / 378.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1162, allocations: 51.95 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1164, allocations: 80.48 kB / 378.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1167, allocations: 139.3 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1167, allocations: 0.9375 kB / 379 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000371/0.117, allocations: 173.5 kB / 379.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1171, allocations: 8.312 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.1171, allocations: 3.938 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1171, allocations: 0 / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1173, allocations: 43.97 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1173, allocations: 0 / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.1174, allocations: 16.08 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1174, allocations: 4 kB / 379.3 MB, free: 10.88 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 0.0001115/0.1175, allocations: 125.7 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1176, allocations: 19.84 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1176, allocations: 20.64 kB / 379.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1176, allocations: 4 kB / 379.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1176, allocations: 3.938 kB / 379.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1177, allocations: 4 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.1184, allocations: 0.492 MB / 379.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1184, allocations: 4 kB / 379.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1186, allocations: 39.97 kB / 380 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1186, allocations: 3.984 kB / 380 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1186, allocations: 8 kB / 380 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1186, allocations: 0 / 380 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1186, allocations: 0 / 380 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.1192, allocations: 309 kB / 380.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1192, allocations: 97.05 kB / 380.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1193, allocations: 4 kB / 380.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1194, allocations: 11.98 kB / 380.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.1194, allocations: 19.86 kB / 380.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1195, allocations: 8 kB / 380.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.1195, allocations: 115.2 kB / 380.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1195, allocations: 0 / 380.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1198, allocations: 20 kB / 380.6 MB, free: 9.469 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 9.899e-05/0.1199, allocations: 95.19 kB / 380.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1202, allocations: 131.9 kB / 380.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1203, allocations: 0 / 380.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.1204, allocations: 63.89 kB / 380.9 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1208, allocations: 48.05 kB / 380.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.1215, allocations: 332.3 kB / 381.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1217, allocations: 0.7045 MB / 381.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1218, allocations: 21.36 kB / 382 MB, free: 8.016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.1218, allocations: 15.44 kB / 382 MB, free: 8 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1218, allocations: 0 / 382 MB, free: 8 MB / 318.1 MB Notification: Performance of Templates: time 0.004348/0.1262, allocations: 1.735 MB / 383.7 MB, free: 6.266 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)