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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001106/0.001106, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.358/1.358, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 103.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.934e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08898/0.08901, allocations: 38.77 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2995/0.3885, allocations: 64.99 MB / 366 MB, free: 3.359 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001532/0.3887, allocations: 66.91 kB / 366 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00296/0.3917, allocations: 1.313 MB / 367.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3917, allocations: 3.984 kB / 367.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3917, allocations: 0 / 367.4 MB, free: 2.207 MB / 250.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.0002515/0.392, allocations: 336.4 kB / 367.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.392, allocations: 8.031 kB / 367.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3921, allocations: 8.531 kB / 367.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3922, allocations: 178.7 kB / 367.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3922, allocations: 8 kB / 367.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3923, allocations: 4 kB / 367.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.503e-05/0.3924, allocations: 32.69 kB / 367.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.3925, allocations: 59 kB / 368 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3925, allocations: 3.984 kB / 368 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3925, allocations: 0 / 368 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3925, allocations: 0.625 kB / 368 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.393, allocations: 364 kB / 368.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.3931, allocations: 46.14 kB / 368.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.3931, allocations: 16.8 kB / 368.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.3932, allocations: 0 / 368.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.3932, allocations: 38.5 kB / 368.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.3932, allocations: 0 / 368.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000543/0.3937, allocations: 485.8 kB / 368.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.573e-05/0.3938, allocations: 51.41 kB / 369 MB, free: 452 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.3938, allocations: 103.8 kB / 369.1 MB, free: 348 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3938, allocations: 25.7 kB / 369.1 MB, free: 316 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.3939, allocations: 100 kB / 369.2 MB, free: 212 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3939, allocations: 42.83 kB / 369.2 MB, free: 176 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.3939, allocations: 0 / 369.2 MB, free: 176 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3941, allocations: 314.8 kB / 369.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.3941, allocations: 15 kB / 369.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.3942, allocations: 67.08 kB / 369.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.3942, allocations: 25.02 kB / 369.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3942, allocations: 4 kB / 369.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/0.3944, allocations: 90.19 kB / 369.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3944, allocations: 11.91 kB / 369.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3944, allocations: 0 / 369.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3944, allocations: 7.984 kB / 369.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.3945, allocations: 19.98 kB / 369.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3945, allocations: 7.938 kB / 369.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.3946, allocations: 7.969 kB / 369.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3946, allocations: 4 kB / 369.8 MB, free: 15.62 MB / 266.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 7.4e-05/0.3947, allocations: 108.9 kB / 369.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3947, allocations: 3.906 kB / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.3948, allocations: 11.81 kB / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3948, allocations: 0 / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3948, allocations: 0 / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3948, allocations: 3.984 kB / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.3952, allocations: 375.5 kB / 370.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3952, allocations: 0 / 370.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.3953, allocations: 25.52 kB / 370.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3953, allocations: 0 / 370.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3954, allocations: 4 kB / 370.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3954, allocations: 4.141 kB / 370.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3954, allocations: 8 kB / 370.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3956, allocations: 281.3 kB / 370.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.3957, allocations: 85.12 kB / 370.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3957, allocations: 0 / 370.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.3958, allocations: 4 kB / 370.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.3958, allocations: 11.12 kB / 370.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3958, allocations: 8.062 kB / 370.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.064e-05/0.3958, allocations: 91 kB / 370.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3959, allocations: 0 / 370.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.3961, allocations: 15.95 kB / 370.8 MB, free: 14.52 MB / 266.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.0001214/0.3962, allocations: 95.25 kB / 370.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3964, allocations: 47.5 kB / 370.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3964, allocations: 0 / 370.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.3964, allocations: 31.3 kB / 371 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3966, allocations: 12.42 kB / 371 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.3971, allocations: 250.5 kB / 371.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3974, allocations: 0.6963 MB / 371.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.3974, allocations: 4.672 kB / 371.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.3975, allocations: 11.44 kB / 371.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3975, allocations: 0 / 371.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002264/0.3997, allocations: 0.5396 MB / 372.5 MB, free: 12.81 MB / 266.7 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)