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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.995e-05, allocations: 4 kB / 292.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08745, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.4859, allocations: 111.9 MB / 454.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4862, allocations: 90.83 kB / 454.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9598/1.446, allocations: 185.4 MB / 0.625 GB, free: 66.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.869e-06/1.446, allocations: 0 / 0.625 GB, free: 66.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006442/1.447, allocations: 184 kB / 0.6252 GB, free: 66.75 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.02758/1.474, allocations: 9.129 MB / 0.6341 GB, free: 57.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.474, allocations: 8.031 kB / 0.6341 GB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08699/1.561, allocations: 16.65 MB / 0.6504 GB, free: 40.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03533/1.597, allocations: 13.66 MB / 0.6637 GB, free: 27.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/1.597, allocations: 0.622 MB / 0.6643 GB, free: 26.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/1.6, allocations: 0.8588 MB / 0.6651 GB, free: 25.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04341/1.644, allocations: 19.15 MB / 0.6838 GB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/1.644, allocations: 111 kB / 0.6839 GB, free: 5.008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/1.646, allocations: 391.8 kB / 0.6843 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002441/1.648, allocations: 1.608 MB / 0.6859 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3206/1.969, allocations: 15.09 MB / 0.7006 GB, free: 66.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/2.078, allocations: 80.42 MB / 0.7792 GB, free: 19.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02677/2.105, allocations: 7.847 MB / 0.7868 GB, free: 17.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006328/2.111, allocations: 4.005 MB / 0.7907 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02572/2.137, allocations: 14.04 MB / 0.8044 GB, free: 7.719 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/2.137, allocations: 71.52 kB / 0.8045 GB, free: 7.652 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 7.862e-06/2.137, allocations: 0 / 0.8045 GB, free: 7.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=417): time 0.2026/2.339, allocations: 41.47 MB / 0.845 GB, free: 15.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/2.34, allocations: 406.7 kB / 0.8454 GB, free: 15.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/2.356, allocations: 6.492 MB / 0.8517 GB, free: 8.562 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009144/2.357, allocations: 97.22 kB / 0.8518 GB, free: 8.465 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006959/2.364, allocations: 5.818 MB / 0.8575 GB, free: 2.637 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002558/2.367, allocations: 1.509 MB / 0.859 GB, free: 1.141 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/2.368, allocations: 188 kB / 0.8592 GB, free: 0.957 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008814/2.369, allocations: 0.6934 MB / 0.8598 GB, free: 264 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2981/2.667, allocations: 4.198 MB / 0.8639 GB, free: 95.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/2.679, allocations: 9.14 MB / 0.8729 GB, free: 89.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/2.692, allocations: 6.156 MB / 0.8789 GB, free: 89.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/2.692, allocations: 52.5 kB / 0.8789 GB, free: 89.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.0435/2.735, allocations: 17 MB / 0.8955 GB, free: 88.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/2.736, allocations: 82.92 kB / 0.8956 GB, free: 88.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/2.736, allocations: 173.1 kB / 0.8958 GB, free: 88.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/2.755, allocations: 4.903 MB / 0.9006 GB, free: 88.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/2.763, allocations: 1.975 MB / 0.9025 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0471/2.81, allocations: 26.45 MB / 0.9283 GB, free: 78.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009815/2.82, allocations: 0.5471 MB / 0.9288 GB, free: 78.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/2.822, allocations: 0.5108 MB / 0.9293 GB, free: 78.17 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.00201/2.824, allocations: 0.8105 MB / 0.9301 GB, free: 77.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/2.826, allocations: 0.7093 MB / 0.9308 GB, free: 77.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02939/2.855, allocations: 11.33 MB / 0.9419 GB, free: 73.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/2.855, allocations: 44.09 kB / 0.9419 GB, free: 73.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/2.855, allocations: 23.03 kB / 0.942 GB, free: 73.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-05/2.855, allocations: 19.08 kB / 0.942 GB, free: 73.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05767/2.913, allocations: 24.7 MB / 0.9661 GB, free: 57.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/2.913, allocations: 8 kB / 0.9661 GB, free: 57.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/2.917, allocations: 0.5733 MB / 0.9667 GB, free: 56.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01817/2.935, allocations: 4.469 MB / 0.971 GB, free: 53.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008403/2.936, allocations: 79.33 kB / 0.9711 GB, free: 53.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04281/2.978, allocations: 23.33 MB / 0.9939 GB, free: 33.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/2.978, allocations: 11.94 kB / 0.9939 GB, free: 33.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03719/3.016, allocations: 18.37 MB / 1.012 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004262/3.02, allocations: 1.403 MB / 1.013 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/3.022, allocations: 80.75 kB / 1.013 GB, free: 16.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004869/3.027, allocations: 258.7 kB / 1.014 GB, free: 16.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/3.028, allocations: 289.3 kB / 1.014 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004889/3.029, allocations: 115.3 kB / 1.014 GB, free: 15.78 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01082/3.039, allocations: 4.672 MB / 1.018 GB, free: 11.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.044e-06/3.039, allocations: 1.312 kB / 1.018 GB, free: 11.65 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01201/3.051, allocations: 2.219 MB / 1.021 GB, free: 9.453 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.00121/3.053, allocations: 272.8 kB / 1.021 GB, free: 9.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02043/3.073, allocations: 10.45 MB / 1.031 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/3.073, allocations: 4 kB / 1.031 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2931/3.366, allocations: 4.518 MB / 1.036 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006644/3.373, allocations: 1.042 MB / 1.037 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04529/3.418, allocations: 17.93 MB / 1.054 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/3.432, allocations: 6.571 MB / 1.06 GB, free: 104.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01051/3.443, allocations: 2.944 MB / 1.063 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/3.444, allocations: 434.2 kB / 1.064 GB, free: 104.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.595e-06/3.444, allocations: 0 / 1.064 GB, free: 104.3 MB / 490.7 MB Notification: Performance of Templates: time 0.2266/3.671, allocations: 93.53 MB / 1.155 GB, free: 54.16 MB / 490.7 MB