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.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.114e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3699, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.1638/0.5337, allocations: 105.1 MB / 467.9 MB, free: 4.512 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06483/0.5986, allocations: 21.59 MB / 489.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02524/0.6239, allocations: 0.5418 MB / 490.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02022/0.6442, allocations: 5.654 MB / 495.7 MB, free: 8.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.426/1.07, allocations: 14.9 MB / 0.4987 GB, free: 3.254 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008665/1.079, allocations: 1.348 MB / 0.5 GB, free: 3.238 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01144/1.09, allocations: 3.929 MB / 0.5038 GB, free: 3.176 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02071/1.111, allocations: 10.36 MB / 0.5139 GB, free: 2.359 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/1.117, allocations: 1.961 MB / 0.5158 GB, free: 2.359 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006672/1.123, allocations: 3.048 MB / 0.5188 GB, free: 2.348 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00468/1.128, allocations: 0.9407 MB / 0.5197 GB, free: 2.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003084/1.131, allocations: 260 kB / 0.52 GB, free: 2.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006901/1.138, allocations: 3.749 MB / 0.5236 GB, free: 2.344 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004421/1.143, allocations: 0.6079 MB / 0.5242 GB, free: 2.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/1.164, allocations: 13.13 MB / 0.5371 GB, free: 11.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.164, allocations: 0 / 0.5371 GB, free: 11.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.647e-06/1.164, allocations: 0 / 0.5371 GB, free: 11.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007698/1.165, allocations: 2.531 kB / 0.5371 GB, free: 11.12 MB / 442.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.03267/1.197, allocations: 9.214 MB / 0.5461 GB, free: 5.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.197, allocations: 9.812 kB / 0.5461 GB, free: 5.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/1.223, allocations: 3.473 MB / 0.5495 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/1.244, allocations: 6.393 MB / 0.5557 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009205/1.245, allocations: 0.5925 MB / 0.5563 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/1.249, allocations: 0.771 MB / 0.557 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07721/1.327, allocations: 24.62 MB / 0.5811 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004689/1.327, allocations: 81.53 kB / 0.5812 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003695/1.331, allocations: 368.4 kB / 0.5815 GB, free: 11.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01261/1.343, allocations: 4.549 MB / 0.586 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06995/1.413, allocations: 19.38 MB / 0.6049 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1883/1.602, allocations: 85.95 MB / 0.6888 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.404/2.006, allocations: 7.827 MB / 0.6965 GB, free: 224.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05849/2.065, allocations: 13.29 MB / 0.7094 GB, free: 218.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.274e-05/2.065, allocations: 76.22 kB / 0.7095 GB, free: 218.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=336): time 1.164e-05/2.065, allocations: 0 / 0.7095 GB, free: 218.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=360): time 0.1435/2.208, allocations: 21.08 MB / 0.7301 GB, free: 209.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/2.208, allocations: 165 kB / 0.7302 GB, free: 209.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01723/2.226, allocations: 7.011 MB / 0.7371 GB, free: 203.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000748/2.226, allocations: 79.58 kB / 0.7372 GB, free: 203.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005042/2.232, allocations: 6.529 MB / 0.7435 GB, free: 197 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/2.233, allocations: 1.366 MB / 0.7449 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/2.235, allocations: 208 kB / 0.7451 GB, free: 195.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001066/2.236, allocations: 0.7739 MB / 0.7458 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009727/2.246, allocations: 3.236 MB / 0.749 GB, free: 191.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01346/2.259, allocations: 9.776 MB / 0.7585 GB, free: 178.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/2.273, allocations: 5.414 MB / 0.7638 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002038/2.273, allocations: 68 kB / 0.7639 GB, free: 173.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03349/2.307, allocations: 12.48 MB / 0.7761 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/2.307, allocations: 108 kB / 0.7762 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/2.307, allocations: 233.1 kB / 0.7764 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/2.308, allocations: 340 kB / 0.7767 GB, free: 160 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/2.323, allocations: 2.557 MB / 0.7792 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004209/2.324, allocations: 458.2 kB / 0.7797 GB, free: 157 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.335, allocations: 0.5265 MB / 0.7802 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/2.338, allocations: 0.6523 MB / 0.7808 GB, free: 155.8 MB / 0.5417 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.01128/2.349, allocations: 4.458 MB / 0.7852 GB, free: 151.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/2.351, allocations: 0.6555 MB / 0.7858 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/2.364, allocations: 4.089 MB / 0.7898 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.79e-05/2.364, allocations: 36 kB / 0.7898 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/2.364, allocations: 0 / 0.7898 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.633e-05/2.364, allocations: 23.89 kB / 0.7899 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.116/2.48, allocations: 42.06 MB / 0.8309 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003652/2.48, allocations: 96.92 kB / 0.831 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005778/2.486, allocations: 0.8655 MB / 0.8319 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/2.486, allocations: 128 kB / 0.832 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008112/2.487, allocations: 200 kB / 0.8322 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001407/2.487, allocations: 179.3 kB / 0.8324 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.259e-05/2.488, allocations: 143.3 kB / 0.8325 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/2.505, allocations: 25.85 MB / 0.8577 GB, free: 71.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/2.508, allocations: 0.8512 MB / 0.8586 GB, free: 70.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/2.511, allocations: 211.9 kB / 0.8588 GB, free: 70.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00644/2.517, allocations: 207.9 kB / 0.859 GB, free: 70.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/2.518, allocations: 0.5835 MB / 0.8595 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008353/2.519, allocations: 252 kB / 0.8598 GB, free: 69.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01237/2.532, allocations: 4.924 MB / 0.8646 GB, free: 64.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.282e-06/2.532, allocations: 4 kB / 0.8646 GB, free: 64.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01437/2.546, allocations: 1.901 MB / 0.8664 GB, free: 62.91 MB / 0.5417 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.001666/2.548, allocations: 402.7 kB / 0.8668 GB, free: 62.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01915/2.567, allocations: 7.648 MB / 0.8743 GB, free: 54.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.683e-05/2.567, allocations: 17.88 kB / 0.8743 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005471/2.573, allocations: 2.199 MB / 0.8765 GB, free: 52.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008849/2.582, allocations: 1.09 MB / 0.8775 GB, free: 51.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05741/2.639, allocations: 27.57 MB / 0.9045 GB, free: 22.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01716/2.656, allocations: 7.168 MB / 0.9115 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/2.659, allocations: 0.593 MB / 0.912 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of SimCode: time 1.934e-06/2.659, allocations: 3.938 kB / 0.912 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.5909/3.25, allocations: 114.1 MB / 1.023 GB, free: 117.4 MB / 0.5417 GB