Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6244/0.6244, allocations: 110.9 MB / 125.9 MB, free: 6.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001707/0.001707, allocations: 138.7 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002567, allocations: 4 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1163, allocations: 25.16 MB / 210.1 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05854/0.1749, allocations: 51.22 MB / 261.3 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.1752, allocations: 75.97 kB / 261.4 MB, free: 14.48 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.185, allocations: 274.8 MB / 0.5236 GB, free: 16.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.185, allocations: 0 / 0.5236 GB, free: 16.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000569/1.186, allocations: 196.5 kB / 0.5237 GB, free: 16.34 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: 3136 * Number of variables: 3136 Notification: Performance of Generate backend data structure: time 0.04466/1.23, allocations: 13.36 MB / 0.5368 GB, free: 12.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.23, allocations: 7.406 kB / 0.5368 GB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1706/1.401, allocations: 40.61 MB / 0.5764 GB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2309/1.632, allocations: 16.05 MB / 0.5921 GB, free: 28.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/1.633, allocations: 0.6925 MB / 0.5928 GB, free: 28.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007322/1.64, allocations: 0.9224 MB / 0.5937 GB, free: 28.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.119/1.759, allocations: 38.7 MB / 0.6315 GB, free: 25.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005922/1.76, allocations: 88.58 kB / 0.6316 GB, free: 25.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005171/1.765, allocations: 407.2 kB / 0.632 GB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04519/1.81, allocations: 11.21 MB / 0.6429 GB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1064/1.917, allocations: 39.36 MB / 0.6813 GB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.914/2.831, allocations: 162.8 MB / 0.8403 GB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03464/2.866, allocations: 12.89 MB / 0.8529 GB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09154/2.957, allocations: 32.26 MB / 0.8844 GB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.446e-05/2.957, allocations: 67.09 kB / 0.8845 GB, free: 21.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 8.005e-06/2.957, allocations: 0 / 0.8845 GB, free: 21.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=444): time 0.3698/3.327, allocations: 62.91 MB / 0.9459 GB, free: 67.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/3.327, allocations: 411.7 kB / 0.9463 GB, free: 66.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01577/3.343, allocations: 7.92 MB / 0.9541 GB, free: 66.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001219/3.344, allocations: 92.91 kB / 0.9542 GB, free: 66.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004527/3.349, allocations: 6.613 MB / 0.9606 GB, free: 62.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002038/3.351, allocations: 1.634 MB / 0.9622 GB, free: 61.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009667/3.352, allocations: 221 kB / 0.9624 GB, free: 61.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004428/3.352, allocations: 0.7716 MB / 0.9632 GB, free: 61.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02084/3.373, allocations: 8.326 MB / 0.9713 GB, free: 61.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02481/3.398, allocations: 14.6 MB / 0.9856 GB, free: 53.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0211/3.419, allocations: 9.465 MB / 0.9948 GB, free: 50.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002509/3.42, allocations: 62.44 kB / 0.9949 GB, free: 50.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.06303/3.483, allocations: 24.86 MB / 1.019 GB, free: 40.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/3.483, allocations: 97.88 kB / 1.019 GB, free: 40.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003243/3.483, allocations: 220 kB / 1.019 GB, free: 40.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/3.494, allocations: 3.661 MB / 1.023 GB, free: 37.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008648/3.502, allocations: 2.505 MB / 1.025 GB, free: 35.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2122/3.715, allocations: 24.56 MB / 1.049 GB, free: 54.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01829/3.733, allocations: 1.9 MB / 1.051 GB, free: 54.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003708/3.737, allocations: 0.8217 MB / 1.052 GB, free: 54.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 997 * Number of states: 0 () * Number of discrete variables: 69 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1301): * Single equations (assignments): 1286 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.01366/3.75, allocations: 4.338 MB / 1.056 GB, free: 54.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002539/3.753, allocations: 0.7944 MB / 1.057 GB, free: 54.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02427/3.777, allocations: 10.63 MB / 1.068 GB, free: 54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01088/3.788, allocations: 2.497 MB / 1.07 GB, free: 54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001412/3.788, allocations: 22.09 kB / 1.07 GB, free: 54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001703/3.788, allocations: 22.72 kB / 1.07 GB, free: 54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08526/3.874, allocations: 31.23 MB / 1.1 GB, free: 50.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/3.874, allocations: 7.344 kB / 1.1 GB, free: 50.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/3.877, allocations: 0.5383 MB / 1.101 GB, free: 50.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009215/3.886, allocations: 3.359 MB / 1.104 GB, free: 49.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/3.887, allocations: 150.9 kB / 1.104 GB, free: 49.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02724/3.914, allocations: 23.19 MB / 1.127 GB, free: 37.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/3.914, allocations: 12.69 kB / 1.127 GB, free: 37.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.242/4.156, allocations: 28.03 MB / 1.154 GB, free: 54.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007006/4.163, allocations: 1.759 MB / 1.156 GB, free: 54.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002569/4.166, allocations: 82.06 kB / 1.156 GB, free: 54.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/4.176, allocations: 1.468 MB / 1.158 GB, free: 54.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/4.178, allocations: 303.1 kB / 1.158 GB, free: 54.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006378/4.178, allocations: 276.7 kB / 1.158 GB, free: 54.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01327/4.192, allocations: 5.693 MB / 1.164 GB, free: 54.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/4.192, allocations: 0 / 1.164 GB, free: 54.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01586/4.208, allocations: 2.485 MB / 1.166 GB, free: 54.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 2 (Inertia.phi,Inertia.w) * 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 (303): * Single equations (assignments): 288 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/4.209, allocations: 244.4 kB / 1.166 GB, free: 54.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.04818/4.257, allocations: 19.15 MB / 1.185 GB, free: 53.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/4.257, allocations: 2.594 kB / 1.185 GB, free: 53.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02177/4.279, allocations: 8.527 MB / 1.194 GB, free: 53.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008111/4.287, allocations: 1.057 MB / 1.195 GB, free: 53.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05703/4.344, allocations: 29.44 MB / 1.223 GB, free: 43.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/4.356, allocations: 6.987 MB / 1.23 GB, free: 39.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.01213/4.368, allocations: 4.001 MB / 1.234 GB, free: 37.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003156/4.371, allocations: 0.8524 MB / 1.235 GB, free: 36.48 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/4.371, allocations: 1.641 kB / 1.235 GB, free: 36.48 MB / 314.7 MB Notification: Performance of Templates: time 0.3463/4.718, allocations: 117 MB / 1.349 GB, free: 19.27 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)