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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7917/0.7917, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001694/0.001694, allocations: 151.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.82e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03499/0.03503, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04308/0.07815, allocations: 33.32 MB / 238.7 MB, free: 7.051 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001462/0.07834, allocations: 67.97 kB / 238.8 MB, free: 6.984 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003306/0.08165, allocations: 1.3 MB / 240.1 MB, free: 5.672 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08168, allocations: 0 / 240.1 MB, free: 5.672 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.08169, allocations: 4 kB / 240.1 MB, free: 5.668 MB / 186.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.0003296/0.08203, allocations: 342.4 kB / 240.4 MB, free: 5.289 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08208, allocations: 8.031 kB / 240.4 MB, free: 5.281 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.08212, allocations: 11.86 kB / 240.4 MB, free: 5.27 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.08228, allocations: 175 kB / 240.6 MB, free: 5.059 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.0823, allocations: 8 kB / 240.6 MB, free: 5.051 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.08234, allocations: 11.91 kB / 240.6 MB, free: 5.039 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.08248, allocations: 65.62 kB / 240.7 MB, free: 4.969 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.0825, allocations: 7.984 kB / 240.7 MB, free: 4.961 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.08252, allocations: 8 kB / 240.7 MB, free: 4.953 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.08253, allocations: 3.953 kB / 240.7 MB, free: 4.949 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.08261, allocations: 28 kB / 240.7 MB, free: 4.922 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.08323, allocations: 379.5 kB / 241.1 MB, free: 4.492 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.08335, allocations: 58.56 kB / 241.2 MB, free: 4.426 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.08339, allocations: 18.58 kB / 241.2 MB, free: 4.406 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.0834, allocations: 3.984 kB / 241.2 MB, free: 4.402 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.08343, allocations: 38.56 kB / 241.2 MB, free: 4.355 MB / 186.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.08344, allocations: 0 / 241.2 MB, free: 4.355 MB / 186.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006521/0.08409, allocations: 0.4895 MB / 241.7 MB, free: 3.773 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.08414, allocations: 51.41 kB / 241.8 MB, free: 3.711 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.08424, allocations: 117.1 kB / 241.9 MB, free: 3.586 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.08426, allocations: 29.7 kB / 241.9 MB, free: 3.551 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.08432, allocations: 91.95 kB / 242 MB, free: 3.457 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.08435, allocations: 35.69 kB / 242 MB, free: 3.422 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.08436, allocations: 4 kB / 242 MB, free: 3.418 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.08447, allocations: 322.8 kB / 242.3 MB, free: 3.094 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.08452, allocations: 20 kB / 242.4 MB, free: 3.074 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.08458, allocations: 49.16 kB / 242.4 MB, free: 3.008 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.08464, allocations: 31.97 kB / 242.4 MB, free: 2.977 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.08465, allocations: 3.953 kB / 242.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001459/0.0848, allocations: 109.5 kB / 242.6 MB, free: 2.859 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.08482, allocations: 4 kB / 242.6 MB, free: 2.855 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.08483, allocations: 4 kB / 242.6 MB, free: 2.852 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.08485, allocations: 0 / 242.6 MB, free: 2.852 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.08494, allocations: 27.92 kB / 242.6 MB, free: 2.824 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.08496, allocations: 4 kB / 242.6 MB, free: 2.82 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.085, allocations: 4 kB / 242.6 MB, free: 2.816 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.08502, allocations: 4 kB / 242.6 MB, free: 2.812 MB / 186.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.398e-05/0.08509, allocations: 124.9 kB / 242.7 MB, free: 2.684 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.08513, allocations: 7.953 kB / 242.7 MB, free: 2.676 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.08517, allocations: 8.625 kB / 242.7 MB, free: 2.668 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.08517, allocations: 0 / 242.7 MB, free: 2.668 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.08518, allocations: 0 / 242.7 MB, free: 2.668 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.08519, allocations: 0 / 242.7 MB, free: 2.668 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.08565, allocations: 406.6 kB / 243.1 MB, free: 2.199 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.08566, allocations: 4 kB / 243.1 MB, free: 2.195 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.08576, allocations: 23.92 kB / 243.2 MB, free: 2.172 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.08577, allocations: 3.938 kB / 243.2 MB, free: 2.168 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.08579, allocations: 8 kB / 243.2 MB, free: 2.16 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.0858, allocations: 0 / 243.2 MB, free: 2.16 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.0858, allocations: 4 kB / 243.2 MB, free: 2.156 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.08607, allocations: 292.7 kB / 243.5 MB, free: 1.809 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.08612, allocations: 85.05 kB / 243.6 MB, free: 1.707 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.08614, allocations: 0 / 243.6 MB, free: 1.707 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.08621, allocations: 12 kB / 243.6 MB, free: 1.695 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.08624, allocations: 12.02 kB / 243.6 MB, free: 1.684 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.08626, allocations: 7.938 kB / 243.6 MB, free: 1.676 MB / 186.7 MB Notification: Performance of sorting global known variables: time 5.098e-05/0.08631, allocations: 87.28 kB / 243.7 MB, free: 1.59 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08632, allocations: 0 / 243.7 MB, free: 1.59 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.08656, allocations: 24.06 kB / 243.7 MB, free: 1.566 MB / 186.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.0001071/0.08667, allocations: 107.2 kB / 243.8 MB, free: 1.453 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.08679, allocations: 51.88 kB / 243.8 MB, free: 1.402 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0868, allocations: 4 kB / 243.9 MB, free: 1.398 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.08684, allocations: 28.41 kB / 243.9 MB, free: 1.371 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.08706, allocations: 12.42 kB / 243.9 MB, free: 1.359 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.08754, allocations: 273.6 kB / 244.2 MB, free: 1.055 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.0878, allocations: 0.6926 MB / 244.9 MB, free: 344 kB / 186.7 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.08785, allocations: 8.422 kB / 244.9 MB, free: 336 kB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.08788, allocations: 15.44 kB / 244.9 MB, free: 320 kB / 186.7 MB Notification: Performance of SimCode: time 2.51e-07/0.08789, allocations: 3.938 kB / 244.9 MB, free: 316 kB / 186.7 MB Notification: Performance of Templates: time 0.09296/0.1809, allocations: 0.5869 MB / 245.5 MB, free: 42.35 MB / 186.7 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)