Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.967e-05, allocations: 4 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 50.41 MB / 342.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.559, allocations: 112 MB / 454.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5594, allocations: 98.44 kB / 454.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8878/1.447, allocations: 185.4 MB / 0.625 GB, free: 67.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.332e-06/1.447, allocations: 0 / 0.625 GB, free: 67.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006921/1.448, allocations: 180 kB / 0.6252 GB, free: 67.05 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02809/1.476, allocations: 9.125 MB / 0.6341 GB, free: 57.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.476, allocations: 8.031 kB / 0.6341 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07986/1.556, allocations: 16.65 MB / 0.6504 GB, free: 41.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03672/1.593, allocations: 13.66 MB / 0.6637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006812/1.593, allocations: 0.6259 MB / 0.6643 GB, free: 26.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003714/1.597, allocations: 0.8549 MB / 0.6652 GB, free: 25.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04883/1.646, allocations: 19.15 MB / 0.6839 GB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006379/1.647, allocations: 119 kB / 0.684 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002973/1.65, allocations: 387.9 kB / 0.6844 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002675/1.652, allocations: 1.604 MB / 0.6859 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6726/2.325, allocations: 15.09 MB / 0.7007 GB, free: 64.86 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1188/2.444, allocations: 80.43 MB / 0.7792 GB, free: 18.32 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03016/2.474, allocations: 7.845 MB / 0.7869 GB, free: 15.82 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006741/2.481, allocations: 4.004 MB / 0.7908 GB, free: 14 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02705/2.508, allocations: 14.04 MB / 0.8045 GB, free: 6.309 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/2.508, allocations: 69.11 kB / 0.8046 GB, free: 6.242 MB / 442.8 MB Notification: Performance of pre-optimization done (n=310): time 7.844e-06/2.508, allocations: 0 / 0.8046 GB, free: 6.242 MB / 442.8 MB Notification: Performance of matching and sorting (n=417): time 0.1953/2.703, allocations: 40.59 MB / 0.8442 GB, free: 13.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/2.704, allocations: 410.1 kB / 0.8446 GB, free: 12.61 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01754/2.721, allocations: 6.49 MB / 0.8509 GB, free: 6.855 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009075/2.722, allocations: 93.7 kB / 0.851 GB, free: 6.758 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006226/2.729, allocations: 5.45 MB / 0.8563 GB, free: 1.789 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002471/2.731, allocations: 1.513 MB / 0.8578 GB, free: 452 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/2.732, allocations: 187.9 kB / 0.858 GB, free: 264 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001061/2.733, allocations: 0.714 MB / 0.8587 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009961/2.743, allocations: 4.195 MB / 0.8628 GB, free: 11.86 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01541/2.759, allocations: 9.142 MB / 0.8717 GB, free: 0.832 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3162/3.075, allocations: 6.159 MB / 0.8777 GB, free: 103.4 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/3.075, allocations: 52.66 kB / 0.8778 GB, free: 103.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.0479/3.123, allocations: 16.65 MB / 0.894 GB, free: 102.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/3.123, allocations: 81.83 kB / 0.8941 GB, free: 102.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/3.123, allocations: 174.4 kB / 0.8943 GB, free: 102.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02075/3.144, allocations: 4.901 MB / 0.8991 GB, free: 102.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008974/3.153, allocations: 1.975 MB / 0.901 GB, free: 102.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05367/3.207, allocations: 26.45 MB / 0.9268 GB, free: 96.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/3.217, allocations: 0.5422 MB / 0.9274 GB, free: 96.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/3.219, allocations: 0.511 MB / 0.9279 GB, free: 96.09 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[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],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1056 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003538/3.223, allocations: 0.8112 MB / 0.9286 GB, free: 95.55 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/3.225, allocations: 0.7037 MB / 0.9293 GB, free: 95.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/3.257, allocations: 11.33 MB / 0.9404 GB, free: 91.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/3.257, allocations: 49.47 kB / 0.9404 GB, free: 91.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.683e-05/3.257, allocations: 22.28 kB / 0.9405 GB, free: 91.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-05/3.258, allocations: 21.56 kB / 0.9405 GB, free: 91.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0657/3.323, allocations: 24.69 MB / 0.9646 GB, free: 81.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.726e-05/3.323, allocations: 8 kB / 0.9646 GB, free: 81.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003541/3.327, allocations: 0.575 MB / 0.9652 GB, free: 80.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01869/3.346, allocations: 4.474 MB / 0.9695 GB, free: 77.73 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008955/3.347, allocations: 80.3 kB / 0.9696 GB, free: 77.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04955/3.396, allocations: 23.34 MB / 0.9924 GB, free: 57.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/3.396, allocations: 15.22 kB / 0.9924 GB, free: 57.89 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03817/3.434, allocations: 18.36 MB / 1.01 GB, free: 41.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004458/3.439, allocations: 1.399 MB / 1.012 GB, free: 40.56 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002167/3.441, allocations: 74.77 kB / 1.012 GB, free: 40.49 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005452/3.447, allocations: 262.1 kB / 1.012 GB, free: 40.32 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/3.448, allocations: 295.8 kB / 1.012 GB, free: 40.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007238/3.449, allocations: 116.5 kB / 1.012 GB, free: 40.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01118/3.46, allocations: 4.666 MB / 1.017 GB, free: 35.81 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.342e-06/3.46, allocations: 0 / 1.017 GB, free: 35.81 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01232/3.472, allocations: 2.229 MB / 1.019 GB, free: 33.61 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (288): * Single equations (assignments): 284 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 113} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/3.474, allocations: 273.4 kB / 1.019 GB, free: 33.36 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02007/3.494, allocations: 10.45 MB / 1.03 GB, free: 22.92 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/3.494, allocations: 0 / 1.03 GB, free: 22.92 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009285/3.503, allocations: 4.519 MB / 1.034 GB, free: 18.39 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006692/3.51, allocations: 1.051 MB / 1.035 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3412/3.851, allocations: 18.99 MB / 1.054 GB, free: 99.83 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01838/3.87, allocations: 6.568 MB / 1.06 GB, free: 98.91 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/3.872, allocations: 496.3 kB / 1.06 GB, free: 98.91 MB / 490.8 MB Notification: Performance of SimCode: time 2.049e-06/3.873, allocations: 1.031 kB / 1.06 GB, free: 98.91 MB / 490.8 MB Notification: Performance of Templates: time 0.2298/4.102, allocations: 153.2 MB / 1.21 GB, free: 8.309 MB / 490.8 MB