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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 191.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.264, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.09165/0.3557, allocations: 103.4 MB / 428.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04563/0.4014, allocations: 19.84 MB / 448.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02347/0.4249, allocations: 478.7 kB / 448.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.4359, allocations: 5.657 MB / 454.2 MB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2338/0.6697, allocations: 3.121 MB / 457.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.6738, allocations: 1.503 MB / 458.9 MB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.6896, allocations: 11.98 MB / 470.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.7008, allocations: 8.05 MB / 478.9 MB, free: 16.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008948/0.7098, allocations: 3.714 MB / 482.6 MB, free: 16.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.72, allocations: 5.311 MB / 487.9 MB, free: 16.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004055/0.7241, allocations: 0.713 MB / 488.6 MB, free: 16.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005541/0.7297, allocations: 1.691 MB / 490.3 MB, free: 16.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007938/0.7376, allocations: 4.291 MB / 494.6 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009807/0.7475, allocations: 4.516 MB / 499.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02072/0.7682, allocations: 13.43 MB / 0.5005 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.7683, allocations: 4 kB / 0.5005 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7683, allocations: 4 kB / 0.5005 GB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005796/0.7689, allocations: 0 / 0.5005 GB, free: 2.605 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03436/0.8033, allocations: 9.684 MB / 0.51 GB, free: 8.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8033, allocations: 12.03 kB / 0.51 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0455/0.8488, allocations: 5.238 MB / 0.5151 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/0.8718, allocations: 8.187 MB / 0.5231 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/0.8723, allocations: 425.8 kB / 0.5235 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003976/0.8763, allocations: 0.5829 MB / 0.5241 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03568/0.912, allocations: 16.56 MB / 0.5403 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/0.9124, allocations: 100.5 kB / 0.5404 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.9139, allocations: 269.2 kB / 0.5406 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004791/0.9187, allocations: 2.768 MB / 0.5433 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02916/0.9478, allocations: 13.62 MB / 0.5566 GB, free: 9.18 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09721/1.045, allocations: 67.98 MB / 0.623 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3951/1.44, allocations: 7.888 MB / 0.6307 GB, free: 238.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0057/1.446, allocations: 4.506 MB / 0.6351 GB, free: 236.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.468, allocations: 12.44 MB / 0.6473 GB, free: 231.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/1.469, allocations: 66.78 kB / 0.6473 GB, free: 231.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 7.184e-06/1.469, allocations: 0 / 0.6473 GB, free: 231.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.1603/1.629, allocations: 49.26 MB / 0.6954 GB, free: 190 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.629, allocations: 394.1 kB / 0.6958 GB, free: 189.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/1.64, allocations: 7.194 MB / 0.7028 GB, free: 182.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001531/1.642, allocations: 81.53 kB / 0.7029 GB, free: 182.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002827/1.645, allocations: 5.02 MB / 0.7078 GB, free: 177.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/1.647, allocations: 1.263 MB / 0.7091 GB, free: 176 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002643/1.65, allocations: 1.864 MB / 0.7109 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/1.65, allocations: 309.1 kB / 0.7112 GB, free: 173.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005227/1.655, allocations: 4.545 MB / 0.7156 GB, free: 169.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007352/1.662, allocations: 9.275 MB / 0.7247 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.676, allocations: 14.54 MB / 0.7389 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.676, allocations: 52 kB / 0.7389 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03741/1.714, allocations: 19.76 MB / 0.7582 GB, free: 121 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002053/1.714, allocations: 76 kB / 0.7583 GB, free: 121 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/1.714, allocations: 164 kB / 0.7584 GB, free: 120.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01957/1.734, allocations: 7.056 MB / 0.7653 GB, free: 113.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006385/1.74, allocations: 1.93 MB / 0.7672 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04115/1.782, allocations: 35.31 MB / 0.8017 GB, free: 76.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009381/1.791, allocations: 0.5889 MB / 0.8023 GB, free: 75.48 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/1.793, allocations: 0.4947 MB / 0.8028 GB, free: 74.98 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006334/1.799, allocations: 3.484 MB / 0.8062 GB, free: 71.48 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/1.801, allocations: 0.6349 MB / 0.8068 GB, free: 70.84 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02416/1.825, allocations: 13.32 MB / 0.8198 GB, free: 57.45 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-05/1.825, allocations: 32 kB / 0.8198 GB, free: 57.41 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.825, allocations: 20 kB / 0.8198 GB, free: 57.39 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-05/1.825, allocations: 15.95 kB / 0.8199 GB, free: 57.38 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04346/1.869, allocations: 26.74 MB / 0.846 GB, free: 30.13 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/1.869, allocations: 4.75 kB / 0.846 GB, free: 30.13 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.871, allocations: 427.3 kB / 0.8464 GB, free: 29.71 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0178/1.888, allocations: 6.661 MB / 0.8529 GB, free: 23.03 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009599/1.889, allocations: 64 kB / 0.8529 GB, free: 22.97 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2696/2.159, allocations: 34 MB / 0.8861 GB, free: 206.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/2.159, allocations: 14.75 kB / 0.8862 GB, free: 206.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03287/2.192, allocations: 18.77 MB / 0.9045 GB, free: 197.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004276/2.196, allocations: 1.382 MB / 0.9058 GB, free: 196.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/2.199, allocations: 60 kB / 0.9059 GB, free: 196.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005129/2.204, allocations: 303.5 kB / 0.9062 GB, free: 195.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001619/2.205, allocations: 249.8 kB / 0.9064 GB, free: 195.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007541/2.206, allocations: 91.61 kB / 0.9065 GB, free: 195.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00896/2.215, allocations: 4.607 MB / 0.911 GB, free: 191 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.61e-07/2.215, allocations: 0 / 0.911 GB, free: 191 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0137/2.229, allocations: 2.15 MB / 0.9131 GB, free: 188.9 MB / 0.5138 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/2.23, allocations: 212.8 kB / 0.9133 GB, free: 188.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02299/2.253, allocations: 14.45 MB / 0.9274 GB, free: 174.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/2.253, allocations: 5.75 kB / 0.9274 GB, free: 174.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008008/2.261, allocations: 5.017 MB / 0.9323 GB, free: 169.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007984/2.269, allocations: 0.9949 MB / 0.9333 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03735/2.307, allocations: 23.4 MB / 0.9562 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00812/2.315, allocations: 5.559 MB / 0.9616 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006748/2.322, allocations: 2.609 MB / 0.9641 GB, free: 137 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/2.323, allocations: 391.4 kB / 0.9645 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of SimCode: time 8.82e-07/2.323, allocations: 4 kB / 0.9645 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1515/2.475, allocations: 99.28 MB / 1.061 GB, free: 37.29 MB / 0.5138 GB 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)