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.01075/0.01075, allocations: 102 kB / 15.73 MB, free: 6.039 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.002205/0.002205, allocations: 194 kB / 16.67 MB, free: 5.961 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.00121/0.00121, allocations: 55.92 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 46.61 MB / 373.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.004134/0.1087, allocations: 1.628 MB / 374.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.1091, allocations: 63.8 kB / 374.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.1092, allocations: 4 kB / 374.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1094, allocations: 11.86 kB / 374.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.1095, allocations: 19.78 kB / 374.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1097, allocations: 19.97 kB / 374.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1099, allocations: 67.73 kB / 375 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1101, allocations: 19.98 kB / 375 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.1101, allocations: 23.94 kB / 375 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.1102, allocations: 27.84 kB / 375 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1102, allocations: 4 kB / 375 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.1103, allocations: 8 kB / 375 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.1103, allocations: 15.92 kB / 375 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.1104, allocations: 31.86 kB / 375.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1105, allocations: 59.73 kB / 375.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1105, allocations: 3.984 kB / 375.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1105, allocations: 0 / 375.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1106, allocations: 4 kB / 375.1 MB, free: 2.566 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.0005513/0.1111, allocations: 363.3 kB / 375.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.1112, allocations: 8.031 kB / 375.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.1112, allocations: 8.844 kB / 375.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1116, allocations: 176.3 kB / 375.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1116, allocations: 8.375 kB / 375.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1116, allocations: 8.359 kB / 375.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1118, allocations: 70.23 kB / 375.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1118, allocations: 12.03 kB / 375.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1119, allocations: 3.938 kB / 375.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1119, allocations: 4 kB / 375.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1121, allocations: 43.91 kB / 375.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.1128, allocations: 363.7 kB / 376.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.113, allocations: 66.42 kB / 376.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.113, allocations: 28.84 kB / 376.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1131, allocations: 0 / 376.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1131, allocations: 30.56 kB / 376.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.1131, allocations: 0 / 376.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009296/0.114, allocations: 0.5051 MB / 376.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.1141, allocations: 55.41 kB / 376.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1142, allocations: 121.8 kB / 377 MB, free: 444 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.1143, allocations: 25.7 kB / 377 MB, free: 412 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.1144, allocations: 99.88 kB / 377.1 MB, free: 308 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1144, allocations: 35.7 kB / 377.2 MB, free: 272 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1145, allocations: 25.7 kB / 377.2 MB, free: 240 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1781/0.2926, allocations: 318.8 kB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.2927, allocations: 19.23 kB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.2928, allocations: 58.16 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.2929, allocations: 90.11 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2929, allocations: 4.469 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001707/0.2931, allocations: 109.4 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2931, allocations: 5.5 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2931, allocations: 1.375 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2931, allocations: 6.062 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2933, allocations: 21.62 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2933, allocations: 12.91 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.2933, allocations: 3.062 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2933, allocations: 10.39 kB / 377.8 MB, free: 12.72 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 6.952e-05/0.2934, allocations: 115.6 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2934, allocations: 6.938 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.2935, allocations: 13.23 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2935, allocations: 4.906 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2935, allocations: 3.75 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2935, allocations: 0.7969 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.294, allocations: 411.1 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.294, allocations: 2.219 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.2941, allocations: 28.33 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2942, allocations: 1.375 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2942, allocations: 3.406 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2942, allocations: 1.375 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2942, allocations: 3.594 kB / 378.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.2944, allocations: 234 kB / 378.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.2944, allocations: 86.86 kB / 378.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2944, allocations: 2.75 kB / 378.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.2945, allocations: 8.219 kB / 378.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.2945, allocations: 10.59 kB / 378.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2945, allocations: 4.125 kB / 378.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.2946, allocations: 93.47 kB / 378.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2946, allocations: 0 / 378.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.2948, allocations: 20.62 kB / 378.9 MB, free: 11.91 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 7.195e-05/0.2949, allocations: 99.28 kB / 379 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.295, allocations: 63.03 kB / 379 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2951, allocations: 0.625 kB / 379 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.2951, allocations: 29.73 kB / 379 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2954, allocations: 11.62 kB / 379.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.2959, allocations: 346.1 kB / 379.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.296, allocations: 0.6991 MB / 380.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.2961, allocations: 7.75 kB / 380.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.2961, allocations: 12.94 kB / 380.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of SimCode: time 1.243e-06/0.2961, allocations: 4 kB / 380.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of Templates: time 0.003016/0.2991, allocations: 0.6722 MB / 380.8 MB, free: 10.8 MB / 318.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)