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.001198/0.001198, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001788/0.001788, allocations: 168.7 kB / 15.95 MB, free: 204 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.864/1.864, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004838/0.000484, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3096, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002928/0.3126, allocations: 1.345 MB / 327.8 MB, free: 336 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3139, allocations: 0.4899 MB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.314, allocations: 6.312 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.3141, allocations: 11.92 kB / 328.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.3142, allocations: 10.28 kB / 328.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3145, allocations: 49.25 kB / 328.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.3147, allocations: 98.77 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.3149, allocations: 27.69 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.315, allocations: 35.59 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3151, allocations: 38.56 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.3151, allocations: 3.906 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.3152, allocations: 4.062 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.3152, allocations: 22.8 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3153, allocations: 43.23 kB / 328.7 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3154, allocations: 57.47 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.3154, allocations: 0 / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3154, allocations: 0 / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3155, allocations: 0 / 328.7 MB, free: 15.65 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.0008318/0.3163, allocations: 424 kB / 329.1 MB, free: 15.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3164, allocations: 6.594 kB / 329.1 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3164, allocations: 14.41 kB / 329.1 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.3169, allocations: 210 kB / 329.4 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.3169, allocations: 12.2 kB / 329.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.317, allocations: 10.03 kB / 329.4 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.3176, allocations: 136.3 kB / 329.5 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3176, allocations: 3.906 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3177, allocations: 5 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3177, allocations: 2.219 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.3181, allocations: 85.66 kB / 329.6 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.3194, allocations: 0.5522 MB / 330.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.3199, allocations: 152.3 kB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3202, allocations: 77.08 kB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3202, allocations: 0 / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.3203, allocations: 32.03 kB / 330.4 MB, free: 14.15 MB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3203, allocations: 0 / 330.4 MB, free: 14.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001936/0.3222, allocations: 0.5629 MB / 331 MB, free: 13.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3223, allocations: 53.31 kB / 331 MB, free: 13.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.3226, allocations: 144.6 kB / 331.2 MB, free: 13.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.3227, allocations: 30.73 kB / 331.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3228, allocations: 109.1 kB / 331.3 MB, free: 13.42 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.3229, allocations: 44.61 kB / 331.3 MB, free: 13.38 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.3229, allocations: 9.125 kB / 331.4 MB, free: 13.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.3231, allocations: 321.1 kB / 331.7 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.3234, allocations: 61.7 kB / 331.7 MB, free: 13.03 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.3238, allocations: 90.08 kB / 331.8 MB, free: 12.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.3241, allocations: 72.56 kB / 331.9 MB, free: 12.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3241, allocations: 0 / 331.9 MB, free: 12.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007731/0.3249, allocations: 203.1 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.3249, allocations: 5.781 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.325, allocations: 1.406 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.325, allocations: 1.438 kB / 332.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.3253, allocations: 49.31 kB / 332.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.3254, allocations: 1.469 kB / 332.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3255, allocations: 20.58 kB / 332.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3256, allocations: 8.281 kB / 332.2 MB, free: 12.8 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.0001943/0.3258, allocations: 127.6 kB / 332.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.3259, allocations: 12.95 kB / 332.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.3259, allocations: 15.14 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.326, allocations: 1.219 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.326, allocations: 1.375 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.326, allocations: 0 / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.3275, allocations: 0.5284 MB / 332.9 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3275, allocations: 1.219 kB / 332.9 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3277, allocations: 40.97 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.3278, allocations: 1.062 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3278, allocations: 5.969 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3278, allocations: 2 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3278, allocations: 1.156 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/0.3288, allocations: 355.7 kB / 333.3 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/0.3289, allocations: 89.23 kB / 333.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3289, allocations: 5.062 kB / 333.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3291, allocations: 20.73 kB / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.3292, allocations: 9.453 kB / 333.4 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3292, allocations: 7.25 kB / 333.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3294, allocations: 118.9 kB / 333.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3294, allocations: 0 / 333.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004763/0.3299, allocations: 20.16 kB / 333.5 MB, free: 11.72 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.000192/0.3301, allocations: 100.6 kB / 333.6 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005769/0.3307, allocations: 141.4 kB / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3307, allocations: 0 / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.3309, allocations: 77.23 kB / 333.8 MB, free: 11.55 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.3317, allocations: 44.59 kB / 333.9 MB, free: 11.53 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3328, allocations: 379.7 kB / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.3335, allocations: 0.7105 MB / 335 MB, free: 10.52 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3336, allocations: 13.61 kB / 335 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.3337, allocations: 14.75 kB / 335 MB, free: 10.5 MB / 270.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3337, allocations: 3.938 kB / 335 MB, free: 10.5 MB / 270.1 MB Notification: Performance of Templates: time 0.007425/0.3411, allocations: 1.454 MB / 336.4 MB, free: 9.051 MB / 270.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)