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.001547/0.001547, 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.001644/0.001644, allocations: 194.9 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.497/1.497, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001349/0.001349, allocations: 59.91 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2766, allocations: 46.63 MB / 324.8 MB, free: 2.141 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003088/0.2798, allocations: 1.68 MB / 326.5 MB, free: 0.8203 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.2801, allocations: 58.36 kB / 326.6 MB, free: 0.7734 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.2802, allocations: 13.97 kB / 326.6 MB, free: 0.7617 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2803, allocations: 9.109 kB / 326.6 MB, free: 0.7539 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.2804, allocations: 13.98 kB / 326.6 MB, free: 0.7422 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.2805, allocations: 14.17 kB / 326.6 MB, free: 0.7305 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.2807, allocations: 63.47 kB / 326.7 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2808, allocations: 26.23 kB / 326.7 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.2809, allocations: 17.91 kB / 326.7 MB, free: 0.6719 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.281, allocations: 36.66 kB / 326.8 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.281, allocations: 5.281 kB / 326.8 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.281, allocations: 5.188 kB / 326.8 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2811, allocations: 13.39 kB / 326.8 MB, free: 0.6328 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.2811, allocations: 34.2 kB / 326.8 MB, free: 0.6094 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.2812, allocations: 61.8 kB / 326.9 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2812, allocations: 1.281 kB / 326.9 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2813, allocations: 0 / 326.9 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2813, allocations: 3.984 kB / 326.9 MB, free: 0.5625 MB / 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.0004245/0.2817, allocations: 368.5 kB / 327.3 MB, free: 176 kB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2817, allocations: 10.09 kB / 327.3 MB, free: 176 kB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.2818, allocations: 8.344 kB / 327.3 MB, free: 172 kB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.282, allocations: 181.9 kB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.282, allocations: 3.25 kB / 327.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.282, allocations: 16.61 kB / 327.5 MB, free: 15.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2822, allocations: 65.52 kB / 327.5 MB, free: 15.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2822, allocations: 1.625 kB / 327.5 MB, free: 15.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2822, allocations: 7.938 kB / 327.5 MB, free: 15.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2823, allocations: 5.438 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.2824, allocations: 39.41 kB / 327.6 MB, free: 15.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.283, allocations: 367.9 kB / 327.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2832, allocations: 59.53 kB / 328 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.2832, allocations: 20.41 kB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.2832, allocations: 4.156 kB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2832, allocations: 31.66 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2832, allocations: 1.281 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007451/0.284, allocations: 0.5109 MB / 328.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.284, allocations: 52.34 kB / 328.6 MB, free: 14.81 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2842, allocations: 124.1 kB / 328.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2842, allocations: 27.17 kB / 328.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.2842, allocations: 97.38 kB / 328.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.2843, allocations: 31.7 kB / 328.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.2843, allocations: 33.2 kB / 328.9 MB, free: 14.51 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2845, allocations: 317.1 kB / 329.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.2845, allocations: 22.17 kB / 329.3 MB, free: 14.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.2846, allocations: 67.98 kB / 329.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2847, allocations: 84.05 kB / 329.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.2847, allocations: 0 / 329.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000166/0.2849, allocations: 113.2 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2849, allocations: 5.656 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.285, allocations: 6.234 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.285, allocations: 2.344 kB / 329.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.2851, allocations: 26.14 kB / 329.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2851, allocations: 6.891 kB / 329.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.2851, allocations: 6.406 kB / 329.6 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2852, allocations: 3.562 kB / 329.6 MB, free: 13.94 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 9.601e-05/0.2853, allocations: 122.8 kB / 329.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.2853, allocations: 11.56 kB / 329.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.2853, allocations: 9.531 kB / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2853, allocations: 1.125 kB / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.2854, allocations: 7.922 kB / 329.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2854, allocations: 1.344 kB / 329.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.2859, allocations: 408.9 kB / 330.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.2859, allocations: 1.344 kB / 330.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.286, allocations: 19.16 kB / 330.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.286, allocations: 2.875 kB / 330.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.286, allocations: 6.562 kB / 330.2 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.286, allocations: 1.406 kB / 330.2 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.286, allocations: 5.312 kB / 330.2 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.2863, allocations: 231 kB / 330.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.2864, allocations: 88.84 kB / 330.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2864, allocations: 6.688 kB / 330.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.2865, allocations: 5.344 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.2865, allocations: 7.734 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2865, allocations: 4.062 kB / 330.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.2866, allocations: 96.16 kB / 330.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2866, allocations: 0 / 330.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.2868, allocations: 14.12 kB / 330.6 MB, free: 12.95 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.0001162/0.287, allocations: 108.8 kB / 330.7 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.2871, allocations: 66.61 kB / 330.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2871, allocations: 1.125 kB / 330.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.2872, allocations: 27.7 kB / 330.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.2875, allocations: 11.5 kB / 330.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.2882, allocations: 371 kB / 331.2 MB, free: 12.47 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2884, allocations: 0.695 MB / 331.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.2885, allocations: 9.109 kB / 331.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2885, allocations: 11.84 kB / 331.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2885, allocations: 0 / 331.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of Templates: time 0.002952/0.2915, allocations: 0.6527 MB / 332.5 MB, free: 11.42 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)