Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.07/2.07, allocations: 209.2 MB / 224.4 MB, free: 0.8555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.209e-05, allocations: 4 kB / 276.1 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4121, allocations: 48.7 MB / 324.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.163/0.5751, allocations: 105.1 MB / 429.9 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07704/0.6523, allocations: 21.56 MB / 451.5 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02952/0.6818, allocations: 0.5419 MB / 452 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02125/0.7031, allocations: 5.65 MB / 457.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06013/0.7633, allocations: 14.9 MB / 472.6 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.7735, allocations: 1.373 MB / 473.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01293/0.7864, allocations: 3.934 MB / 477.9 MB, free: 6.043 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.37/1.156, allocations: 10.35 MB / 488.2 MB, free: 5.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006174/1.163, allocations: 1.961 MB / 490.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007832/1.171, allocations: 3.042 MB / 493.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005555/1.176, allocations: 0.943 MB / 494.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003525/1.18, allocations: 261 kB / 494.4 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007356/1.187, allocations: 3.755 MB / 498.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004154/1.191, allocations: 0.6054 MB / 498.8 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/1.211, allocations: 13.13 MB / 0.4999 GB, free: 3.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.211, allocations: 0 / 0.4999 GB, free: 3.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.719e-06/1.211, allocations: 0 / 0.4999 GB, free: 3.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008595/1.212, allocations: 2.125 kB / 0.4999 GB, free: 3.617 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03158/1.244, allocations: 9.215 MB / 0.5089 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.244, allocations: 9.5 kB / 0.5089 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02568/1.27, allocations: 3.474 MB / 0.5123 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/1.289, allocations: 6.389 MB / 0.5186 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008221/1.29, allocations: 0.5967 MB / 0.5192 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/1.294, allocations: 0.7636 MB / 0.5199 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07675/1.371, allocations: 24.62 MB / 0.5439 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005874/1.372, allocations: 83.45 kB / 0.544 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004096/1.376, allocations: 371.9 kB / 0.5444 GB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01275/1.389, allocations: 4.536 MB / 0.5488 GB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07017/1.459, allocations: 19.37 MB / 0.5677 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1903/1.649, allocations: 85.95 MB / 0.6517 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3315/1.981, allocations: 7.831 MB / 0.6593 GB, free: 211.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04269/2.023, allocations: 13.28 MB / 0.6723 GB, free: 206.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/2.024, allocations: 72.28 kB / 0.6724 GB, free: 206.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 7.654e-06/2.024, allocations: 3.281 kB / 0.6724 GB, free: 206.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09825/2.122, allocations: 21.08 MB / 0.6929 GB, free: 197.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/2.122, allocations: 169.9 kB / 0.6931 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01879/2.141, allocations: 7.004 MB / 0.6999 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008123/2.142, allocations: 78.88 kB / 0.7 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005451/2.147, allocations: 6.529 MB / 0.7064 GB, free: 190 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/2.149, allocations: 1.363 MB / 0.7077 GB, free: 189 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/2.15, allocations: 211.8 kB / 0.7079 GB, free: 188.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008465/2.151, allocations: 0.7783 MB / 0.7087 GB, free: 188.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009877/2.161, allocations: 3.236 MB / 0.7118 GB, free: 187.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.175, allocations: 9.775 MB / 0.7214 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/2.189, allocations: 5.423 MB / 0.7267 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002001/2.189, allocations: 68 kB / 0.7268 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03361/2.223, allocations: 12.49 MB / 0.739 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/2.223, allocations: 104 kB / 0.7391 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000352/2.223, allocations: 232 kB / 0.7393 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/2.223, allocations: 340 kB / 0.7396 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0157/2.239, allocations: 2.547 MB / 0.7421 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/2.24, allocations: 464.1 kB / 0.7425 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.251, allocations: 0.5183 MB / 0.743 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002265/2.253, allocations: 0.6533 MB / 0.7437 GB, free: 159.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (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],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1374): * Single equations (assignments): 1363 * Array equations: 11 * 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.012/2.266, allocations: 4.464 MB / 0.748 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/2.267, allocations: 0.6594 MB / 0.7487 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/2.28, allocations: 4.08 MB / 0.7527 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/2.28, allocations: 36 kB / 0.7527 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/2.28, allocations: 5.344 kB / 0.7527 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-05/2.28, allocations: 19.89 kB / 0.7527 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08439/2.365, allocations: 42.06 MB / 0.7938 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002811/2.365, allocations: 95.94 kB / 0.7939 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005624/2.371, allocations: 0.8616 MB / 0.7947 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/2.371, allocations: 135.9 kB / 0.7949 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008091/2.372, allocations: 198.5 kB / 0.7951 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001269/2.372, allocations: 179.3 kB / 0.7952 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.048e-05/2.372, allocations: 143.7 kB / 0.7954 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/2.39, allocations: 25.85 MB / 0.8206 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/2.393, allocations: 0.8512 MB / 0.8214 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00287/2.396, allocations: 211.9 kB / 0.8216 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006954/2.403, allocations: 215.7 kB / 0.8218 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.404, allocations: 0.5835 MB / 0.8224 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005504/2.405, allocations: 248 kB / 0.8226 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01227/2.417, allocations: 4.924 MB / 0.8275 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.052e-06/2.417, allocations: 0 / 0.8275 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01398/2.431, allocations: 1.897 MB / 0.8293 GB, free: 67.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 452 * 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.001655/2.433, allocations: 414.9 kB / 0.8297 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01888/2.452, allocations: 7.647 MB / 0.8372 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.567e-05/2.452, allocations: 16 kB / 0.8372 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005626/2.457, allocations: 2.2 MB / 0.8393 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009149/2.466, allocations: 1.091 MB / 0.8404 GB, free: 55.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06126/2.528, allocations: 27.57 MB / 0.8673 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0173/2.545, allocations: 7.164 MB / 0.8743 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002911/2.548, allocations: 0.5892 MB / 0.8749 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/2.548, allocations: 0 / 0.8749 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.5615/3.11, allocations: 114.1 MB / 0.9863 GB, free: 120.4 MB / 0.5105 GB