Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001281/0.001281, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.468/1.468, allocations: 205.1 MB / 222 MB, free: 4.957 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.00113/0.00113, allocations: 47.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2311, allocations: 46.63 MB / 324.7 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.09851/0.3296, allocations: 103.4 MB / 428.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05385/0.3835, allocations: 19.96 MB / 448 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02548/0.4091, allocations: 474.8 kB / 448.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.4214, allocations: 5.856 MB / 454.4 MB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2557/0.6772, allocations: 3.183 MB / 457.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.6811, allocations: 1.46 MB / 459 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01963/0.7008, allocations: 15.88 MB / 474.9 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.7137, allocations: 7.499 MB / 482.4 MB, free: 16.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007973/0.7218, allocations: 3.214 MB / 485.6 MB, free: 16.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009657/0.7315, allocations: 5.094 MB / 490.7 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003805/0.7353, allocations: 483.8 kB / 491.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005733/0.7411, allocations: 1.503 MB / 492.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00672/0.7478, allocations: 4.032 MB / 496.7 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008971/0.7568, allocations: 4.233 MB / 0.4892 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02047/0.7773, allocations: 13.15 MB / 0.502 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.7774, allocations: 4 kB / 0.502 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7774, allocations: 0 / 0.502 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007186/0.7782, allocations: 0 / 0.502 GB, free: 0.8438 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.03131/0.8095, allocations: 9.691 MB / 0.5115 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.8096, allocations: 12.03 kB / 0.5115 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04435/0.8539, allocations: 5.243 MB / 0.5166 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02384/0.8778, allocations: 8.19 MB / 0.5246 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005392/0.8784, allocations: 424.3 kB / 0.525 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003082/0.8815, allocations: 0.5824 MB / 0.5256 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04018/0.9217, allocations: 16.56 MB / 0.5418 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000536/0.9223, allocations: 91.92 kB / 0.5419 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002871/0.9252, allocations: 267.2 kB / 0.5421 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005421/0.9306, allocations: 2.769 MB / 0.5448 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03459/0.9653, allocations: 13.62 MB / 0.5581 GB, free: 7.41 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.1111/1.076, allocations: 67.98 MB / 0.6245 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4021/1.478, allocations: 7.898 MB / 0.6322 GB, free: 237.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005454/1.484, allocations: 4.518 MB / 0.6366 GB, free: 237.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02195/1.506, allocations: 12.43 MB / 0.6488 GB, free: 231.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/1.506, allocations: 63.25 kB / 0.6488 GB, free: 231.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 1.384e-05/1.506, allocations: 0 / 0.6488 GB, free: 231.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.1722/1.678, allocations: 49.27 MB / 0.6969 GB, free: 188.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/1.679, allocations: 406 kB / 0.6973 GB, free: 187.7 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/1.696, allocations: 7.183 MB / 0.7043 GB, free: 180.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/1.697, allocations: 77.7 kB / 0.7044 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004034/1.702, allocations: 5.032 MB / 0.7093 GB, free: 175.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/1.704, allocations: 1.259 MB / 0.7106 GB, free: 174.2 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003146/1.707, allocations: 1.868 MB / 0.7124 GB, free: 172.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/1.707, allocations: 305.1 kB / 0.7127 GB, free: 172 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/1.713, allocations: 4.543 MB / 0.7171 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008454/1.721, allocations: 9.274 MB / 0.7262 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/1.738, allocations: 14.54 MB / 0.7404 GB, free: 139 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/1.738, allocations: 44 kB / 0.7404 GB, free: 139 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04227/1.78, allocations: 19.76 MB / 0.7597 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.936e-05/1.78, allocations: 72 kB / 0.7598 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/1.781, allocations: 168.1 kB / 0.7599 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01983/1.8, allocations: 7.039 MB / 0.7668 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.807, allocations: 1.93 MB / 0.7687 GB, free: 110 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03922/1.846, allocations: 33.16 MB / 0.8011 GB, free: 76.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008538/1.855, allocations: 0.5818 MB / 0.8016 GB, free: 75.82 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/1.857, allocations: 0.4898 MB / 0.8021 GB, free: 75.33 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.008673/1.866, allocations: 3.484 MB / 0.8055 GB, free: 71.83 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002287/1.868, allocations: 0.6402 MB / 0.8062 GB, free: 71.18 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02652/1.895, allocations: 13.31 MB / 0.8192 GB, free: 57.79 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-05/1.895, allocations: 39.94 kB / 0.8192 GB, free: 57.75 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.019e-05/1.895, allocations: 20.06 kB / 0.8192 GB, free: 57.73 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-05/1.895, allocations: 19.95 kB / 0.8192 GB, free: 57.71 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05428/1.949, allocations: 26.73 MB / 0.8453 GB, free: 30.47 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.785e-05/1.949, allocations: 8.094 kB / 0.8453 GB, free: 30.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.952, allocations: 427.3 kB / 0.8458 GB, free: 30.04 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0182/1.97, allocations: 6.66 MB / 0.8523 GB, free: 23.36 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.971, allocations: 65.7 kB / 0.8523 GB, free: 23.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2854/2.256, allocations: 31.91 MB / 0.8835 GB, free: 208 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.256, allocations: 11.22 kB / 0.8835 GB, free: 208 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03148/2.288, allocations: 18.77 MB / 0.9018 GB, free: 199.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/2.292, allocations: 1.391 MB / 0.9032 GB, free: 198.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002228/2.295, allocations: 60 kB / 0.9032 GB, free: 198.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004466/2.299, allocations: 307.5 kB / 0.9035 GB, free: 197.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/2.3, allocations: 244.4 kB / 0.9038 GB, free: 197.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/2.3, allocations: 87.98 kB / 0.9038 GB, free: 197.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008054/2.309, allocations: 4.603 MB / 0.9083 GB, free: 193 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.31e-07/2.309, allocations: 0 / 0.9083 GB, free: 193 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009864/2.318, allocations: 2.149 MB / 0.9104 GB, free: 190.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.00092/2.319, allocations: 217 kB / 0.9106 GB, free: 190.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.336, allocations: 11.59 MB / 0.922 GB, free: 179.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/2.336, allocations: 0 / 0.922 GB, free: 179.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007741/2.344, allocations: 5.007 MB / 0.9269 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008651/2.352, allocations: 0.9252 MB / 0.9278 GB, free: 173.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04318/2.396, allocations: 23.42 MB / 0.9506 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/2.408, allocations: 5.555 MB / 0.9561 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008517/2.417, allocations: 2.618 MB / 0.9586 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/2.419, allocations: 391.4 kB / 0.959 GB, free: 141.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.884e-06/2.419, allocations: 0 / 0.959 GB, free: 141.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1586/2.578, allocations: 95.46 MB / 1.052 GB, free: 45.96 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)