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.001329/0.001329, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001945, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.571/1.571, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001856/0.001856, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3206, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002988/0.3237, allocations: 1.629 MB / 326.9 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.324, allocations: 70.19 kB / 327 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.3241, allocations: 5.312 kB / 327 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.3242, allocations: 5.219 kB / 327 MB, free: 0.5 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.3242, allocations: 18.5 kB / 327 MB, free: 496 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.3244, allocations: 18.17 kB / 327 MB, free: 480 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3245, allocations: 63.86 kB / 327.1 MB, free: 444 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3246, allocations: 25.38 kB / 327.1 MB, free: 428 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.3247, allocations: 17.88 kB / 327.2 MB, free: 420 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.3247, allocations: 29.55 kB / 327.2 MB, free: 400 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3248, allocations: 4.875 kB / 327.2 MB, free: 400 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.3248, allocations: 4.625 kB / 327.2 MB, free: 400 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3248, allocations: 13.23 kB / 327.2 MB, free: 388 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3249, allocations: 34.61 kB / 327.2 MB, free: 364 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.325, allocations: 70.45 kB / 327.3 MB, free: 312 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.325, allocations: 0 / 327.3 MB, free: 312 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.325, allocations: 0 / 327.3 MB, free: 312 kB / 254.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.325, allocations: 0.7812 kB / 327.3 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.0004127/0.3254, allocations: 364.9 kB / 327.7 MB, free: 15.92 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3255, allocations: 9.969 kB / 327.7 MB, free: 15.92 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.3255, allocations: 8.156 kB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3257, allocations: 178.1 kB / 327.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3257, allocations: 6.625 kB / 327.9 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3258, allocations: 16.86 kB / 327.9 MB, free: 15.69 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3259, allocations: 69.58 kB / 327.9 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.326, allocations: 1.406 kB / 327.9 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.326, allocations: 7.938 kB / 328 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.326, allocations: 1.5 kB / 328 MB, free: 15.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.3261, allocations: 36.56 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.3268, allocations: 374.6 kB / 328.4 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3269, allocations: 59.44 kB / 328.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.327, allocations: 20.78 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.327, allocations: 0 / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.327, allocations: 31.69 kB / 328.5 MB, free: 15.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.327, allocations: 1.406 kB / 328.5 MB, free: 15.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007958/0.3278, allocations: 0.5142 MB / 329 MB, free: 14.62 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.3279, allocations: 56.66 kB / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.328, allocations: 115.9 kB / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.328, allocations: 34.86 kB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.3281, allocations: 94.17 kB / 329.3 MB, free: 14.31 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3281, allocations: 35.02 kB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.3282, allocations: 33.89 kB / 329.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3283, allocations: 313.2 kB / 329.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.3283, allocations: 21.05 kB / 329.7 MB, free: 13.92 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.3284, allocations: 55.86 kB / 329.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3285, allocations: 84.38 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3285, allocations: 1.125 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001777/0.3287, allocations: 113.2 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3287, allocations: 4.875 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3287, allocations: 2.375 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3288, allocations: 10.23 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.3289, allocations: 26.02 kB / 330 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3289, allocations: 5.812 kB / 330 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.3289, allocations: 6.219 kB / 330 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3289, allocations: 3.656 kB / 330 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.156e-05/0.329, allocations: 122.6 kB / 330.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3291, allocations: 7.688 kB / 330.1 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.3291, allocations: 9.906 kB / 330.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3291, allocations: 5.75 kB / 330.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3291, allocations: 7.938 kB / 330.1 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3291, allocations: 3.984 kB / 330.1 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.3296, allocations: 406 kB / 330.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3296, allocations: 1.219 kB / 330.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.3297, allocations: 32.08 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3298, allocations: 1.5 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3298, allocations: 6.594 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3298, allocations: 1.531 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3298, allocations: 2.344 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3301, allocations: 227 kB / 330.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3301, allocations: 88.75 kB / 330.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3302, allocations: 2.656 kB / 330.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.3302, allocations: 5.281 kB / 330.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.3303, allocations: 8.344 kB / 330.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3303, allocations: 2.812 kB / 330.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.3303, allocations: 96.89 kB / 331 MB, free: 12.7 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3303, allocations: 3.938 kB / 331 MB, free: 12.7 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3306, allocations: 17.34 kB / 331 MB, free: 12.7 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.0001196/0.3307, allocations: 97.59 kB / 331.1 MB, free: 12.6 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3309, allocations: 66.53 kB / 331.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3309, allocations: 0 / 331.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.331, allocations: 33.89 kB / 331.2 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.0004248/0.3314, allocations: 11.55 kB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.3321, allocations: 348.4 kB / 331.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3324, allocations: 0.6947 MB / 332.3 MB, free: 11.54 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.3325, allocations: 9.578 kB / 332.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3325, allocations: 11.25 kB / 332.3 MB, free: 11.52 MB / 270.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3325, allocations: 7.938 kB / 332.3 MB, free: 11.52 MB / 270.1 MB Notification: Performance of Templates: time 0.002913/0.3354, allocations: 0.6428 MB / 332.9 MB, free: 11.2 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)