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.000974/0.000974, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009532/0.0009535, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004993/0.0004997, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.257, allocations: 47.59 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001525/0.2586, allocations: 1.308 MB / 327.8 MB, free: 384 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000182/0.2588, allocations: 67.08 kB / 327.8 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.2589, allocations: 5.406 kB / 327.8 MB, free: 324 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.2589, allocations: 4.594 kB / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.259, allocations: 23.78 kB / 327.9 MB, free: 300 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.255e-05/0.2591, allocations: 10.38 kB / 327.9 MB, free: 292 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2592, allocations: 46.59 kB / 327.9 MB, free: 264 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.2593, allocations: 16.86 kB / 327.9 MB, free: 256 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.2593, allocations: 25.25 kB / 327.9 MB, free: 240 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.2594, allocations: 22.92 kB / 328 MB, free: 224 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2594, allocations: 7.594 kB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.2594, allocations: 7.438 kB / 328 MB, free: 216 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.2595, allocations: 4 kB / 328 MB, free: 212 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.2595, allocations: 40.89 kB / 328 MB, free: 172 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 6.071e-05/0.2596, allocations: 51.67 kB / 328.1 MB, free: 132 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.2596, allocations: 0 / 328.1 MB, free: 132 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2596, allocations: 0 / 328.1 MB, free: 132 kB / 254.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.2596, allocations: 0 / 328.1 MB, free: 132 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.0003866/0.26, allocations: 350.5 kB / 328.4 MB, free: 15.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.26, allocations: 8.125 kB / 328.4 MB, free: 15.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.2601, allocations: 10.7 kB / 328.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.2602, allocations: 176.8 kB / 328.6 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2602, allocations: 6.297 kB / 328.6 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.2603, allocations: 9.375 kB / 328.6 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.2604, allocations: 67.92 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2604, allocations: 0 / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2605, allocations: 5.156 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2605, allocations: 1.156 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.2605, allocations: 35.67 kB / 328.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.2612, allocations: 379.4 kB / 329.1 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2613, allocations: 60.05 kB / 329.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.2613, allocations: 0 / 329.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2613, allocations: 36.72 kB / 329.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.2613, allocations: 3.938 kB / 329.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.000688/0.262, allocations: 0.5076 MB / 329.7 MB, free: 14.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.2621, allocations: 55.36 kB / 329.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.2621, allocations: 119.4 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2622, allocations: 31.2 kB / 329.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.2622, allocations: 98.94 kB / 330 MB, free: 14.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.2623, allocations: 39.56 kB / 330 MB, free: 14.12 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.2623, allocations: 0 / 330 MB, free: 14.12 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2624, allocations: 317 kB / 330.4 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.2624, allocations: 22.11 kB / 330.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.2625, allocations: 57.92 kB / 330.4 MB, free: 13.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.2626, allocations: 34.64 kB / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2626, allocations: 0 / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001465/0.2627, allocations: 104.6 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2627, allocations: 5.594 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2627, allocations: 1.375 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2628, allocations: 6.703 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.2629, allocations: 26.41 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2629, allocations: 10.59 kB / 330.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.2629, allocations: 5.109 kB / 330.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2629, allocations: 4.094 kB / 330.6 MB, free: 13.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.263, allocations: 122.3 kB / 330.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.263, allocations: 7.5 kB / 330.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.2631, allocations: 9.281 kB / 330.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2631, allocations: 1.25 kB / 330.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2631, allocations: 1.094 kB / 330.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2631, allocations: 7.953 kB / 330.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.2636, allocations: 401.6 kB / 331.2 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2636, allocations: 1.312 kB / 331.2 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.2637, allocations: 27.36 kB / 331.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.2637, allocations: 6.172 kB / 331.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2637, allocations: 5.906 kB / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2637, allocations: 10.05 kB / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2637, allocations: 2.125 kB / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.264, allocations: 287.1 kB / 331.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.2641, allocations: 88.2 kB / 331.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2641, allocations: 7.391 kB / 331.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.2642, allocations: 1.094 kB / 331.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.2642, allocations: 16.8 kB / 331.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.2642, allocations: 7.25 kB / 331.6 MB, free: 12.62 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.2643, allocations: 96.3 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2643, allocations: 0 / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.2645, allocations: 13.97 kB / 331.7 MB, free: 12.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.432e-05/0.2646, allocations: 96.69 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.2648, allocations: 65.56 kB / 331.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2648, allocations: 0 / 331.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.2648, allocations: 24.81 kB / 331.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.2651, allocations: 14.73 kB / 331.9 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.2656, allocations: 393.9 kB / 332.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.2658, allocations: 0.6923 MB / 333 MB, free: 11.34 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.2659, allocations: 12.7 kB / 333 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.2659, allocations: 12.91 kB / 333 MB, free: 11.32 MB / 270.1 MB Notification: Performance of SimCode: time 3e-07/0.2659, allocations: 3.938 kB / 333 MB, free: 11.32 MB / 270.1 MB Notification: Performance of Templates: time 0.002699/0.2686, allocations: 0.5838 MB / 333.6 MB, free: 11.03 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: