Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001506/0.001507, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.523/1.523, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001511/0.001511, allocations: 51.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.299, allocations: 46.63 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002749/0.3018, allocations: 1.629 MB / 326.9 MB, free: 0.543 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.3021, allocations: 74.11 kB / 327 MB, free: 492 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.3022, allocations: 1.094 kB / 327 MB, free: 492 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.045e-05/0.3023, allocations: 9.453 kB / 327 MB, free: 484 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.3023, allocations: 18.47 kB / 327 MB, free: 468 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.3025, allocations: 22.3 kB / 327.1 MB, free: 448 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3026, allocations: 58.8 kB / 327.1 MB, free: 416 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3027, allocations: 25.62 kB / 327.1 MB, free: 400 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.3028, allocations: 25.94 kB / 327.2 MB, free: 388 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.3028, allocations: 24.02 kB / 327.2 MB, free: 372 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3028, allocations: 6.469 kB / 327.2 MB, free: 368 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.3029, allocations: 7.125 kB / 327.2 MB, free: 368 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3029, allocations: 15.92 kB / 327.2 MB, free: 352 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.3029, allocations: 30.52 kB / 327.2 MB, free: 332 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.303, allocations: 67.36 kB / 327.3 MB, free: 284 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.303, allocations: 0 / 327.3 MB, free: 284 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.303, allocations: 4 kB / 327.3 MB, free: 280 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.303, allocations: 0 / 327.3 MB, free: 280 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.0004044/0.3035, allocations: 357.3 kB / 327.7 MB, free: 15.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3035, allocations: 8.25 kB / 327.7 MB, free: 15.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.3035, allocations: 8.719 kB / 327.7 MB, free: 15.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3037, allocations: 181.8 kB / 327.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3037, allocations: 7.75 kB / 327.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3038, allocations: 7.812 kB / 327.9 MB, free: 15.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3039, allocations: 77.92 kB / 327.9 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3039, allocations: 1.625 kB / 327.9 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.304, allocations: 7.938 kB / 328 MB, free: 15.6 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.304, allocations: 1.375 kB / 328 MB, free: 15.6 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.3041, allocations: 35.86 kB / 328 MB, free: 15.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.3047, allocations: 375 kB / 328.4 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.3048, allocations: 59.28 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.3048, allocations: 17.11 kB / 328.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.3049, allocations: 0 / 328.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3049, allocations: 35.75 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3049, allocations: 1.188 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007768/0.3057, allocations: 0.5107 MB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3057, allocations: 52.88 kB / 329 MB, free: 14.53 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.3058, allocations: 131.2 kB / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3058, allocations: 27.11 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.3059, allocations: 94.77 kB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3059, allocations: 30.98 kB / 329.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.306, allocations: 25.72 kB / 329.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3061, allocations: 329.2 kB / 329.7 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.3061, allocations: 17.72 kB / 329.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.3062, allocations: 55.05 kB / 329.7 MB, free: 13.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.3063, allocations: 92.44 kB / 329.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3063, allocations: 1.219 kB / 329.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001633/0.3065, allocations: 108.6 kB / 329.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3065, allocations: 5.688 kB / 329.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3065, allocations: 5.047 kB / 329.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3066, allocations: 2.281 kB / 329.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.3066, allocations: 22.34 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3067, allocations: 6.438 kB / 330 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.3067, allocations: 10.3 kB / 330 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3067, allocations: 3.594 kB / 330 MB, free: 13.66 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 8.737e-05/0.3068, allocations: 126.2 kB / 330.1 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3069, allocations: 7.344 kB / 330.1 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.3069, allocations: 9.625 kB / 330.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3069, allocations: 0.9688 kB / 330.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3069, allocations: 5.031 kB / 330.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3069, allocations: 0 / 330.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.3074, allocations: 413.1 kB / 330.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3074, allocations: 2.25 kB / 330.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.3075, allocations: 22.86 kB / 330.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3075, allocations: 2.281 kB / 330.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3075, allocations: 2.25 kB / 330.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3075, allocations: 6.188 kB / 330.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3075, allocations: 2.219 kB / 330.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3078, allocations: 231.4 kB / 330.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3078, allocations: 88.84 kB / 330.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3078, allocations: 14.77 kB / 330.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.3079, allocations: 1.344 kB / 330.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3079, allocations: 11.84 kB / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3079, allocations: 3.438 kB / 330.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.308, allocations: 91.73 kB / 331 MB, free: 12.67 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.335e-06/0.308, allocations: 0 / 331 MB, free: 12.67 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.3083, allocations: 22.31 kB / 331 MB, free: 12.66 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.0001009/0.3084, allocations: 97.28 kB / 331.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3085, allocations: 70.75 kB / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3085, allocations: 0 / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.3086, allocations: 25.53 kB / 331.2 MB, free: 12.53 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.309, allocations: 13.95 kB / 331.2 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.3096, allocations: 348.8 kB / 331.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3099, allocations: 0.695 MB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.3099, allocations: 5.344 kB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.31, allocations: 12.03 kB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of SimCode: time 1.91e-07/0.31, allocations: 0 / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of Templates: time 0.003007/0.313, allocations: 0.6512 MB / 332.9 MB, free: 11.17 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)