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.001244/0.001244, allocations: 110.8 kB / 17.06 MB, free: 6.016 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.001059/0.001059, allocations: 191 kB / 18 MB, free: 5.105 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.502/1.502, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001093/0.001093, allocations: 55.92 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 46.62 MB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00413/0.1175, allocations: 1.628 MB / 376.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000351/0.1179, allocations: 63.73 kB / 376.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.118, allocations: 0 / 376.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1181, allocations: 15.92 kB / 376.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.1182, allocations: 27.72 kB / 376.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1184, allocations: 15.98 kB / 376.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1186, allocations: 59.78 kB / 376.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1188, allocations: 23.92 kB / 376.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.1189, allocations: 19.94 kB / 376.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.119, allocations: 31.84 kB / 376.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.119, allocations: 12 kB / 376.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.1191, allocations: 4 kB / 376.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.1191, allocations: 11.92 kB / 376.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1192, allocations: 31.86 kB / 376.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1193, allocations: 55.75 kB / 376.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1194, allocations: 3.984 kB / 376.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1194, allocations: 0 / 376.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1194, allocations: 4 kB / 376.5 MB, free: 2.582 MB / 318.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.0005933/0.12, allocations: 367.4 kB / 376.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1201, allocations: 8.031 kB / 376.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1201, allocations: 8.844 kB / 376.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1204, allocations: 188.2 kB / 377 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1204, allocations: 384 / 377 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.1205, allocations: 12.38 kB / 377 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1207, allocations: 62.23 kB / 377.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1207, allocations: 8.094 kB / 377.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1207, allocations: 7.938 kB / 377.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1207, allocations: 0 / 377.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1209, allocations: 43.91 kB / 377.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.1217, allocations: 371.6 kB / 377.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1219, allocations: 54.56 kB / 377.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1219, allocations: 20.84 kB / 377.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1219, allocations: 3.938 kB / 377.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.122, allocations: 34.56 kB / 377.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.122, allocations: 0 / 377.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001066/0.1231, allocations: 0.5169 MB / 378.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1231, allocations: 51.41 kB / 378.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1232, allocations: 121.8 kB / 378.3 MB, free: 456 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1233, allocations: 29.7 kB / 378.3 MB, free: 420 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.1233, allocations: 103.9 kB / 378.4 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1234, allocations: 31.55 kB / 378.5 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.1234, allocations: 29.7 kB / 378.5 MB, free: 244 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2655/0.389, allocations: 314.8 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3891, allocations: 17.05 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.3893, allocations: 58.64 kB / 378.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3894, allocations: 86.09 kB / 379 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3894, allocations: 0 / 379 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.3897, allocations: 113.4 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.3897, allocations: 5.5 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3897, allocations: 1.375 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.3897, allocations: 2.75 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3899, allocations: 27.17 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3899, allocations: 7.344 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.39, allocations: 5.312 kB / 379.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.39, allocations: 5.734 kB / 379.1 MB, free: 12.79 MB / 318.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.878e-05/0.3901, allocations: 122.1 kB / 379.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3902, allocations: 5 kB / 379.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.3902, allocations: 14.31 kB / 379.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3902, allocations: 0 / 379.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3903, allocations: 5.531 kB / 379.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3903, allocations: 0.6094 kB / 379.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.3908, allocations: 419.5 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3908, allocations: 2.75 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3909, allocations: 17.7 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.391, allocations: 1.375 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.391, allocations: 3.688 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.391, allocations: 5.406 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.391, allocations: 4.969 kB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3912, allocations: 239.7 kB / 380 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.3912, allocations: 89.45 kB / 380 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3912, allocations: 3.734 kB / 380 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3913, allocations: 1.594 kB / 380.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3914, allocations: 12.55 kB / 380.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3914, allocations: 4.031 kB / 380.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.3914, allocations: 90.8 kB / 380.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3914, allocations: 0 / 380.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3917, allocations: 21.44 kB / 380.2 MB, free: 11.97 MB / 318.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.539e-05/0.3918, allocations: 101.7 kB / 380.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.392, allocations: 63.89 kB / 380.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.392, allocations: 0 / 380.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.392, allocations: 32.03 kB / 380.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3924, allocations: 14.44 kB / 380.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.393, allocations: 333.5 kB / 380.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3932, allocations: 0.6973 MB / 381.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.3932, allocations: 15.84 kB / 381.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3933, allocations: 11.56 kB / 381.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3933, allocations: 0 / 381.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of Templates: time 0.003507/0.3968, allocations: 0.6537 MB / 382.1 MB, free: 10.87 MB / 318.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)