Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0017/0.0017, allocations: 103 kB / 16.51 MB, free: 6.645 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.001721/0.001722, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.495/1.495, allocations: 205.1 MB / 223.3 MB, free: 12.38 MB / 190.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.001153/0.001153, allocations: 47.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08883, allocations: 46.64 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002956/0.09183, allocations: 1.682 MB / 327.6 MB, free: 3.184 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.09208, allocations: 71.7 kB / 327.7 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.09216, allocations: 0 / 327.7 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.09228, allocations: 7.922 kB / 327.7 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.09233, allocations: 15.86 kB / 327.7 MB, free: 3.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.09245, allocations: 19.98 kB / 327.8 MB, free: 3.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.09257, allocations: 59.73 kB / 327.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.09268, allocations: 15.98 kB / 327.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.09272, allocations: 19.94 kB / 327.9 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.09279, allocations: 27.84 kB / 327.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.09281, allocations: 4 kB / 327.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.09284, allocations: 4 kB / 327.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.09286, allocations: 11.92 kB / 327.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.09291, allocations: 31.88 kB / 327.9 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.09302, allocations: 68 kB / 328 MB, free: 2.832 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.09303, allocations: 0 / 328 MB, free: 2.832 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09304, allocations: 0 / 328 MB, free: 2.832 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09304, allocations: 0 / 328 MB, free: 2.832 MB / 270.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.00048/0.09353, allocations: 355.4 kB / 328.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.09357, allocations: 12.03 kB / 328.4 MB, free: 2.422 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.09361, allocations: 8.844 kB / 328.4 MB, free: 2.414 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.09379, allocations: 188.1 kB / 328.5 MB, free: 2.191 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.09382, allocations: 16.31 kB / 328.6 MB, free: 2.176 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.09384, allocations: 4.375 kB / 328.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.09399, allocations: 70.23 kB / 328.6 MB, free: 2.098 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.09401, allocations: 192 / 328.6 MB, free: 2.098 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.09405, allocations: 3.938 kB / 328.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.09406, allocations: 4 kB / 328.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.09414, allocations: 31.98 kB / 328.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.0948, allocations: 387.5 kB / 329.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.09491, allocations: 54.56 kB / 329.1 MB, free: 1.559 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.09496, allocations: 16.86 kB / 329.1 MB, free: 1.539 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.09497, allocations: 4 kB / 329.1 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.095, allocations: 38.5 kB / 329.2 MB, free: 1.488 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.09501, allocations: 0 / 329.2 MB, free: 1.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008288/0.09584, allocations: 0.513 MB / 329.7 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.09589, allocations: 51.41 kB / 329.7 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.09599, allocations: 121.8 kB / 329.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.09601, allocations: 25.7 kB / 329.9 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.09608, allocations: 92.05 kB / 330 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.09611, allocations: 35.48 kB / 330 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.09616, allocations: 29.72 kB / 330 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.09628, allocations: 326.8 kB / 330.3 MB, free: 172 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.09632, allocations: 15.98 kB / 330.4 MB, free: 156 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.09639, allocations: 61.14 kB / 330.4 MB, free: 76 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.09651, allocations: 93.56 kB / 330.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.09652, allocations: 0 / 330.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001559/0.09668, allocations: 109.5 kB / 330.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.09671, allocations: 7.984 kB / 330.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.09672, allocations: 0 / 330.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.09674, allocations: 7.938 kB / 330.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.09683, allocations: 24.09 kB / 330.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.09685, allocations: 7.922 kB / 330.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.09689, allocations: 7.938 kB / 330.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.0969, allocations: 4 kB / 330.7 MB, free: 15.79 MB / 286.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.176e-05/0.09699, allocations: 117.8 kB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.09702, allocations: 7.906 kB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.09706, allocations: 8.375 kB / 330.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.09706, allocations: 0 / 330.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.09708, allocations: 3.938 kB / 330.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.09709, allocations: 4 kB / 330.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.09756, allocations: 410.5 kB / 331.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.09758, allocations: 4 kB / 331.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.09767, allocations: 15.98 kB / 331.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.09768, allocations: 8.156 kB / 331.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.0977, allocations: 4 kB / 331.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.09771, allocations: 0 / 331.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.09771, allocations: 0 / 331.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.09795, allocations: 235.5 kB / 331.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.098, allocations: 85.14 kB / 331.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.09804, allocations: 7.984 kB / 331.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.09811, allocations: 4 kB / 331.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.09814, allocations: 8.188 kB / 331.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.09815, allocations: 4 kB / 331.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.09821, allocations: 91.27 kB / 331.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.09822, allocations: 4.062 kB / 331.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.09846, allocations: 23.94 kB / 331.7 MB, free: 14.63 MB / 286.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 9.772e-05/0.09856, allocations: 99.55 kB / 331.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.09872, allocations: 63.84 kB / 331.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.09873, allocations: 3.938 kB / 331.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.09877, allocations: 24.38 kB / 331.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.09917, allocations: 20.05 kB / 331.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.09981, allocations: 364.6 kB / 332.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1001, allocations: 0.6926 MB / 333 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.328e-05/0.1002, allocations: 4.438 kB / 333 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1002, allocations: 11.44 kB / 333 MB, free: 13.29 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1002, allocations: 4 kB / 333 MB, free: 13.28 MB / 286.1 MB Notification: Performance of Templates: time 0.002844/0.103, allocations: 0.6233 MB / 333.6 MB, free: 12.66 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)