Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 1.803/1.803, allocations: 209.3 MB / 221.9 MB, free: 7.746 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.975e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08616, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3674/0.4536, allocations: 94.67 MB / 416.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.4538, allocations: 74.7 kB / 416.5 MB, free: 1.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.876/1.33, allocations: 178.5 MB / 0.5811 GB, free: 68.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.938e-06/1.33, allocations: 0 / 0.5811 GB, free: 68.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004904/1.33, allocations: 183 kB / 0.5812 GB, free: 68.42 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.02768/1.358, allocations: 8.782 MB / 0.5898 GB, free: 65.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.358, allocations: 14.75 kB / 0.5898 GB, free: 65.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05267/1.411, allocations: 9.864 MB / 0.5995 GB, free: 64.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02846/1.439, allocations: 9.841 MB / 0.6091 GB, free: 63.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/1.44, allocations: 0.6883 MB / 0.6097 GB, free: 63.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004065/1.444, allocations: 0.9217 MB / 0.6106 GB, free: 62.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0562/1.501, allocations: 22.03 MB / 0.6322 GB, free: 44.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004939/1.501, allocations: 114.9 kB / 0.6323 GB, free: 44.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003296/1.504, allocations: 433.1 kB / 0.6327 GB, free: 44.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003299/1.508, allocations: 2.083 MB / 0.6347 GB, free: 42.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04339/1.551, allocations: 18.06 MB / 0.6523 GB, free: 24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4139/1.965, allocations: 91.43 MB / 0.7416 GB, free: 34.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03088/1.996, allocations: 9.285 MB / 0.7507 GB, free: 33.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00919/2.005, allocations: 5.605 MB / 0.7562 GB, free: 33.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/2.006, allocations: 93.22 kB / 0.7563 GB, free: 33.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/2.006, allocations: 79.38 kB / 0.7563 GB, free: 33.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=412): time 1.05e-05/2.006, allocations: 0 / 0.7563 GB, free: 33.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=475): time 0.1337/2.14, allocations: 38.52 MB / 0.794 GB, free: 25.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/2.14, allocations: 287.7 kB / 0.7942 GB, free: 25.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01581/2.156, allocations: 7.309 MB / 0.8014 GB, free: 23.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/2.157, allocations: 98.5 kB / 0.8015 GB, free: 23.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004695/2.161, allocations: 5.771 MB / 0.8071 GB, free: 18.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002373/2.164, allocations: 1.746 MB / 0.8088 GB, free: 17.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/2.165, allocations: 227.1 kB / 0.809 GB, free: 17.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009414/2.166, allocations: 0.7822 MB / 0.8098 GB, free: 16.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.177, allocations: 4.927 MB / 0.8146 GB, free: 14.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01417/2.191, allocations: 10.91 MB / 0.8252 GB, free: 5.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/2.205, allocations: 7.283 MB / 0.8324 GB, free: 2.859 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/2.206, allocations: 59.72 kB / 0.8324 GB, free: 2.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05709/2.263, allocations: 17.89 MB / 0.8499 GB, free: 7.211 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/2.263, allocations: 96 kB / 0.85 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003186/2.263, allocations: 212 kB / 0.8502 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008338/2.272, allocations: 2.471 MB / 0.8526 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/2.285, allocations: 2.678 MB / 0.8552 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/2.317, allocations: 16.91 MB / 0.8717 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/2.329, allocations: 0.68 MB / 0.8724 GB, free: 3.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002835/2.332, allocations: 0.6374 MB / 0.873 GB, free: 2.434 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004242/2.336, allocations: 0.9444 MB / 0.8739 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002184/2.338, allocations: 0.7515 MB / 0.8747 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3269/2.665, allocations: 10.7 MB / 0.8851 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/2.666, allocations: 53.25 kB / 0.8852 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-05/2.666, allocations: 12.78 kB / 0.8852 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/2.666, allocations: 23.94 kB / 0.8852 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05642/2.722, allocations: 22.83 MB / 0.9075 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/2.722, allocations: 3.25 kB / 0.9075 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006669/2.729, allocations: 0.8818 MB / 0.9084 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007635/2.737, allocations: 2.128 MB / 0.9104 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009474/2.738, allocations: 89.95 kB / 0.9105 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/2.763, allocations: 15.69 MB / 0.9258 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-06/2.763, allocations: 8.375 kB / 0.9258 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03406/2.797, allocations: 17.59 MB / 0.943 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005236/2.802, allocations: 1.614 MB / 0.9446 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002471/2.805, allocations: 74.62 kB / 0.9447 GB, free: 98.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006167/2.811, allocations: 360.8 kB / 0.945 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/2.812, allocations: 286.6 kB / 0.9453 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007356/2.813, allocations: 123.3 kB / 0.9454 GB, free: 98.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01581/2.829, allocations: 5.196 MB / 0.9505 GB, free: 96.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.05e-06/2.829, allocations: 0 / 0.9505 GB, free: 96.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01469/2.844, allocations: 2.271 MB / 0.9527 GB, free: 96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001163/2.845, allocations: 248.2 kB / 0.9529 GB, free: 95.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02242/2.867, allocations: 12 MB / 0.9646 GB, free: 91.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.881e-06/2.867, allocations: 4 kB / 0.9647 GB, free: 91.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009842/2.877, allocations: 5.208 MB / 0.9697 GB, free: 86.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005979/2.883, allocations: 0.9522 MB / 0.9707 GB, free: 85.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04088/2.924, allocations: 19.42 MB / 0.9896 GB, free: 68.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/2.938, allocations: 6.584 MB / 0.9961 GB, free: 64.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003869/2.941, allocations: 0.6096 MB / 0.9967 GB, free: 63.53 MB / 490.7 MB Notification: Performance of SimCode: time 2.019e-06/2.942, allocations: 0 / 0.9967 GB, free: 63.53 MB / 490.7 MB Notification: Performance of Templates: time 0.6479/3.589, allocations: 233.8 MB / 1.225 GB, free: 15.66 MB / 0.5105 GB