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_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 1.795/1.795, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.669e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07734/0.07739, allocations: 44.49 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4395, allocations: 103.8 MB / 403.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4398, allocations: 87.53 kB / 403.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9241/1.364, allocations: 182.4 MB / 0.5724 GB, free: 57.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.342e-06/1.364, allocations: 0 / 0.5724 GB, free: 57.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006955/1.365, allocations: 182.8 kB / 0.5726 GB, free: 57.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.02885/1.394, allocations: 9.151 MB / 0.5815 GB, free: 53.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.394, allocations: 6.75 kB / 0.5815 GB, free: 53.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08558/1.479, allocations: 16.65 MB / 0.5978 GB, free: 50.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03818/1.517, allocations: 14.59 MB / 0.6121 GB, free: 36.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/1.518, allocations: 0.631 MB / 0.6127 GB, free: 35.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003333/1.521, allocations: 0.8556 MB / 0.6135 GB, free: 34.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1102/1.632, allocations: 19.14 MB / 0.6322 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008716/1.633, allocations: 119 kB / 0.6323 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004363/1.637, allocations: 393 kB / 0.6327 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/1.64, allocations: 1.593 MB / 0.6342 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04107/1.681, allocations: 15.09 MB / 0.649 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.457/2.138, allocations: 80.53 MB / 0.7276 GB, free: 48.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02822/2.166, allocations: 7.806 MB / 0.7352 GB, free: 47.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006467/2.173, allocations: 4.001 MB / 0.7392 GB, free: 46.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02648/2.199, allocations: 14.11 MB / 0.7529 GB, free: 39.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/2.199, allocations: 70.5 kB / 0.753 GB, free: 39.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=308): time 7.743e-06/2.199, allocations: 0 / 0.753 GB, free: 39.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=408): time 0.2015/2.401, allocations: 38.04 MB / 0.7902 GB, free: 28.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/2.401, allocations: 402.7 kB / 0.7905 GB, free: 28.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02468/2.426, allocations: 6.576 MB / 0.797 GB, free: 23.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001293/2.427, allocations: 93.06 kB / 0.797 GB, free: 23.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006886/2.434, allocations: 5.851 MB / 0.8028 GB, free: 18.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/2.436, allocations: 1.487 MB / 0.8042 GB, free: 16.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009638/2.437, allocations: 184 kB / 0.8044 GB, free: 16.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006936/2.438, allocations: 0.6983 MB / 0.8051 GB, free: 16.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007786/2.445, allocations: 4.093 MB / 0.8091 GB, free: 12.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01394/2.459, allocations: 9.059 MB / 0.8179 GB, free: 1.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2793/2.739, allocations: 6.535 MB / 0.8243 GB, free: 90.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/2.739, allocations: 49.69 kB / 0.8243 GB, free: 90.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.04498/2.784, allocations: 16.59 MB / 0.8405 GB, free: 90 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/2.784, allocations: 80.59 kB / 0.8406 GB, free: 90 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/2.784, allocations: 172.5 kB / 0.8408 GB, free: 90 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02/2.804, allocations: 4.698 MB / 0.8454 GB, free: 89.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008867/2.813, allocations: 1.966 MB / 0.8473 GB, free: 89.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04824/2.862, allocations: 25.13 MB / 0.8718 GB, free: 83.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/2.872, allocations: 0.5398 MB / 0.8724 GB, free: 83.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002035/2.874, allocations: 0.5098 MB / 0.8729 GB, free: 82.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 70 (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],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.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 () * 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%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002738/2.877, allocations: 0.8024 MB / 0.8736 GB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/2.878, allocations: 0.7087 MB / 0.8743 GB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03076/2.909, allocations: 10.87 MB / 0.8849 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/2.909, allocations: 43.05 kB / 0.885 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.672e-05/2.909, allocations: 23.36 kB / 0.885 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-05/2.909, allocations: 21.41 kB / 0.885 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06285/2.972, allocations: 23.69 MB / 0.9082 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.438e-05/2.972, allocations: 8 kB / 0.9082 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/2.976, allocations: 0.5211 MB / 0.9087 GB, free: 68.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01762/2.993, allocations: 4.141 MB / 0.9127 GB, free: 65.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00087/2.994, allocations: 81.34 kB / 0.9128 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04055/3.035, allocations: 21.84 MB / 0.9341 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/3.035, allocations: 15.94 kB / 0.9341 GB, free: 46.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03549/3.07, allocations: 17.5 MB / 0.9512 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004454/3.075, allocations: 1.369 MB / 0.9526 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002265/3.077, allocations: 79.23 kB / 0.9527 GB, free: 29.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005565/3.083, allocations: 248 kB / 0.9529 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/3.084, allocations: 286.5 kB / 0.9532 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006944/3.085, allocations: 115.5 kB / 0.9533 GB, free: 29.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01321/3.098, allocations: 4.732 MB / 0.9579 GB, free: 24.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.998e-06/3.098, allocations: 0 / 0.9579 GB, free: 24.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0215/3.12, allocations: 2.197 MB / 0.96 GB, free: 22.63 MB / 442.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 (284): * Single equations (assignments): 280 * 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%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001923/3.122, allocations: 268.6 kB / 0.9603 GB, free: 22.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0342/3.156, allocations: 10.15 MB / 0.9702 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/3.156, allocations: 0 / 0.9702 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01492/3.171, allocations: 4.283 MB / 0.9744 GB, free: 7.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01208/3.183, allocations: 1.048 MB / 0.9754 GB, free: 6.945 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3316/3.515, allocations: 17.85 MB / 0.9928 GB, free: 84.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0154/3.53, allocations: 6.563 MB / 0.9993 GB, free: 83.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01169/3.542, allocations: 2.934 MB / 1.002 GB, free: 83.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/3.544, allocations: 437 kB / 1.003 GB, free: 83.11 MB / 442.7 MB Notification: Performance of SimCode: time 2.598e-06/3.544, allocations: 3.938 kB / 1.003 GB, free: 83.11 MB / 442.7 MB Notification: Performance of Templates: time 0.257/3.801, allocations: 91.98 MB / 1.092 GB, free: 41.8 MB / 442.7 MB