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.001332/0.001332, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0016/0.0016, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004729/0.000473, allocations: 15.12 kB / 278.9 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3047, allocations: 47.59 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001674/0.3064, allocations: 1.344 MB / 327.8 MB, free: 352 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.3072, allocations: 0.4928 MB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.3073, allocations: 1.281 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.3073, allocations: 9.234 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3074, allocations: 22.66 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.3076, allocations: 35.95 kB / 328.3 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3078, allocations: 82.81 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.308, allocations: 22.95 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.308, allocations: 38.97 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3082, allocations: 38.25 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3082, allocations: 3.375 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.3082, allocations: 4.344 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.3082, allocations: 18.16 kB / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.3083, allocations: 40.33 kB / 328.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.3084, allocations: 59.28 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3085, allocations: 1.406 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3085, allocations: 0 / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3085, allocations: 0 / 328.7 MB, free: 15.68 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.0007224/0.3092, allocations: 425.4 kB / 329.1 MB, free: 15.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3093, allocations: 8.281 kB / 329.1 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3093, allocations: 14.84 kB / 329.1 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.3096, allocations: 205 kB / 329.3 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3096, allocations: 11.2 kB / 329.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.3097, allocations: 17.5 kB / 329.3 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.31, allocations: 131 kB / 329.4 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.31, allocations: 3.906 kB / 329.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.31, allocations: 9.344 kB / 329.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.31, allocations: 6.062 kB / 329.5 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3103, allocations: 81.34 kB / 329.5 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.3111, allocations: 0.549 MB / 330.1 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.3115, allocations: 152.2 kB / 330.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3116, allocations: 5.578 kB / 330.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3116, allocations: 35.66 kB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3116, allocations: 0 / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001322/0.3129, allocations: 0.5624 MB / 330.8 MB, free: 13.81 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.313, allocations: 56.41 kB / 330.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3132, allocations: 149 kB / 331 MB, free: 13.61 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3132, allocations: 26.7 kB / 331.1 MB, free: 13.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.3133, allocations: 109.2 kB / 331.2 MB, free: 13.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3133, allocations: 48.55 kB / 331.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.3133, allocations: 1.125 kB / 331.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3135, allocations: 329.1 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3136, allocations: 57.67 kB / 331.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3138, allocations: 93.45 kB / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.314, allocations: 63.91 kB / 331.8 MB, free: 13 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.314, allocations: 1.062 kB / 331.8 MB, free: 13 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004484/0.3145, allocations: 202.7 kB / 332 MB, free: 12.89 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3145, allocations: 5.438 kB / 332 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3145, allocations: 1.156 kB / 332 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3146, allocations: 2.125 kB / 332 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3148, allocations: 45.22 kB / 332 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3148, allocations: 2 kB / 332 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.3149, allocations: 21.33 kB / 332 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3149, allocations: 2.938 kB / 332 MB, free: 12.88 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.315, allocations: 127.5 kB / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3151, allocations: 12.8 kB / 332.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.3151, allocations: 20.25 kB / 332.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3151, allocations: 5.125 kB / 332.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3151, allocations: 0 / 332.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3151, allocations: 4.922 kB / 332.2 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.316, allocations: 0.5245 MB / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.316, allocations: 1.5 kB / 332.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3162, allocations: 44.97 kB / 332.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3162, allocations: 1.5 kB / 332.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3162, allocations: 5.375 kB / 332.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3162, allocations: 1.438 kB / 332.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3162, allocations: 5.375 kB / 332.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.3169, allocations: 367.8 kB / 333.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.3169, allocations: 88.77 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.317, allocations: 2.219 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3171, allocations: 24.25 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.3171, allocations: 16.28 kB / 333.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/0.3172, allocations: 3.188 kB / 333.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.3173, allocations: 122.8 kB / 333.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3173, allocations: 1 kB / 333.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3175, allocations: 20.44 kB / 333.4 MB, free: 11.75 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001172/0.3177, allocations: 93.22 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.3181, allocations: 148.3 kB / 333.7 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3181, allocations: 3.938 kB / 333.7 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3183, allocations: 73.5 kB / 333.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3187, allocations: 39.55 kB / 333.8 MB, free: 11.55 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/0.3196, allocations: 379.8 kB / 334.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.32, allocations: 0.7113 MB / 334.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.32, allocations: 16.7 kB / 334.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3201, allocations: 19.34 kB / 334.9 MB, free: 10.52 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3201, allocations: 4 kB / 334.9 MB, free: 10.52 MB / 270.1 MB Notification: Performance of Templates: time 0.004314/0.3244, allocations: 1.439 MB / 336.3 MB, free: 9.137 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.SlewRateLimiter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: