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.008562/0.008562, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002087/0.002087, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.486/1.486, allocations: 205.1 MB / 222.5 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.001972/0.001972, allocations: 43.94 kB / 326.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 46.62 MB / 373.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002972/0.1079, allocations: 1.62 MB / 374.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.1082, allocations: 67.72 kB / 374.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.1083, allocations: 0 / 374.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1084, allocations: 7.875 kB / 374.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.1085, allocations: 27.84 kB / 374.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.1086, allocations: 19.91 kB / 374.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1088, allocations: 63.78 kB / 374.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1089, allocations: 20 kB / 375 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.109, allocations: 19.92 kB / 375 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.1091, allocations: 27.86 kB / 375 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1091, allocations: 8 kB / 375 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.1091, allocations: 11.94 kB / 375 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.1091, allocations: 11.92 kB / 375 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.1092, allocations: 31.86 kB / 375.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1094, allocations: 67.72 kB / 375.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1094, allocations: 0 / 375.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1094, allocations: 0 / 375.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1094, allocations: 0 / 375.1 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.0006321/0.11, allocations: 359.4 kB / 375.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1101, allocations: 8.031 kB / 375.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.1102, allocations: 12.84 kB / 375.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1104, allocations: 180.3 kB / 375.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1105, allocations: 4.375 kB / 375.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1105, allocations: 8.375 kB / 375.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1107, allocations: 70.17 kB / 375.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1107, allocations: 12.02 kB / 375.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1108, allocations: 7.938 kB / 375.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1108, allocations: 3.984 kB / 375.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1109, allocations: 35.92 kB / 375.8 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.1116, allocations: 379.6 kB / 376.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1118, allocations: 62.55 kB / 376.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1118, allocations: 16.86 kB / 376.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1118, allocations: 0 / 376.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1119, allocations: 34.56 kB / 376.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1119, allocations: 4 kB / 376.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008992/0.1128, allocations: 0.5051 MB / 376.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.1128, allocations: 55.41 kB / 376.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.113, allocations: 121.7 kB / 377 MB, free: 456 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.113, allocations: 29.7 kB / 377 MB, free: 420 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1131, allocations: 103.9 kB / 377.1 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1131, allocations: 35.69 kB / 377.2 MB, free: 276 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1131, allocations: 25.72 kB / 377.2 MB, free: 244 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2245/0.3377, allocations: 319.3 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3379, allocations: 18.41 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.3379, allocations: 55.11 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3381, allocations: 86.73 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3381, allocations: 0.7812 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002395/0.3383, allocations: 114.3 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3384, allocations: 7 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3384, allocations: 1.375 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.3384, allocations: 2.75 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3385, allocations: 25 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3386, allocations: 9.156 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.3386, allocations: 1.875 kB / 377.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3387, allocations: 5.516 kB / 377.8 MB, free: 12.73 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 0.0001014/0.3388, allocations: 120.7 kB / 377.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3388, allocations: 6.797 kB / 377.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.3389, allocations: 14.39 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3389, allocations: 2.453 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3389, allocations: 3.75 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3389, allocations: 0.75 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.3395, allocations: 403.9 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3395, allocations: 2.438 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/0.3396, allocations: 21.7 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.3396, allocations: 6.953 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3396, allocations: 5.281 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3396, allocations: 6.25 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3397, allocations: 2.062 kB / 378.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.3399, allocations: 231.9 kB / 378.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.34, allocations: 88.48 kB / 378.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.34, allocations: 3.031 kB / 378.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.3401, allocations: 6.094 kB / 378.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.3401, allocations: 9.641 kB / 378.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3401, allocations: 5 kB / 378.7 MB, free: 12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.3402, allocations: 90.5 kB / 378.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.51e-07/0.3402, allocations: 0 / 378.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3405, allocations: 22.39 kB / 378.8 MB, free: 11.93 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 0.0001231/0.3406, allocations: 98.61 kB / 378.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.3408, allocations: 66.58 kB / 379 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3408, allocations: 0 / 379 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.3409, allocations: 30.61 kB / 379 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3412, allocations: 11.06 kB / 379 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.3419, allocations: 346.9 kB / 379.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.3421, allocations: 0.7049 MB / 380.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.3421, allocations: 6.719 kB / 380.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3422, allocations: 11.56 kB / 380.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3422, allocations: 0.7656 kB / 380.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Templates: time 0.003535/0.3457, allocations: 0.6633 MB / 380.8 MB, free: 10.82 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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)