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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001284/0.001284, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.553/1.553, allocations: 205.1 MB / 222 MB, free: 4.98 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.001819/0.00182, allocations: 55.91 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2751, allocations: 46.63 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002923/0.278, allocations: 1.675 MB / 326.3 MB, free: 0.6367 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.2783, allocations: 70.62 kB / 326.4 MB, free: 0.5781 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.209e-05/0.2784, allocations: 8.906 kB / 326.4 MB, free: 0.5703 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2785, allocations: 8.922 kB / 326.4 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.2785, allocations: 13.91 kB / 326.4 MB, free: 0.5508 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.2787, allocations: 11 kB / 326.5 MB, free: 0.543 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2788, allocations: 62.67 kB / 326.5 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2789, allocations: 23.72 kB / 326.5 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.279, allocations: 18.56 kB / 326.6 MB, free: 496 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.279, allocations: 32.39 kB / 326.6 MB, free: 472 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.279, allocations: 2.75 kB / 326.6 MB, free: 472 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.2791, allocations: 3.812 kB / 326.6 MB, free: 472 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.2791, allocations: 9.469 kB / 326.6 MB, free: 464 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.2791, allocations: 35.33 kB / 326.6 MB, free: 440 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.2792, allocations: 61.55 kB / 326.7 MB, free: 396 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2792, allocations: 3.984 kB / 326.7 MB, free: 392 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2793, allocations: 0 / 326.7 MB, free: 392 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2793, allocations: 3.938 kB / 326.7 MB, free: 388 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.0004219/0.2797, allocations: 361.8 kB / 327.1 MB, free: 16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2797, allocations: 9.5 kB / 327.1 MB, free: 16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.2798, allocations: 7.75 kB / 327.1 MB, free: 15.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.28, allocations: 177.6 kB / 327.3 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.28, allocations: 8.094 kB / 327.3 MB, free: 15.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.28, allocations: 8.375 kB / 327.3 MB, free: 15.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2802, allocations: 69.17 kB / 327.3 MB, free: 15.72 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2802, allocations: 5.562 kB / 327.3 MB, free: 15.72 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2802, allocations: 7.938 kB / 327.4 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2802, allocations: 2.5 kB / 327.4 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.2803, allocations: 38.91 kB / 327.4 MB, free: 15.69 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.2809, allocations: 367.9 kB / 327.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.2811, allocations: 62.67 kB / 327.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.2811, allocations: 32.72 kB / 327.8 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.2811, allocations: 0 / 327.8 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2812, allocations: 31.97 kB / 327.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.2812, allocations: 0 / 327.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007063/0.2819, allocations: 0.5079 MB / 328.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2819, allocations: 58.66 kB / 328.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.282, allocations: 118.9 kB / 328.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.282, allocations: 25.7 kB / 328.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.2821, allocations: 103.5 kB / 328.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2821, allocations: 31.06 kB / 328.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2822, allocations: 24.95 kB / 328.7 MB, free: 14.33 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2823, allocations: 322.6 kB / 329.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.2823, allocations: 22.39 kB / 329.1 MB, free: 14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.2824, allocations: 64.58 kB / 329.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2825, allocations: 84.02 kB / 329.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2825, allocations: 5.125 kB / 329.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001563/0.2827, allocations: 112.5 kB / 329.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2827, allocations: 5.875 kB / 329.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2827, allocations: 1.156 kB / 329.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2827, allocations: 2.594 kB / 329.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.2828, allocations: 26.64 kB / 329.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2828, allocations: 6.375 kB / 329.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.2829, allocations: 1.344 kB / 329.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2829, allocations: 4.219 kB / 329.4 MB, free: 13.77 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.815e-05/0.283, allocations: 126 kB / 329.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.283, allocations: 7.469 kB / 329.5 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.2831, allocations: 10.34 kB / 329.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2831, allocations: 4.891 kB / 329.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2831, allocations: 7.875 kB / 329.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2831, allocations: 1.312 kB / 329.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.2836, allocations: 408.4 kB / 329.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2836, allocations: 2.469 kB / 329.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.2837, allocations: 15.44 kB / 330 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.2837, allocations: 6.344 kB / 330 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2837, allocations: 1.281 kB / 330 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2837, allocations: 2.375 kB / 330 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2837, allocations: 3.031 kB / 330 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2839, allocations: 234.3 kB / 330.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.284, allocations: 87.91 kB / 330.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.284, allocations: 3.031 kB / 330.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.2841, allocations: 5.406 kB / 330.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.2841, allocations: 11.89 kB / 330.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.2841, allocations: 3.75 kB / 330.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.2842, allocations: 92.72 kB / 330.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2842, allocations: 0 / 330.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.2844, allocations: 17.47 kB / 330.4 MB, free: 12.78 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.0001035/0.2845, allocations: 102 kB / 330.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.2847, allocations: 69.39 kB / 330.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2847, allocations: 0 / 330.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.2847, allocations: 33.55 kB / 330.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2851, allocations: 11.19 kB / 330.6 MB, free: 12.62 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.2857, allocations: 362.8 kB / 331 MB, free: 12.3 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.286, allocations: 0.6964 MB / 331.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.286, allocations: 8.734 kB / 331.7 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.2861, allocations: 11.69 kB / 331.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2861, allocations: 0 / 331.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of Templates: time 0.00269/0.2888, allocations: 0.6284 MB / 332.3 MB, free: 11.26 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)