Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001339/0.001339, allocations: 184 kB / 8.354 MB, free: 0.7305 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.493/1.493, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001622/0.001622, allocations: 120 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 4 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08244, allocations: 44.49 MB / 342.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4291, allocations: 89.99 MB / 432.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4293, allocations: 84.36 kB / 432.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6181/1.047, allocations: 156.9 MB / 0.5757 GB, free: 65.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.048, allocations: 0 / 0.5757 GB, free: 65.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00089/1.048, allocations: 159.8 kB / 0.5759 GB, free: 65.78 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2383 * Number of variables: 2383 Notification: Performance of Generate backend data structure: time 0.02889/1.077, allocations: 7.88 MB / 0.5836 GB, free: 62.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.077, allocations: 11.19 kB / 0.5836 GB, free: 62.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06288/1.14, allocations: 16.49 MB / 0.5997 GB, free: 62.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03288/1.173, allocations: 13.47 MB / 0.6128 GB, free: 60.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/1.174, allocations: 228 kB / 0.6131 GB, free: 60.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/1.177, allocations: 443 kB / 0.6135 GB, free: 60.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01802/1.196, allocations: 9.46 MB / 0.6227 GB, free: 55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/1.229, allocations: 14.27 MB / 0.6367 GB, free: 41.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008259/1.23, allocations: 110.8 kB / 0.6368 GB, free: 41.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003101/1.233, allocations: 43.81 kB / 0.6368 GB, free: 41.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/1.236, allocations: 1.496 MB / 0.6383 GB, free: 40.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.361/1.597, allocations: 71.2 MB / 0.7078 GB, free: 37.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007583/1.604, allocations: 5.317 MB / 0.713 GB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/1.609, allocations: 3.865 MB / 0.7168 GB, free: 36.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009221/1.61, allocations: 0.8351 MB / 0.7176 GB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/1.61, allocations: 67.09 kB / 0.7176 GB, free: 36.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 5.36e-06/1.61, allocations: 2 kB / 0.7176 GB, free: 36.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=347): time 0.09167/1.702, allocations: 40.32 MB / 0.757 GB, free: 31.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.702, allocations: 401.3 kB / 0.7574 GB, free: 30.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008486/1.71, allocations: 5.45 MB / 0.7627 GB, free: 29.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008128/1.711, allocations: 32.23 kB / 0.7628 GB, free: 28.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003333/1.714, allocations: 5.248 MB / 0.7679 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001832/1.716, allocations: 1.235 MB / 0.7691 GB, free: 24.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/1.717, allocations: 0 / 0.7691 GB, free: 24.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003686/1.717, allocations: 0.665 MB / 0.7697 GB, free: 23.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/1.721, allocations: 3.623 MB / 0.7733 GB, free: 22.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005781/1.727, allocations: 8.378 MB / 0.7815 GB, free: 14.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006171/1.733, allocations: 5.411 MB / 0.7867 GB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.939e-05/1.733, allocations: 44 kB / 0.7868 GB, free: 12.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.03352/1.767, allocations: 15.61 MB / 0.802 GB, free: 128 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.767, allocations: 76 kB / 0.8021 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001545/1.769, allocations: 228.5 kB / 0.8023 GB, free: 0 / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03045/1.799, allocations: 5.402 MB / 0.8076 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/1.812, allocations: 1.855 MB / 0.8094 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07119/1.883, allocations: 26.19 MB / 0.835 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/1.896, allocations: 375.5 kB / 0.8353 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002749/1.899, allocations: 494.8 kB / 0.8358 GB, free: 4.176 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B1.frame_b.r_0[2]:DUMMY_STATE(flow=false unit = "m" ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 761 * 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 (976): * Single equations (assignments): 970 * 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%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.002669/1.902, allocations: 0.5427 MB / 0.8363 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002585/1.905, allocations: 0.6203 MB / 0.8369 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04139/1.946, allocations: 10.6 MB / 0.8473 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/1.946, allocations: 36 kB / 0.8473 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-05/1.946, allocations: 18.84 kB / 0.8473 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/1.946, allocations: 17.3 kB / 0.8474 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3746/2.321, allocations: 22.81 MB / 0.8696 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-05/2.321, allocations: 6.375 kB / 0.8696 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/2.325, allocations: 441.9 kB / 0.8701 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01585/2.34, allocations: 5.01 MB / 0.875 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000619/2.341, allocations: 15.8 kB / 0.875 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02922/2.37, allocations: 24.69 MB / 0.8991 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/2.37, allocations: 16.3 kB / 0.8991 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02735/2.398, allocations: 16.52 MB / 0.9152 GB, free: 99.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/2.402, allocations: 1.227 MB / 0.9164 GB, free: 99.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001684/2.403, allocations: 14.67 kB / 0.9164 GB, free: 99.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/2.407, allocations: 198.8 kB / 0.9166 GB, free: 99.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007896/2.408, allocations: 249.2 kB / 0.9169 GB, free: 99.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/2.408, allocations: 86.16 kB / 0.917 GB, free: 98.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006155/2.414, allocations: 3.807 MB / 0.9207 GB, free: 97.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.793e-06/2.414, allocations: 2.281 kB / 0.9207 GB, free: 97.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009083/2.423, allocations: 1.739 MB / 0.9224 GB, free: 97.64 MB / 458.7 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 (222): * Single equations (assignments): 216 * 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.0006789/2.424, allocations: 166.5 kB / 0.9225 GB, free: 97.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01456/2.439, allocations: 9.605 MB / 0.9319 GB, free: 94.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.439, allocations: 0 / 0.9319 GB, free: 94.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007046/2.446, allocations: 4.348 MB / 0.9362 GB, free: 92.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005398/2.451, allocations: 0.8401 MB / 0.937 GB, free: 92.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/2.479, allocations: 15.58 MB / 0.9522 GB, free: 82.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006979/2.486, allocations: 5.714 MB / 0.9578 GB, free: 78.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006809/2.493, allocations: 2.694 MB / 0.9604 GB, free: 76.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/2.494, allocations: 382.1 kB / 0.9608 GB, free: 76.25 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/2.494, allocations: 0 / 0.9608 GB, free: 76.25 MB / 458.7 MB Notification: Performance of Templates: time 0.3356/2.83, allocations: 76.34 MB / 1.035 GB, free: 99.15 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)