Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.776e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3698, allocations: 54.86 MB / 362.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.1633/0.5332, allocations: 105.1 MB / 467.9 MB, free: 4.516 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06684/0.6001, allocations: 21.59 MB / 489.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02552/0.6257, allocations: 0.5457 MB / 490.1 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02002/0.6457, allocations: 5.65 MB / 495.7 MB, free: 8.633 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4312/1.077, allocations: 14.9 MB / 0.4986 GB, free: 3.203 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008806/1.086, allocations: 1.356 MB / 0.5 GB, free: 3.184 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01084/1.097, allocations: 3.918 MB / 0.5038 GB, free: 3.125 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0208/1.118, allocations: 10.36 MB / 0.5139 GB, free: 2.305 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005509/1.123, allocations: 1.962 MB / 0.5158 GB, free: 2.305 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007029/1.13, allocations: 3.046 MB / 0.5188 GB, free: 2.293 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/1.135, allocations: 0.9424 MB / 0.5197 GB, free: 2.285 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003159/1.139, allocations: 261.1 kB / 0.52 GB, free: 2.285 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006911/1.146, allocations: 3.75 MB / 0.5236 GB, free: 2.285 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003767/1.149, allocations: 0.6077 MB / 0.5242 GB, free: 2.285 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02009/1.17, allocations: 13.13 MB / 0.5371 GB, free: 11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.17, allocations: 0 / 0.5371 GB, free: 11 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.208e-06/1.17, allocations: 2.969 kB / 0.5371 GB, free: 11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007301/1.17, allocations: 0 / 0.5371 GB, free: 11 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.03231/1.203, allocations: 9.215 MB / 0.5461 GB, free: 5.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.203, allocations: 7.875 kB / 0.5461 GB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/1.229, allocations: 3.475 MB / 0.5495 GB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/1.249, allocations: 6.39 MB / 0.5557 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008796/1.25, allocations: 0.593 MB / 0.5563 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004161/1.254, allocations: 0.771 MB / 0.557 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07597/1.33, allocations: 24.63 MB / 0.5811 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004768/1.331, allocations: 85.03 kB / 0.5812 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003781/1.335, allocations: 361.2 kB / 0.5815 GB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01241/1.347, allocations: 4.544 MB / 0.5859 GB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06855/1.416, allocations: 19.38 MB / 0.6049 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1863/1.602, allocations: 85.94 MB / 0.6888 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3901/1.992, allocations: 7.782 MB / 0.6964 GB, free: 224.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03902/2.031, allocations: 13.28 MB / 0.7094 GB, free: 219.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/2.031, allocations: 68.16 kB / 0.7094 GB, free: 219 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=336): time 7.184e-06/2.031, allocations: 2.094 kB / 0.7094 GB, free: 219 MB / 0.5417 GB Notification: Performance of matching and sorting (n=360): time 0.09255/2.124, allocations: 21.1 MB / 0.73 GB, free: 209.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/2.124, allocations: 163.9 kB / 0.7302 GB, free: 209.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0168/2.141, allocations: 7.003 MB / 0.737 GB, free: 203.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007655/2.142, allocations: 82.81 kB / 0.7371 GB, free: 203.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00523/2.147, allocations: 6.525 MB / 0.7435 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001949/2.149, allocations: 1.359 MB / 0.7448 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/2.151, allocations: 212 kB / 0.745 GB, free: 195.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001527/2.152, allocations: 0.7739 MB / 0.7458 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01476/2.167, allocations: 3.234 MB / 0.7489 GB, free: 191.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01385/2.181, allocations: 9.783 MB / 0.7585 GB, free: 178.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/2.194, allocations: 5.425 MB / 0.7638 GB, free: 173.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002013/2.194, allocations: 64 kB / 0.7638 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03314/2.227, allocations: 12.5 MB / 0.776 GB, free: 160.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/2.228, allocations: 104 kB / 0.7761 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003359/2.228, allocations: 236.1 kB / 0.7764 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/2.228, allocations: 343.9 kB / 0.7767 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/2.244, allocations: 2.55 MB / 0.7792 GB, free: 157.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/2.245, allocations: 458.2 kB / 0.7796 GB, free: 157.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01248/2.257, allocations: 0.5187 MB / 0.7801 GB, free: 156.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/2.259, allocations: 0.6576 MB / 0.7808 GB, free: 155.9 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.01089/2.27, allocations: 4.447 MB / 0.7851 GB, free: 151.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/2.272, allocations: 0.6633 MB / 0.7858 GB, free: 150.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/2.283, allocations: 4.096 MB / 0.7898 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.287e-05/2.283, allocations: 36 kB / 0.7898 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/2.284, allocations: 3.938 kB / 0.7898 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-05/2.284, allocations: 23.89 kB / 0.7898 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1436/2.427, allocations: 49.27 MB / 0.8379 GB, free: 96.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004399/2.428, allocations: 76 kB / 0.838 GB, free: 96.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008285/2.436, allocations: 0.7453 MB / 0.8387 GB, free: 95.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/2.436, allocations: 104 kB / 0.8388 GB, free: 95.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001214/2.437, allocations: 172 kB / 0.839 GB, free: 95.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001933/2.438, allocations: 143.4 kB / 0.8391 GB, free: 95.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001197/2.438, allocations: 115.5 kB / 0.8392 GB, free: 94.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02574/2.464, allocations: 21.72 MB / 0.8605 GB, free: 70.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003665/2.467, allocations: 0.8046 MB / 0.8612 GB, free: 69.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003624/2.471, allocations: 171.9 kB / 0.8614 GB, free: 69.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01041/2.482, allocations: 223.5 kB / 0.8616 GB, free: 68.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001662/2.483, allocations: 493.9 kB / 0.8621 GB, free: 68.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001141/2.484, allocations: 212 kB / 0.8623 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01888/2.503, allocations: 4.928 MB / 0.8671 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.496e-06/2.503, allocations: 0 / 0.8671 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02293/2.526, allocations: 1.897 MB / 0.869 GB, free: 61.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (380): * Single equations (assignments): 377 * 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.00219/2.529, allocations: 362.9 kB / 0.8693 GB, free: 61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02797/2.557, allocations: 7.664 MB / 0.8768 GB, free: 53.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.551e-05/2.557, allocations: 12 kB / 0.8768 GB, free: 53.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005615/2.562, allocations: 2.129 MB / 0.8789 GB, free: 51.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00859/2.571, allocations: 1.029 MB / 0.8799 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06156/2.633, allocations: 27.02 MB / 0.9063 GB, free: 22.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01833/2.651, allocations: 7.127 MB / 0.9132 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003118/2.654, allocations: 0.5853 MB / 0.9138 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/2.654, allocations: 4 kB / 0.9138 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.6504/3.305, allocations: 114.1 MB / 1.025 GB, free: 115.6 MB / 0.5417 GB