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.1_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 1.854/1.854, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.173e-05/4.18e-05, allocations: 8 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.0868, allocations: 48.69 MB / 321.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4534, allocations: 97.18 MB / 418.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4536, allocations: 78.33 kB / 419 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.802/1.256, allocations: 148.5 MB / 0.5542 GB, free: 71.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.067e-06/1.256, allocations: 0 / 0.5542 GB, free: 71.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00042/1.256, allocations: 154.2 kB / 0.5544 GB, free: 71.73 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.02439/1.281, allocations: 7.369 MB / 0.5616 GB, free: 68.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.281, allocations: 11.47 kB / 0.5616 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04076/1.321, allocations: 7.322 MB / 0.5687 GB, free: 68.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02276/1.344, allocations: 7.877 MB / 0.5764 GB, free: 67.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006675/1.345, allocations: 0.5831 MB / 0.577 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003282/1.348, allocations: 0.7729 MB / 0.5777 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04816/1.396, allocations: 18.74 MB / 0.596 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/1.397, allocations: 87.94 kB / 0.5961 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002676/1.4, allocations: 371.6 kB / 0.5965 GB, free: 62.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003358/1.403, allocations: 1.824 MB / 0.5983 GB, free: 62.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03985/1.443, allocations: 15.06 MB / 0.613 GB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5246/1.967, allocations: 81.68 MB / 0.6927 GB, free: 71.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05439/2.022, allocations: 8.621 MB / 0.7012 GB, free: 71.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007957/2.03, allocations: 4.623 MB / 0.7057 GB, free: 71.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02761/2.058, allocations: 11.71 MB / 0.7171 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/2.058, allocations: 68.38 kB / 0.7172 GB, free: 69.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=347): time 9.406e-06/2.058, allocations: 2 kB / 0.7172 GB, free: 69.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=389): time 0.1051/2.163, allocations: 31.49 MB / 0.7479 GB, free: 63.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/2.163, allocations: 252.5 kB / 0.7482 GB, free: 63.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/2.176, allocations: 6.489 MB / 0.7545 GB, free: 62.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007785/2.177, allocations: 89.48 kB / 0.7546 GB, free: 62.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0035/2.18, allocations: 4.998 MB / 0.7595 GB, free: 59.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/2.182, allocations: 1.444 MB / 0.7609 GB, free: 58.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008442/2.183, allocations: 204.9 kB / 0.7611 GB, free: 57.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005916/2.184, allocations: 0.7251 MB / 0.7618 GB, free: 57.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008297/2.192, allocations: 4.021 MB / 0.7657 GB, free: 56.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/2.203, allocations: 9.527 MB / 0.775 GB, free: 47.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/2.215, allocations: 6.154 MB / 0.781 GB, free: 45.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/2.215, allocations: 56.03 kB / 0.7811 GB, free: 45.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.03223/2.247, allocations: 14.14 MB / 0.7949 GB, free: 37.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/2.248, allocations: 92 kB / 0.795 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/2.248, allocations: 192 kB / 0.7952 GB, free: 36.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004957/2.253, allocations: 1.724 MB / 0.7968 GB, free: 35.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/2.263, allocations: 2.426 MB / 0.7992 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/2.28, allocations: 11.41 MB / 0.8104 GB, free: 23.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/2.29, allocations: 0.5806 MB / 0.8109 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/2.292, allocations: 0.5713 MB / 0.8115 GB, free: 22.14 MB / 442.7 MB 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.002021/2.294, allocations: 0.8616 MB / 0.8123 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/2.296, allocations: 0.6401 MB / 0.8129 GB, free: 20.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/2.313, allocations: 8.136 MB / 0.8209 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/2.313, allocations: 41.02 kB / 0.8209 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.14e-05/2.313, allocations: 19.33 kB / 0.8209 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/2.313, allocations: 15.7 kB / 0.821 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04336/2.357, allocations: 18.26 MB / 0.8388 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/2.357, allocations: 8 kB / 0.8388 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005249/2.362, allocations: 0.7644 MB / 0.8396 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/2.367, allocations: 1.429 MB / 0.8409 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008581/2.368, allocations: 78.8 kB / 0.841 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/2.389, allocations: 10.6 MB / 0.8514 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/2.389, allocations: 11.94 kB / 0.8514 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3334/2.722, allocations: 14.35 MB / 0.8654 GB, free: 97.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/2.727, allocations: 1.321 MB / 0.8667 GB, free: 97.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002278/2.729, allocations: 69.45 kB / 0.8668 GB, free: 97.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005479/2.735, allocations: 257.3 kB / 0.867 GB, free: 97.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/2.736, allocations: 243.1 kB / 0.8672 GB, free: 97.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000505/2.737, allocations: 106.7 kB / 0.8673 GB, free: 97.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01186/2.749, allocations: 4.657 MB / 0.8719 GB, free: 97.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.481e-06/2.749, allocations: 0 / 0.8719 GB, free: 97.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01202/2.761, allocations: 1.87 MB / 0.8737 GB, free: 97.35 MB / 474.7 MB 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.001208/2.762, allocations: 231.3 kB / 0.8739 GB, free: 97.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01951/2.781, allocations: 9.628 MB / 0.8833 GB, free: 97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/2.781, allocations: 4.562 kB / 0.8833 GB, free: 97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008582/2.79, allocations: 3.916 MB / 0.8872 GB, free: 96.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00561/2.796, allocations: 0.7681 MB / 0.8879 GB, free: 96.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.039/2.835, allocations: 15.99 MB / 0.9035 GB, free: 93.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/2.848, allocations: 5.638 MB / 0.909 GB, free: 91.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003604/2.852, allocations: 0.5212 MB / 0.9095 GB, free: 91.69 MB / 474.7 MB Notification: Performance of SimCode: time 3.44e-06/2.852, allocations: 0 / 0.9095 GB, free: 91.69 MB / 474.7 MB Notification: Performance of Templates: time 0.5143/3.366, allocations: 165.2 MB / 1.071 GB, free: 101.2 MB / 474.7 MB