Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.784e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.366, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5276, allocations: 104 MB / 463.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5278, allocations: 71.97 kB / 463.8 MB, free: 8.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8361/1.364, allocations: 148.7 MB / 0.5982 GB, free: 90.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.199e-06/1.364, allocations: 3.688 kB / 0.5982 GB, free: 90.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004301/1.364, allocations: 150.7 kB / 0.5984 GB, free: 90.18 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02416/1.389, allocations: 7.388 MB / 0.6056 GB, free: 83.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.389, allocations: 8.031 kB / 0.6056 GB, free: 83.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03879/1.428, allocations: 7.319 MB / 0.6127 GB, free: 76.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02212/1.45, allocations: 7.892 MB / 0.6204 GB, free: 68.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006801/1.45, allocations: 0.5816 MB / 0.621 GB, free: 67.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003364/1.454, allocations: 0.7654 MB / 0.6217 GB, free: 67.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04688/1.501, allocations: 18.75 MB / 0.6401 GB, free: 46.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004409/1.501, allocations: 95.06 kB / 0.6401 GB, free: 46.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003097/1.504, allocations: 367.8 kB / 0.6405 GB, free: 46.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003138/1.507, allocations: 1.837 MB / 0.6423 GB, free: 44.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03776/1.545, allocations: 15.07 MB / 0.657 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4182/1.964, allocations: 81.72 MB / 0.7368 GB, free: 45.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02992/1.994, allocations: 8.625 MB / 0.7452 GB, free: 44.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007859/2.001, allocations: 4.618 MB / 0.7497 GB, free: 44.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02541/2.027, allocations: 11.7 MB / 0.7612 GB, free: 42.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/2.027, allocations: 76.12 kB / 0.7612 GB, free: 42.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=347): time 9.539e-06/2.027, allocations: 0 / 0.7612 GB, free: 42.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.1122/2.139, allocations: 31.49 MB / 0.792 GB, free: 33.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/2.139, allocations: 251 kB / 0.7922 GB, free: 33.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0147/2.154, allocations: 6.489 MB / 0.7986 GB, free: 31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008823/2.155, allocations: 85.73 kB / 0.7987 GB, free: 30.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004382/2.159, allocations: 5.277 MB / 0.8038 GB, free: 26.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/2.162, allocations: 1.44 MB / 0.8052 GB, free: 25.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/2.163, allocations: 195 kB / 0.8054 GB, free: 25.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000804/2.164, allocations: 0.7331 MB / 0.8061 GB, free: 25.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00867/2.172, allocations: 4.022 MB / 0.81 GB, free: 23.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/2.185, allocations: 9.527 MB / 0.8194 GB, free: 14.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/2.197, allocations: 6.158 MB / 0.8254 GB, free: 9.598 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/2.197, allocations: 56 kB / 0.8254 GB, free: 9.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.03655/2.233, allocations: 14.5 MB / 0.8396 GB, free: 13.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/2.234, allocations: 92 kB / 0.8397 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003013/2.234, allocations: 196.2 kB / 0.8399 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005715/2.24, allocations: 1.718 MB / 0.8415 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/2.252, allocations: 2.42 MB / 0.8439 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/2.272, allocations: 11.43 MB / 0.8551 GB, free: 0 / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/2.284, allocations: 0.5802 MB / 0.8556 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/2.286, allocations: 0.5829 MB / 0.8562 GB, free: 14.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1220 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003319/2.289, allocations: 0.8555 MB / 0.857 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/2.291, allocations: 0.644 MB / 0.8577 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/2.312, allocations: 8.135 MB / 0.8656 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-05/2.312, allocations: 43.95 kB / 0.8656 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/2.312, allocations: 8 kB / 0.8656 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/2.313, allocations: 17.91 kB / 0.8657 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0497/2.362, allocations: 18.17 MB / 0.8834 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.868e-05/2.362, allocations: 8 kB / 0.8834 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005418/2.368, allocations: 0.7687 MB / 0.8842 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005197/2.373, allocations: 1.427 MB / 0.8856 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009008/2.374, allocations: 74.61 kB / 0.8856 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/2.394, allocations: 10.6 MB / 0.896 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-05/2.394, allocations: 17.27 kB / 0.896 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3321/2.726, allocations: 14.36 MB / 0.91 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004714/2.731, allocations: 1.323 MB / 0.9113 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002244/2.733, allocations: 71.39 kB / 0.9114 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005607/2.739, allocations: 257.8 kB / 0.9116 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.74, allocations: 236.1 kB / 0.9119 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004918/2.741, allocations: 108 kB / 0.912 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.013/2.754, allocations: 4.646 MB / 0.9165 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.653e-06/2.754, allocations: 0 / 0.9165 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01322/2.767, allocations: 1.877 MB / 0.9183 GB, free: 145.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/2.768, allocations: 226.3 kB / 0.9185 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01942/2.788, allocations: 9.625 MB / 0.9279 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.788, allocations: 3.688 kB / 0.928 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008749/2.797, allocations: 3.923 MB / 0.9318 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/2.802, allocations: 0.7666 MB / 0.9325 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03589/2.838, allocations: 15.15 MB / 0.9473 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/2.851, allocations: 5.634 MB / 0.9528 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01288/2.864, allocations: 3.323 MB / 0.9561 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/2.867, allocations: 456 kB / 0.9565 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.024e-06/2.867, allocations: 0 / 0.9565 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1773/3.044, allocations: 69.57 MB / 1.024 GB, free: 92.85 MB / 0.5261 GB