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.00143/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.521/1.521, allocations: 205.1 MB / 222 MB, free: 4.969 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.001406/0.001406, allocations: 51.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3213, allocations: 46.62 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002801/0.3242, allocations: 1.691 MB / 326.4 MB, free: 500 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000238/0.3244, allocations: 57.8 kB / 326.4 MB, free: 452 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.3245, allocations: 2 kB / 326.4 MB, free: 452 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3247, allocations: 8.641 kB / 326.4 MB, free: 444 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.3247, allocations: 18.81 kB / 326.5 MB, free: 428 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.3249, allocations: 10.53 kB / 326.5 MB, free: 420 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.325, allocations: 66.16 kB / 326.5 MB, free: 380 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3251, allocations: 19.45 kB / 326.5 MB, free: 368 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.3252, allocations: 23 kB / 326.6 MB, free: 356 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.3252, allocations: 24.03 kB / 326.6 MB, free: 340 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3253, allocations: 3.406 kB / 326.6 MB, free: 340 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.3253, allocations: 3.375 kB / 326.6 MB, free: 340 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.3253, allocations: 10.09 kB / 326.6 MB, free: 332 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3254, allocations: 38.22 kB / 326.6 MB, free: 304 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3255, allocations: 61.28 kB / 326.7 MB, free: 260 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3255, allocations: 3.984 kB / 326.7 MB, free: 256 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3255, allocations: 4 kB / 326.7 MB, free: 252 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3255, allocations: 1.156 kB / 326.7 MB, free: 252 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.0005983/0.3261, allocations: 356.8 kB / 327.1 MB, free: 15.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.3262, allocations: 9.031 kB / 327.1 MB, free: 15.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.3262, allocations: 12.41 kB / 327.1 MB, free: 15.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3265, allocations: 186.3 kB / 327.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3265, allocations: 6.625 kB / 327.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3265, allocations: 8.875 kB / 327.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3267, allocations: 73.73 kB / 327.4 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3268, allocations: 1.344 kB / 327.4 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3268, allocations: 3.938 kB / 327.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3268, allocations: 2.312 kB / 327.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3269, allocations: 39.28 kB / 327.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.3277, allocations: 369.9 kB / 327.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3278, allocations: 56.12 kB / 327.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.3278, allocations: 25.75 kB / 327.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3279, allocations: 0 / 327.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3279, allocations: 37.16 kB / 327.9 MB, free: 15.08 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.3279, allocations: 0 / 327.9 MB, free: 15.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008104/0.3287, allocations: 0.5103 MB / 328.4 MB, free: 14.56 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3288, allocations: 56.53 kB / 328.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3289, allocations: 120.6 kB / 328.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3289, allocations: 25.7 kB / 328.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.329, allocations: 98.5 kB / 328.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.329, allocations: 28.78 kB / 328.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.3291, allocations: 29.33 kB / 328.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3292, allocations: 324.3 kB / 329.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.3293, allocations: 17.2 kB / 329.1 MB, free: 13.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.3293, allocations: 67.73 kB / 329.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3295, allocations: 92.25 kB / 329.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3295, allocations: 1.219 kB / 329.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001552/0.3296, allocations: 108.7 kB / 329.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3297, allocations: 6.188 kB / 329.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3297, allocations: 1.375 kB / 329.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3297, allocations: 1.344 kB / 329.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.3298, allocations: 23.11 kB / 329.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.3298, allocations: 10.95 kB / 329.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.3298, allocations: 5.281 kB / 329.4 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3299, allocations: 4.844 kB / 329.4 MB, free: 13.63 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.511e-05/0.3299, allocations: 122 kB / 329.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.33, allocations: 8.062 kB / 329.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.33, allocations: 9.812 kB / 329.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.33, allocations: 3.984 kB / 329.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.33, allocations: 5.312 kB / 329.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.33, allocations: 0 / 329.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.3305, allocations: 417.8 kB / 329.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3305, allocations: 1.25 kB / 329.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.3306, allocations: 19.44 kB / 330 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3306, allocations: 2.125 kB / 330 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3306, allocations: 2.812 kB / 330 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3307, allocations: 5.625 kB / 330 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3307, allocations: 5.344 kB / 330 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3309, allocations: 226.9 kB / 330.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.331, allocations: 96.66 kB / 330.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.331, allocations: 2.156 kB / 330.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.3311, allocations: 2.594 kB / 330.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.3311, allocations: 11.42 kB / 330.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3311, allocations: 7.266 kB / 330.3 MB, free: 12.72 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.075e-05/0.3312, allocations: 92.38 kB / 330.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3312, allocations: 0 / 330.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3314, allocations: 17.72 kB / 330.4 MB, free: 12.64 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.000106/0.3316, allocations: 105.5 kB / 330.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.3317, allocations: 58.86 kB / 330.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3317, allocations: 0 / 330.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.3318, allocations: 33.14 kB / 330.6 MB, free: 12.5 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3322, allocations: 10.09 kB / 330.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.3329, allocations: 363.8 kB / 331 MB, free: 12.16 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3332, allocations: 0.6919 MB / 331.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.3333, allocations: 8.047 kB / 331.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3333, allocations: 12.25 kB / 331.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3333, allocations: 1.125 kB / 331.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of Templates: time 0.003173/0.3365, allocations: 0.6269 MB / 332.3 MB, free: 11.13 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)