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.001172/0.001172, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001298/0.001298, allocations: 195 kB / 16.25 MB, free: 6.625 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.519/1.519, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001314/0.001314, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 46.64 MB / 324.8 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002979/0.2747, allocations: 1.68 MB / 326.5 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.275, allocations: 74.7 kB / 326.6 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2751, allocations: 1.344 kB / 326.6 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.2752, allocations: 9.422 kB / 326.6 MB, free: 0.4961 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.2753, allocations: 5.312 kB / 326.6 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.2755, allocations: 18.59 kB / 326.6 MB, free: 488 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.2756, allocations: 69.11 kB / 326.7 MB, free: 448 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2758, allocations: 18.08 kB / 326.7 MB, free: 440 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.2758, allocations: 22.53 kB / 326.7 MB, free: 428 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.2759, allocations: 35.11 kB / 326.8 MB, free: 400 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2759, allocations: 3.844 kB / 326.8 MB, free: 400 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.2759, allocations: 6.594 kB / 326.8 MB, free: 400 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.276, allocations: 15.75 kB / 326.8 MB, free: 388 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.276, allocations: 28.69 kB / 326.8 MB, free: 368 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2761, allocations: 68.56 kB / 326.9 MB, free: 316 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2761, allocations: 4 kB / 326.9 MB, free: 312 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2761, allocations: 3.938 kB / 326.9 MB, free: 312 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2762, allocations: 0 / 326.9 MB, free: 312 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.0005258/0.2767, allocations: 361.9 kB / 327.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2767, allocations: 9.5 kB / 327.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.2768, allocations: 8.781 kB / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.277, allocations: 177.6 kB / 327.4 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.277, allocations: 2.844 kB / 327.5 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.2771, allocations: 17.06 kB / 327.5 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2772, allocations: 69.86 kB / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2772, allocations: 192 / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2773, allocations: 9.031 kB / 327.5 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.2773, allocations: 6.484 kB / 327.6 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.2774, allocations: 35.38 kB / 327.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.278, allocations: 371.4 kB / 327.9 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2781, allocations: 63.12 kB / 328 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.2782, allocations: 24.3 kB / 328 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.2782, allocations: 0.7812 kB / 328 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2782, allocations: 32.03 kB / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2782, allocations: 0 / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007587/0.279, allocations: 0.5073 MB / 328.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.279, allocations: 52.88 kB / 328.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2791, allocations: 127.5 kB / 328.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2792, allocations: 29.7 kB / 328.8 MB, free: 14.4 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.2792, allocations: 99.09 kB / 328.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2793, allocations: 31.8 kB / 328.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.2793, allocations: 37.52 kB / 328.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.2794, allocations: 312.1 kB / 329.2 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.2795, allocations: 21.86 kB / 329.3 MB, free: 13.92 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.2795, allocations: 60.52 kB / 329.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2797, allocations: 87.8 kB / 329.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2797, allocations: 0.9688 kB / 329.4 MB, free: 13.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001527/0.2798, allocations: 108.6 kB / 329.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2798, allocations: 5.75 kB / 329.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2799, allocations: 1 kB / 329.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2799, allocations: 3.031 kB / 329.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.28, allocations: 26.89 kB / 329.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.28, allocations: 10.47 kB / 329.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.28, allocations: 5.312 kB / 329.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.28, allocations: 3.75 kB / 329.6 MB, free: 13.69 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.02e-05/0.2801, allocations: 121.8 kB / 329.7 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.2802, allocations: 8.062 kB / 329.7 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.2802, allocations: 9.609 kB / 329.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2802, allocations: 9.016 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2802, allocations: 4.875 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2802, allocations: 7.984 kB / 329.7 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.2807, allocations: 401.2 kB / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2807, allocations: 6.234 kB / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.2808, allocations: 18.88 kB / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2808, allocations: 2.594 kB / 330.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2808, allocations: 6.5 kB / 330.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2808, allocations: 2.344 kB / 330.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2808, allocations: 1.219 kB / 330.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.2811, allocations: 230.5 kB / 330.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.2811, allocations: 88.78 kB / 330.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2812, allocations: 3.469 kB / 330.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.2812, allocations: 5.125 kB / 330.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2813, allocations: 8.562 kB / 330.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2813, allocations: 8.016 kB / 330.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.955e-05/0.2813, allocations: 91.59 kB / 330.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2813, allocations: 8 kB / 330.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000248/0.2816, allocations: 17.59 kB / 330.6 MB, free: 12.69 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.0001235/0.2817, allocations: 96.98 kB / 330.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.2819, allocations: 66.55 kB / 330.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2819, allocations: 1.188 kB / 330.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.2819, allocations: 28.61 kB / 330.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2824, allocations: 15.03 kB / 330.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.283, allocations: 370 kB / 331.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2832, allocations: 0.6923 MB / 331.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.2833, allocations: 9.016 kB / 331.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.2833, allocations: 10.88 kB / 331.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.2833, allocations: 1.094 kB / 331.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of Templates: time 0.002906/0.2862, allocations: 0.6538 MB / 332.5 MB, free: 11.17 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)