Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.921e-05, allocations: 0 / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09177, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.554, allocations: 111.9 MB / 455 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/0.5544, allocations: 92.5 kB / 455.1 MB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9991/1.554, allocations: 185.4 MB / 0.6255 GB, free: 67.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.554, allocations: 0 / 0.6255 GB, free: 67.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006584/1.554, allocations: 192 kB / 0.6257 GB, free: 66.83 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.02801/1.582, allocations: 9.122 MB / 0.6346 GB, free: 57.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.582, allocations: 12.03 kB / 0.6346 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08015/1.663, allocations: 16.65 MB / 0.6509 GB, free: 40.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03619/1.699, allocations: 13.66 MB / 0.6642 GB, free: 27.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006268/1.699, allocations: 0.6259 MB / 0.6648 GB, free: 26.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003194/1.703, allocations: 0.8588 MB / 0.6656 GB, free: 25.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/1.75, allocations: 19.16 MB / 0.6843 GB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005427/1.75, allocations: 103 kB / 0.6844 GB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/1.753, allocations: 391.9 kB / 0.6848 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/1.756, allocations: 1.604 MB / 0.6864 GB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.36/2.116, allocations: 15.09 MB / 0.7011 GB, free: 66.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1131/2.229, allocations: 80.42 MB / 0.7797 GB, free: 19.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02843/2.257, allocations: 7.849 MB / 0.7873 GB, free: 17.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006397/2.264, allocations: 4.004 MB / 0.7912 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/2.29, allocations: 14.04 MB / 0.8049 GB, free: 7.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/2.29, allocations: 72.36 kB / 0.805 GB, free: 7.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 7.785e-06/2.29, allocations: 0 / 0.805 GB, free: 7.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=417): time 0.2067/2.497, allocations: 41.47 MB / 0.8455 GB, free: 15.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002687/2.497, allocations: 406.7 kB / 0.8459 GB, free: 15.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01643/2.513, allocations: 6.49 MB / 0.8522 GB, free: 8.613 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000868/2.514, allocations: 93.7 kB / 0.8523 GB, free: 8.516 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006998/2.521, allocations: 5.817 MB / 0.858 GB, free: 2.691 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002567/2.524, allocations: 1.514 MB / 0.8595 GB, free: 1.191 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/2.525, allocations: 188 kB / 0.8597 GB, free: 1.008 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009656/2.526, allocations: 0.6936 MB / 0.8603 GB, free: 316 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2966/2.823, allocations: 4.198 MB / 0.8644 GB, free: 95.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/2.835, allocations: 9.143 MB / 0.8734 GB, free: 89.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/2.848, allocations: 6.157 MB / 0.8794 GB, free: 89.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000306/2.849, allocations: 53.28 kB / 0.8794 GB, free: 89.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.04654/2.895, allocations: 17.01 MB / 0.896 GB, free: 88.87 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/2.895, allocations: 80.95 kB / 0.8961 GB, free: 88.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/2.896, allocations: 171.8 kB / 0.8963 GB, free: 88.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02076/2.916, allocations: 4.903 MB / 0.9011 GB, free: 88.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009279/2.926, allocations: 1.972 MB / 0.903 GB, free: 88.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05259/2.978, allocations: 26.45 MB / 0.9288 GB, free: 78.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.989, allocations: 0.5414 MB / 0.9294 GB, free: 78.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/2.991, allocations: 0.5138 MB / 0.9299 GB, free: 78.31 MB / 474.7 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.002477/2.994, allocations: 0.8103 MB / 0.9306 GB, free: 77.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.995, allocations: 0.705 MB / 0.9313 GB, free: 77.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03003/3.025, allocations: 11.33 MB / 0.9424 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/3.025, allocations: 43.94 kB / 0.9424 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-05/3.025, allocations: 20.62 kB / 0.9425 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-05/3.026, allocations: 23.41 kB / 0.9425 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0604/3.086, allocations: 24.7 MB / 0.9666 GB, free: 57.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/3.086, allocations: 11.94 kB / 0.9666 GB, free: 57.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003527/3.09, allocations: 0.5662 MB / 0.9672 GB, free: 56.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01824/3.108, allocations: 4.473 MB / 0.9715 GB, free: 53.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008449/3.109, allocations: 76 kB / 0.9716 GB, free: 53.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04333/3.152, allocations: 23.33 MB / 0.9944 GB, free: 33.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/3.152, allocations: 11.94 kB / 0.9944 GB, free: 33.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03701/3.189, allocations: 18.38 MB / 1.012 GB, free: 17.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004284/3.193, allocations: 1.395 MB / 1.014 GB, free: 16.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/3.195, allocations: 79.89 kB / 1.014 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005189/3.201, allocations: 255.8 kB / 1.014 GB, free: 16.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/3.202, allocations: 299.2 kB / 1.014 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004833/3.202, allocations: 112.5 kB / 1.014 GB, free: 15.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009689/3.212, allocations: 4.668 MB / 1.019 GB, free: 11.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.214e-06/3.212, allocations: 4 kB / 1.019 GB, free: 11.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01179/3.224, allocations: 2.221 MB / 1.021 GB, free: 9.477 MB / 474.7 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.001177/3.225, allocations: 278.8 kB / 1.021 GB, free: 9.234 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01951/3.245, allocations: 10.44 MB / 1.032 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/3.245, allocations: 1.562 kB / 1.032 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3283/3.573, allocations: 4.518 MB / 1.036 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00672/3.58, allocations: 1.05 MB / 1.037 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04701/3.627, allocations: 17.93 MB / 1.055 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01456/3.641, allocations: 6.572 MB / 1.061 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01159/3.653, allocations: 2.945 MB / 1.064 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/3.655, allocations: 430.1 kB / 1.064 GB, free: 104.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.872e-06/3.655, allocations: 0 / 1.064 GB, free: 104.2 MB / 490.7 MB Notification: Performance of Templates: time 0.2329/3.888, allocations: 93.53 MB / 1.156 GB, free: 54.23 MB / 490.7 MB