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.001353/0.001353, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.601/1.601, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 114.6 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.514e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09035, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/0.381, allocations: 70.3 MB / 412.9 MB, free: 25.31 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.3813, allocations: 66.34 kB / 412.9 MB, free: 25.29 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003032/0.3843, allocations: 1.306 MB / 414.2 MB, free: 24.3 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3844, allocations: 0 / 414.2 MB, free: 24.3 MB / 315.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3844, allocations: 4 kB / 414.3 MB, free: 24.29 MB / 315.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.0002436/0.3846, allocations: 344.1 kB / 414.6 MB, free: 23.92 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3847, allocations: 8.781 kB / 414.6 MB, free: 23.91 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.3847, allocations: 9.625 kB / 414.6 MB, free: 23.91 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3848, allocations: 185.2 kB / 414.8 MB, free: 23.69 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3848, allocations: 3.266 kB / 414.8 MB, free: 23.69 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3849, allocations: 4 kB / 414.8 MB, free: 23.69 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.128e-05/0.385, allocations: 31.86 kB / 414.8 MB, free: 23.66 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.3851, allocations: 57.12 kB / 414.9 MB, free: 23.61 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3851, allocations: 4 kB / 414.9 MB, free: 23.61 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3851, allocations: 0.6562 kB / 414.9 MB, free: 23.61 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3851, allocations: 4.984 kB / 414.9 MB, free: 23.6 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.3856, allocations: 347.2 kB / 415.2 MB, free: 23.25 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.3857, allocations: 53.58 kB / 415.3 MB, free: 23.2 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.3857, allocations: 24.02 kB / 415.3 MB, free: 23.18 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.3857, allocations: 0 / 415.3 MB, free: 23.18 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.3857, allocations: 30.56 kB / 415.3 MB, free: 23.14 MB / 315.1 MB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.3858, allocations: 2.953 kB / 415.3 MB, free: 23.14 MB / 315.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005081/0.3863, allocations: 490.3 kB / 415.8 MB, free: 22.6 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.3863, allocations: 55.41 kB / 415.9 MB, free: 22.54 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/0.3864, allocations: 92.81 kB / 416 MB, free: 22.44 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.3864, allocations: 25.7 kB / 416 MB, free: 22.41 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.3864, allocations: 103.8 kB / 416.1 MB, free: 22.31 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3864, allocations: 31.17 kB / 416.1 MB, free: 22.28 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.3864, allocations: 0.8438 kB / 416.1 MB, free: 22.28 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.3865, allocations: 318.8 kB / 416.4 MB, free: 21.96 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.3865, allocations: 11.88 kB / 416.4 MB, free: 21.96 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.3866, allocations: 64.7 kB / 416.5 MB, free: 21.89 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.3866, allocations: 19.88 kB / 416.5 MB, free: 21.87 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3866, allocations: 0 / 416.5 MB, free: 21.87 MB / 315.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001138/0.3867, allocations: 101.6 kB / 416.6 MB, free: 21.78 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3868, allocations: 8.922 kB / 416.6 MB, free: 21.77 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3868, allocations: 4 kB / 416.6 MB, free: 21.77 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3868, allocations: 0.6562 kB / 416.6 MB, free: 21.77 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.3869, allocations: 23.94 kB / 416.7 MB, free: 21.75 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3869, allocations: 7.938 kB / 416.7 MB, free: 21.74 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.3869, allocations: 4 kB / 416.7 MB, free: 21.73 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3869, allocations: 5.016 kB / 416.7 MB, free: 21.73 MB / 315.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 () * 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 4.663e-05/0.387, allocations: 104.9 kB / 416.8 MB, free: 21.62 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.387, allocations: 8 kB / 416.8 MB, free: 21.61 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.3871, allocations: 13.19 kB / 416.8 MB, free: 21.61 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3871, allocations: 5.359 kB / 416.8 MB, free: 21.61 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3871, allocations: 1.875 kB / 416.8 MB, free: 21.61 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3871, allocations: 3.953 kB / 416.8 MB, free: 21.6 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.3874, allocations: 378.1 kB / 417.2 MB, free: 21.2 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3874, allocations: 0 / 417.2 MB, free: 21.2 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.3875, allocations: 19.98 kB / 417.2 MB, free: 21.18 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3875, allocations: 4 kB / 417.2 MB, free: 21.18 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3875, allocations: 6.297 kB / 417.2 MB, free: 21.18 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3875, allocations: 4 kB / 417.2 MB, free: 21.17 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3875, allocations: 0 / 417.2 MB, free: 21.17 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.3877, allocations: 287.3 kB / 417.5 MB, free: 20.86 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.3878, allocations: 85.05 kB / 417.6 MB, free: 20.75 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3878, allocations: 4 kB / 417.6 MB, free: 20.75 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.3878, allocations: 4.828 kB / 417.6 MB, free: 20.75 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.3879, allocations: 12.95 kB / 417.6 MB, free: 20.74 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3879, allocations: 4 kB / 417.6 MB, free: 20.73 MB / 315.1 MB Notification: Performance of sorting global known variables: time 2.065e-05/0.3879, allocations: 79.28 kB / 417.7 MB, free: 20.66 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3879, allocations: 0 / 417.7 MB, free: 20.66 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.3882, allocations: 16.06 kB / 417.7 MB, free: 20.64 MB / 315.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 () * 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 9.157e-05/0.3883, allocations: 106.9 kB / 417.8 MB, free: 20.53 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.3884, allocations: 47 kB / 417.8 MB, free: 20.49 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3884, allocations: 0 / 417.8 MB, free: 20.49 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.3884, allocations: 26.72 kB / 417.9 MB, free: 20.47 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.3886, allocations: 11.45 kB / 417.9 MB, free: 20.46 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.389, allocations: 256 kB / 418.1 MB, free: 20.21 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3891, allocations: 0.7002 MB / 418.8 MB, free: 19.48 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.3892, allocations: 8.656 kB / 418.8 MB, free: 19.47 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.3892, allocations: 14.39 kB / 418.9 MB, free: 19.46 MB / 315.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3892, allocations: 0 / 418.9 MB, free: 19.46 MB / 315.1 MB Notification: Performance of Templates: time 0.00217/0.3914, allocations: 0.5413 MB / 419.4 MB, free: 18.94 MB / 315.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)