Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009869/0.0009871, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.238/1.238, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001561/0.001561, allocations: 102.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.409e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.0923, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4707, allocations: 84.91 MB / 392.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.471, allocations: 79.58 kB / 392.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5861/1.057, allocations: 160 MB / 0.5397 GB, free: 47.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.057, allocations: 0 / 0.5397 GB, free: 47.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004475/1.058, allocations: 152 kB / 0.5398 GB, free: 47.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2382 * Number of variables: 2382 Notification: Performance of Generate backend data structure: time 0.02484/1.082, allocations: 7.881 MB / 0.5475 GB, free: 39.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.083, allocations: 12.03 kB / 0.5475 GB, free: 39.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05788/1.14, allocations: 16.49 MB / 0.5636 GB, free: 23.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02982/1.17, allocations: 13.49 MB / 0.5768 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/1.171, allocations: 0.5177 MB / 0.5773 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003463/1.174, allocations: 0.726 MB / 0.578 GB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5022/1.676, allocations: 16.25 MB / 0.5939 GB, free: 42.68 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005152/1.677, allocations: 111.8 kB / 0.594 GB, free: 42.68 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/1.678, allocations: 331 kB / 0.5943 GB, free: 42.68 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002837/1.681, allocations: 1.485 MB / 0.5958 GB, free: 42.67 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03043/1.712, allocations: 12.72 MB / 0.6082 GB, free: 42.6 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08575/1.798, allocations: 73.31 MB / 0.6798 GB, free: 10.35 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.816, allocations: 7.452 MB / 0.6871 GB, free: 7.969 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006067/1.822, allocations: 3.955 MB / 0.6909 GB, free: 6.238 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/1.842, allocations: 11.61 MB / 0.7023 GB, free: 14.65 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/1.842, allocations: 80.28 kB / 0.7023 GB, free: 14.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=280): time 6.351e-06/1.842, allocations: 0 / 0.7023 GB, free: 14.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=339): time 0.39/2.232, allocations: 38.06 MB / 0.7395 GB, free: 89.16 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/2.232, allocations: 404.6 kB / 0.7399 GB, free: 88.72 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01657/2.249, allocations: 6.178 MB / 0.7459 GB, free: 88.34 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/2.25, allocations: 82.31 kB / 0.746 GB, free: 88.31 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007292/2.257, allocations: 5.223 MB / 0.7511 GB, free: 87.15 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002318/2.26, allocations: 1.245 MB / 0.7523 GB, free: 86.41 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008876/2.26, allocations: 163.1 kB / 0.7525 GB, free: 86.41 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0004751/2.261, allocations: 0.6527 MB / 0.7531 GB, free: 86.09 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005892/2.267, allocations: 3.72 MB / 0.7567 GB, free: 86.07 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008266/2.275, allocations: 8.374 MB / 0.7649 GB, free: 80.11 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008/2.283, allocations: 5.48 MB / 0.7703 GB, free: 80.05 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/2.283, allocations: 44.22 kB / 0.7703 GB, free: 80.05 MB / 394.8 MB Notification: Performance of matching and sorting (n=1080) (initialization): time 0.04012/2.323, allocations: 16.55 MB / 0.7865 GB, free: 76.4 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/2.324, allocations: 74.41 kB / 0.7865 GB, free: 76.4 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/2.324, allocations: 160.9 kB / 0.7867 GB, free: 76.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/2.34, allocations: 5.499 MB / 0.7921 GB, free: 75.49 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006842/2.347, allocations: 1.788 MB / 0.7938 GB, free: 75.28 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03392/2.381, allocations: 28.02 MB / 0.8212 GB, free: 62.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009238/2.39, allocations: 0.5116 MB / 0.8217 GB, free: 61.93 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/2.392, allocations: 478.1 kB / 0.8221 GB, free: 61.47 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 737 * Number of states: 0 () * Number of discrete variables: 63 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[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],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (944): * Single equations (assignments): 938 * Array equations: 3 * 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 {(8,51.6%) 93,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.001576/2.394, allocations: 0.7393 MB / 0.8229 GB, free: 60.74 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/2.395, allocations: 0.6594 MB / 0.8235 GB, free: 60.08 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02151/2.417, allocations: 10.87 MB / 0.8341 GB, free: 51.75 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-05/2.417, allocations: 37.02 kB / 0.8342 GB, free: 51.72 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.354e-05/2.417, allocations: 16 kB / 0.8342 GB, free: 51.7 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.037e-05/2.417, allocations: 21.62 kB / 0.8342 GB, free: 51.7 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04421/2.461, allocations: 23.93 MB / 0.8576 GB, free: 31.96 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/2.461, allocations: 8 kB / 0.8576 GB, free: 31.95 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/2.463, allocations: 435.5 kB / 0.858 GB, free: 31.61 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/2.477, allocations: 5.084 MB / 0.8629 GB, free: 27.43 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000709/2.478, allocations: 67.95 kB / 0.863 GB, free: 27.37 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2684/2.747, allocations: 26.71 MB / 0.8891 GB, free: 77.79 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/2.747, allocations: 11.84 kB / 0.8891 GB, free: 77.79 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02741/2.774, allocations: 16.76 MB / 0.9055 GB, free: 75.64 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005298/2.779, allocations: 1.268 MB / 0.9067 GB, free: 75.55 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/2.781, allocations: 67.08 kB / 0.9068 GB, free: 75.55 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/2.784, allocations: 249.6 kB / 0.907 GB, free: 75.55 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008261/2.785, allocations: 243 kB / 0.9072 GB, free: 75.54 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/2.785, allocations: 93.23 kB / 0.9073 GB, free: 75.54 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.007539/2.793, allocations: 4.456 MB / 0.9117 GB, free: 75.29 MB / 394.8 MB Notification: Performance of sort global known variables: time 2e-07/2.793, allocations: 0 / 0.9117 GB, free: 75.29 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01049/2.804, allocations: 1.964 MB / 0.9136 GB, free: 75.29 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 208 * Array equations: 3 * 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 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009466/2.805, allocations: 211 kB / 0.9138 GB, free: 75.2 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01636/2.821, allocations: 9.984 MB / 0.9235 GB, free: 71.89 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/2.821, allocations: 6.578 kB / 0.9236 GB, free: 71.89 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007285/2.828, allocations: 4.417 MB / 0.9279 GB, free: 70 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006136/2.834, allocations: 0.9794 MB / 0.9288 GB, free: 69.64 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/2.871, allocations: 15.74 MB / 0.9442 GB, free: 64.09 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009006/2.88, allocations: 5.707 MB / 0.9498 GB, free: 62.28 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.007635/2.887, allocations: 2.634 MB / 0.9523 GB, free: 60.74 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/2.889, allocations: 390.7 kB / 0.9527 GB, free: 60.37 MB / 394.8 MB Notification: Performance of SimCode: time 1.523e-06/2.889, allocations: 0 / 0.9527 GB, free: 60.37 MB / 394.8 MB Notification: Performance of Templates: time 0.3797/3.268, allocations: 83.85 MB / 1.035 GB, free: 76.98 MB / 394.8 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)