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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001541/0.001541, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004176/0.0004177, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2548, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.08784/0.3427, allocations: 95.47 MB / 421.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05649/0.3992, allocations: 21.45 MB / 443.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02732/0.4267, allocations: 0.4948 MB / 443.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01956/0.4462, allocations: 4.814 MB / 448.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2679/0.7142, allocations: 13.73 MB / 462.4 MB, free: 5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00772/0.722, allocations: 1.479 MB / 463.9 MB, free: 4.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1039/0.8258, allocations: 77.88 MB / 0.5291 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.84, allocations: 9.24 MB / 0.5381 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00622/0.8463, allocations: 2.544 MB / 0.5406 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006509/0.8528, allocations: 3.262 MB / 0.5438 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001968/0.8548, allocations: 292 kB / 0.544 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.8587, allocations: 1.112 MB / 0.5451 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004596/0.8633, allocations: 3.55 MB / 0.5486 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002764/0.8661, allocations: 1.66 MB / 0.5502 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.88, allocations: 11.67 MB / 0.5616 GB, free: 7.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.88, allocations: 4 kB / 0.5616 GB, free: 7.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.88, allocations: 0 / 0.5616 GB, free: 7.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005351/0.8806, allocations: 0 / 0.5616 GB, free: 7.969 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.0285/0.9091, allocations: 9.201 MB / 0.5706 GB, free: 15.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9091, allocations: 12.03 kB / 0.5706 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3042/1.213, allocations: 29.83 MB / 0.5997 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02375/1.237, allocations: 9.344 MB / 0.6089 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000572/1.238, allocations: 441.2 kB / 0.6093 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003089/1.241, allocations: 0.612 MB / 0.6099 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3928/1.634, allocations: 17.07 MB / 0.6265 GB, free: 207.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005929/1.634, allocations: 101.8 kB / 0.6266 GB, free: 207.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.636, allocations: 277 kB / 0.6269 GB, free: 207.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005012/1.641, allocations: 2.861 MB / 0.6297 GB, free: 207.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03/1.671, allocations: 13.54 MB / 0.6429 GB, free: 202.5 MB / 494.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.08381/1.755, allocations: 68.19 MB / 0.7095 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/1.772, allocations: 7.257 MB / 0.7166 GB, free: 129.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02064/1.792, allocations: 12.21 MB / 0.7285 GB, free: 116.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/1.793, allocations: 70.86 kB / 0.7286 GB, free: 116.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 5.41e-06/1.793, allocations: 0 / 0.7286 GB, free: 116.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=365): time 0.1429/1.935, allocations: 42.05 MB / 0.7697 GB, free: 74.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.936, allocations: 406.2 kB / 0.7701 GB, free: 74.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/1.951, allocations: 8.145 MB / 0.778 GB, free: 66.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.952, allocations: 81.7 kB / 0.7781 GB, free: 66.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004898/1.957, allocations: 5.39 MB / 0.7834 GB, free: 60.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002917/1.96, allocations: 1.33 MB / 0.7846 GB, free: 59.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.962, allocations: 176 kB / 0.7848 GB, free: 59.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007667/1.962, allocations: 0.6619 MB / 0.7855 GB, free: 58.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005905/1.968, allocations: 3.667 MB / 0.789 GB, free: 54.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008331/1.977, allocations: 8.438 MB / 0.7973 GB, free: 44.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007681/1.984, allocations: 5.432 MB / 0.8026 GB, free: 38.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/1.984, allocations: 44 kB / 0.8026 GB, free: 38.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.03125/2.016, allocations: 15.34 MB / 0.8176 GB, free: 23.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/2.016, allocations: 76 kB / 0.8177 GB, free: 23.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003092/2.016, allocations: 168 kB / 0.8178 GB, free: 22.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/2.028, allocations: 4.061 MB / 0.8218 GB, free: 18.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006332/2.034, allocations: 1.84 MB / 0.8236 GB, free: 17.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2544/2.289, allocations: 26.45 MB / 0.8494 GB, free: 179.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008662/2.297, allocations: 0.4986 MB / 0.8499 GB, free: 179.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.299, allocations: 498.5 kB / 0.8504 GB, free: 179.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * Number of states: 0 () * Number of discrete variables: 72 (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.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],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 (988): * Single equations (assignments): 982 * 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 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.006526/2.306, allocations: 3.613 MB / 0.8539 GB, free: 178.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/2.307, allocations: 0.6834 MB / 0.8546 GB, free: 178.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/2.323, allocations: 9.398 MB / 0.8638 GB, free: 174.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.205e-05/2.323, allocations: 36.78 kB / 0.8638 GB, free: 174.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.653e-05/2.323, allocations: 22.5 kB / 0.8638 GB, free: 174.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.585e-05/2.323, allocations: 21.17 kB / 0.8638 GB, free: 174.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03884/2.362, allocations: 20.37 MB / 0.8837 GB, free: 167.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/2.362, allocations: 7.938 kB / 0.8837 GB, free: 167.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/2.365, allocations: 456.6 kB / 0.8842 GB, free: 167.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/2.375, allocations: 3.83 MB / 0.8879 GB, free: 164.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007911/2.376, allocations: 68 kB / 0.888 GB, free: 164.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03147/2.408, allocations: 25.76 MB / 0.9131 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/2.408, allocations: 16.03 kB / 0.9132 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02332/2.431, allocations: 15.66 MB / 0.9285 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005698/2.437, allocations: 1.309 MB / 0.9297 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003461/2.44, allocations: 71.98 kB / 0.9298 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005612/2.446, allocations: 232.4 kB / 0.93 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/2.448, allocations: 271.4 kB / 0.9303 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007545/2.448, allocations: 92 kB / 0.9304 GB, free: 121.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0111/2.459, allocations: 5.354 MB / 0.9356 GB, free: 115.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.011e-06/2.46, allocations: 0 / 0.9356 GB, free: 115.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01366/2.473, allocations: 2.037 MB / 0.9376 GB, free: 113.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (241): * Single equations (assignments): 235 * 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 {(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.001597/2.475, allocations: 248 kB / 0.9378 GB, free: 113.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01787/2.493, allocations: 9.632 MB / 0.9472 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/2.493, allocations: 4 kB / 0.9472 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008177/2.501, allocations: 4.348 MB / 0.9515 GB, free: 99.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/2.509, allocations: 1.015 MB / 0.9525 GB, free: 98.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04643/2.555, allocations: 21.64 MB / 0.9736 GB, free: 77.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009779/2.565, allocations: 5.936 MB / 0.9794 GB, free: 71.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007883/2.573, allocations: 2.788 MB / 0.9821 GB, free: 68.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/2.574, allocations: 431.4 kB / 0.9825 GB, free: 67.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.512e-06/2.574, allocations: 0 / 0.9825 GB, free: 67.93 MB / 494.1 MB Notification: Performance of Templates: time 0.3754/2.95, allocations: 88 MB / 1.068 GB, free: 155.7 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: