Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.792e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3613, allocations: 54.86 MB / 359.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.5111, allocations: 98.81 MB / 458.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5114, allocations: 72.56 kB / 458.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8829/1.394, allocations: 166.2 MB / 0.6102 GB, free: 78.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.402e-06/1.394, allocations: 0 / 0.6102 GB, free: 78.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003592/1.395, allocations: 159.9 kB / 0.6104 GB, free: 78.19 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02282/1.418, allocations: 7.971 MB / 0.6182 GB, free: 70.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.418, allocations: 16.03 kB / 0.6182 GB, free: 70.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02472/1.442, allocations: 3.67 MB / 0.6218 GB, free: 66.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02477/1.467, allocations: 9.683 MB / 0.6312 GB, free: 56.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006983/1.468, allocations: 0.6258 MB / 0.6318 GB, free: 56.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003222/1.471, allocations: 0.8243 MB / 0.6326 GB, free: 55.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04419/1.515, allocations: 19.27 MB / 0.6515 GB, free: 34.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003477/1.516, allocations: 103 kB / 0.6516 GB, free: 34.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/1.518, allocations: 399.8 kB / 0.6519 GB, free: 33.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003226/1.521, allocations: 1.869 MB / 0.6538 GB, free: 32.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/1.557, allocations: 14.74 MB / 0.6682 GB, free: 17.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7004/2.257, allocations: 81.53 MB / 0.7478 GB, free: 33.71 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02262/2.28, allocations: 5.896 MB / 0.7535 GB, free: 33.04 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005186/2.285, allocations: 2.479 MB / 0.756 GB, free: 33.01 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02534/2.311, allocations: 11.33 MB / 0.767 GB, free: 29.79 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/2.311, allocations: 65.77 kB / 0.7671 GB, free: 29.75 MB / 474.8 MB Notification: Performance of pre-optimization done (n=250): time 7.194e-06/2.311, allocations: 0 / 0.7671 GB, free: 29.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=274): time 0.05839/2.369, allocations: 14.99 MB / 0.7817 GB, free: 25.02 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/2.369, allocations: 159.3 kB / 0.7819 GB, free: 24.87 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/2.383, allocations: 5.837 MB / 0.7876 GB, free: 24.31 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005481/2.384, allocations: 66.27 kB / 0.7876 GB, free: 24.28 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004512/2.388, allocations: 5.565 MB / 0.7931 GB, free: 21.02 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001331/2.39, allocations: 1.057 MB / 0.7941 GB, free: 20.27 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008214/2.39, allocations: 185.2 kB / 0.7943 GB, free: 20.12 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006614/2.391, allocations: 0.6953 MB / 0.795 GB, free: 19.64 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005571/2.397, allocations: 2.477 MB / 0.7974 GB, free: 18.84 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009499/2.406, allocations: 8.202 MB / 0.8054 GB, free: 10.27 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009334/2.416, allocations: 4.459 MB / 0.8097 GB, free: 9.047 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/2.416, allocations: 61.47 kB / 0.8098 GB, free: 9.047 MB / 474.8 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02473/2.441, allocations: 9.616 MB / 0.8192 GB, free: 6.266 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/2.441, allocations: 93.34 kB / 0.8193 GB, free: 6.266 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/2.441, allocations: 205.9 kB / 0.8195 GB, free: 6.266 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/2.441, allocations: 304.5 kB / 0.8198 GB, free: 6.266 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/2.452, allocations: 2.242 MB / 0.822 GB, free: 5.996 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/2.452, allocations: 403.7 kB / 0.8223 GB, free: 5.91 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/2.464, allocations: 0.6203 MB / 0.823 GB, free: 5.734 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/2.466, allocations: 0.5551 MB / 0.8235 GB, free: 5.66 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1168): * Single equations (assignments): 1165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002669/2.469, allocations: 0.841 MB / 0.8243 GB, free: 4.973 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/2.47, allocations: 0.585 MB / 0.8249 GB, free: 4.648 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00733/2.478, allocations: 2.925 MB / 0.8277 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/2.478, allocations: 32.8 kB / 0.8278 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/2.478, allocations: 0 / 0.8278 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.682e-05/2.478, allocations: 13.17 kB / 0.8278 GB, free: 3.516 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05558/2.533, allocations: 24.62 MB / 0.8518 GB, free: 424 kB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001332/2.533, allocations: 60 kB / 0.8519 GB, free: 364 kB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/2.537, allocations: 0.6013 MB / 0.8525 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/2.537, allocations: 88 kB / 0.8526 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005806/2.538, allocations: 134.4 kB / 0.8527 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001253/2.538, allocations: 120.8 kB / 0.8528 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-05/2.538, allocations: 96.38 kB / 0.8529 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/2.555, allocations: 16.85 MB / 0.8694 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00268/2.557, allocations: 0.7231 MB / 0.8701 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/2.559, allocations: 151.8 kB / 0.8702 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005299/2.565, allocations: 206.9 kB / 0.8704 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009799/2.566, allocations: 407.2 kB / 0.8708 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005276/2.566, allocations: 176.9 kB / 0.871 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01119/2.577, allocations: 4.089 MB / 0.8749 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.498e-06/2.577, allocations: 0 / 0.8749 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01244/2.59, allocations: 1.542 MB / 0.8765 GB, free: 5.879 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/2.591, allocations: 304.2 kB / 0.8767 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01388/2.605, allocations: 5.668 MB / 0.8823 GB, free: 428 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.254e-05/2.605, allocations: 12 kB / 0.8823 GB, free: 416 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/2.609, allocations: 1.513 MB / 0.8838 GB, free: 15.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00675/2.616, allocations: 0.912 MB / 0.8847 GB, free: 14.3 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3469/2.962, allocations: 15.72 MB / 0.9 GB, free: 143.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01545/2.978, allocations: 5.96 MB / 0.9058 GB, free: 142.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/2.98, allocations: 484.6 kB / 0.9063 GB, free: 142.8 MB / 0.5262 GB Notification: Performance of SimCode: time 1.62e-06/2.98, allocations: 0 / 0.9063 GB, free: 142.8 MB / 0.5262 GB Notification: Performance of Templates: time 0.1533/3.133, allocations: 93.98 MB / 0.9981 GB, free: 105.6 MB / 0.5262 GB