Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009242, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008071/0.008071, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.584/1.584, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004779/0.0004782, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3006, allocations: 47.59 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001703/0.3024, allocations: 1.35 MB / 328.4 MB, free: 372 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.3026, allocations: 60.86 kB / 328.4 MB, free: 320 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.3027, allocations: 7.594 kB / 328.4 MB, free: 316 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.133e-05/0.3028, allocations: 7.922 kB / 328.5 MB, free: 308 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.3028, allocations: 23.34 kB / 328.5 MB, free: 288 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.303, allocations: 11.59 kB / 328.5 MB, free: 280 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3031, allocations: 60.41 kB / 328.5 MB, free: 244 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3032, allocations: 19.77 kB / 328.6 MB, free: 232 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.3032, allocations: 23.42 kB / 328.6 MB, free: 220 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.3033, allocations: 24.7 kB / 328.6 MB, free: 204 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3033, allocations: 0 / 328.6 MB, free: 204 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.3034, allocations: 3.125 kB / 328.6 MB, free: 204 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.3034, allocations: 14.19 kB / 328.6 MB, free: 192 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.3034, allocations: 51.12 kB / 328.7 MB, free: 144 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.3035, allocations: 64.69 kB / 328.7 MB, free: 96 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3036, allocations: 0.9688 kB / 328.7 MB, free: 96 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3036, allocations: 0 / 328.7 MB, free: 96 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3036, allocations: 0 / 328.7 MB, free: 96 kB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004472/0.304, allocations: 349.7 kB / 329.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3041, allocations: 13.72 kB / 329.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.3041, allocations: 15.53 kB / 329.1 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.3043, allocations: 178.7 kB / 329.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3043, allocations: 6.75 kB / 329.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3044, allocations: 8.609 kB / 329.3 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3045, allocations: 65.44 kB / 329.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3046, allocations: 9.141 kB / 329.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3046, allocations: 5.031 kB / 329.4 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3046, allocations: 1.219 kB / 329.4 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.3047, allocations: 34.95 kB / 329.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.3054, allocations: 380 kB / 329.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3055, allocations: 59.03 kB / 329.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.3055, allocations: 16.55 kB / 329.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.3056, allocations: 1.062 kB / 329.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3056, allocations: 35.72 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3056, allocations: 4 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007666/0.3064, allocations: 0.509 MB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3064, allocations: 51.41 kB / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.3065, allocations: 124.5 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3066, allocations: 25.7 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.3066, allocations: 95.3 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.3067, allocations: 35.14 kB / 330.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3067, allocations: 17.47 kB / 330.7 MB, free: 14.06 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3068, allocations: 320.8 kB / 331.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.5e-05/0.3069, allocations: 14.59 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.3069, allocations: 62.39 kB / 331.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3071, allocations: 100.4 kB / 331.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3071, allocations: 1.156 kB / 331.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001583/0.3072, allocations: 112.6 kB / 331.3 MB, free: 13.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3073, allocations: 5.531 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3073, allocations: 2.281 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3073, allocations: 6.281 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.3074, allocations: 25.95 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3074, allocations: 6.156 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.3075, allocations: 2.094 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3075, allocations: 4.406 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.00011/0.3076, allocations: 125.5 kB / 331.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3076, allocations: 3.375 kB / 331.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3076, allocations: 10.66 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3077, allocations: 5.094 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3077, allocations: 3.938 kB / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3077, allocations: 0 / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.3082, allocations: 413.4 kB / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3082, allocations: 2.375 kB / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3083, allocations: 22.92 kB / 332 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.3083, allocations: 2.5 kB / 332 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3083, allocations: 2.844 kB / 332 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.3083, allocations: 9.125 kB / 332 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3083, allocations: 1.531 kB / 332 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3087, allocations: 231.9 kB / 332.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.3087, allocations: 88.14 kB / 332.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3088, allocations: 2.062 kB / 332.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.3088, allocations: 2.062 kB / 332.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.3089, allocations: 11.3 kB / 332.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3089, allocations: 4.25 kB / 332.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.3089, allocations: 95.55 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.309, allocations: 1.312 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3092, allocations: 17.09 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.00013/0.3094, allocations: 97.62 kB / 332.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3095, allocations: 61.7 kB / 332.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.3095, allocations: 4.969 kB / 332.6 MB, free: 12.37 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.94e-05/0.3096, allocations: 36.64 kB / 332.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.31, allocations: 12 kB / 332.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.3107, allocations: 406.5 kB / 333 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3111, allocations: 0.6924 MB / 333.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.3111, allocations: 7.922 kB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3112, allocations: 16.72 kB / 333.8 MB, free: 11.26 MB / 270.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3112, allocations: 0 / 333.8 MB, free: 11.26 MB / 270.1 MB Notification: Performance of Templates: time 0.003128/0.3143, allocations: 0.6077 MB / 334.4 MB, free: 10.96 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)