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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001069/0.00107, allocations: 182.5 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.613/1.613, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001654, allocations: 120.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.203e-05, allocations: 7.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08085, allocations: 44.51 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.3837, allocations: 70.97 MB / 420.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.384, allocations: 67.64 kB / 420.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00321/0.3872, allocations: 1.318 MB / 421.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3872, allocations: 0 / 421.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3872, allocations: 0 / 421.8 MB, free: 10.68 MB / 298.7 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.0003027/0.3875, allocations: 344.8 kB / 422.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3876, allocations: 7.469 kB / 422.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.3877, allocations: 7.594 kB / 422.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3878, allocations: 191 kB / 422.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3878, allocations: 3.688 kB / 422.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3879, allocations: 7.656 kB / 422.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.388, allocations: 64.84 kB / 422.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.388, allocations: 0 / 422.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3881, allocations: 3.5 kB / 422.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3881, allocations: 7.688 kB / 422.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.3882, allocations: 35.47 kB / 422.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.3888, allocations: 371.6 kB / 422.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.3889, allocations: 56.33 kB / 422.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.389, allocations: 21.73 kB / 422.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.389, allocations: 4 kB / 422.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.389, allocations: 34.41 kB / 422.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.389, allocations: 0 / 422.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006666/0.3897, allocations: 0.4963 MB / 423.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.3898, allocations: 61.92 kB / 423.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.3898, allocations: 106.3 kB / 423.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.3899, allocations: 25.7 kB / 423.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.3899, allocations: 94.67 kB / 423.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3899, allocations: 36.67 kB / 423.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.3899, allocations: 2.438 kB / 423.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.39, allocations: 319.3 kB / 424.1 MB, free: 8.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.3901, allocations: 22.5 kB / 424.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.3901, allocations: 60.39 kB / 424.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.3902, allocations: 26.81 kB / 424.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3902, allocations: 0 / 424.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001307/0.3903, allocations: 108.8 kB / 424.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3903, allocations: 11.88 kB / 424.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3904, allocations: 3.875 kB / 424.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3904, allocations: 4.422 kB / 424.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.3905, allocations: 28.38 kB / 424.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3905, allocations: 3.969 kB / 424.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.3905, allocations: 3.5 kB / 424.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3905, allocations: 4.5 kB / 424.3 MB, free: 8.516 MB / 298.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.3906, allocations: 116.1 kB / 424.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3906, allocations: 7.781 kB / 424.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.3907, allocations: 15.23 kB / 424.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3907, allocations: 0 / 424.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3907, allocations: 3.953 kB / 424.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3907, allocations: 0 / 424.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.3911, allocations: 410.1 kB / 424.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3911, allocations: 3.953 kB / 424.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.3912, allocations: 22.78 kB / 424.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3912, allocations: 3.844 kB / 424.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3912, allocations: 3.875 kB / 424.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3912, allocations: 0 / 424.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3912, allocations: 3.969 kB / 424.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3914, allocations: 285.2 kB / 425.2 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.3915, allocations: 88.92 kB / 425.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3915, allocations: 9.672 kB / 425.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.3915, allocations: 1.281 kB / 425.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.3916, allocations: 13.83 kB / 425.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3916, allocations: 3.75 kB / 425.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.3916, allocations: 92.28 kB / 425.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3916, allocations: 0 / 425.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.3919, allocations: 18 kB / 425.4 MB, free: 7.578 MB / 298.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.392, allocations: 102.1 kB / 425.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.3921, allocations: 61.14 kB / 425.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3921, allocations: 0 / 425.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.3922, allocations: 29.25 kB / 425.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.3924, allocations: 12.03 kB / 425.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.3929, allocations: 255.9 kB / 425.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.393, allocations: 0.6999 MB / 426.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.3931, allocations: 7.328 kB / 426.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.3931, allocations: 12.06 kB / 426.6 MB, free: 6.547 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3931, allocations: 0 / 426.6 MB, free: 6.547 MB / 298.7 MB Notification: Performance of Templates: time 0.002477/0.3956, allocations: 0.6052 MB / 427.2 MB, free: 6.48 MB / 298.7 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)