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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.091e-05/5.111e-05, allocations: 5.969 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.5587, allocations: 105.9 MB / 0.504 GB, free: 14.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.559, allocations: 75.97 kB / 0.5041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9652/1.524, allocations: 151.4 MB / 0.6519 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.441e-06/1.524, allocations: 0 / 0.6519 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003621/1.525, allocations: 146.4 kB / 0.6521 GB, free: 107.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.0213/1.546, allocations: 7.351 MB / 0.6593 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.546, allocations: 7.906 kB / 0.6593 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03557/1.582, allocations: 3.52 MB / 0.6627 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04147/1.623, allocations: 8.779 MB / 0.6713 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006432/1.624, allocations: 0.5672 MB / 0.6718 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/1.627, allocations: 0.7359 MB / 0.6726 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04311/1.67, allocations: 17.41 MB / 0.6896 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003529/1.67, allocations: 90.31 kB / 0.6897 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/1.673, allocations: 366.4 kB / 0.69 GB, free: 95.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/1.676, allocations: 1.617 MB / 0.6916 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/1.71, allocations: 13.12 MB / 0.7044 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09851/1.809, allocations: 74.6 MB / 0.7772 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/1.827, allocations: 5.226 MB / 0.7823 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/1.831, allocations: 2.067 MB / 0.7844 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02525/1.856, allocations: 9.968 MB / 0.7941 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/1.857, allocations: 55.48 kB / 0.7942 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 1.073e-05/1.857, allocations: 8 kB / 0.7942 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.04879/1.905, allocations: 13.09 MB / 0.8069 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.906, allocations: 153.8 kB / 0.8071 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4876/2.393, allocations: 5.505 MB / 0.8125 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005474/2.394, allocations: 56.02 kB / 0.8125 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008758/2.403, allocations: 5.302 MB / 0.8177 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/2.404, allocations: 0.8234 MB / 0.8185 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008255/2.405, allocations: 159.6 kB / 0.8187 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008137/2.406, allocations: 0.647 MB / 0.8193 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008245/2.414, allocations: 2.087 MB / 0.8213 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008002/2.422, allocations: 7.36 MB / 0.8285 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008271/2.431, allocations: 3.878 MB / 0.8323 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000309/2.431, allocations: 57.88 kB / 0.8324 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02209/2.453, allocations: 8.622 MB / 0.8408 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/2.453, allocations: 85.62 kB / 0.8409 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002549/2.453, allocations: 191.1 kB / 0.841 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/2.454, allocations: 279.6 kB / 0.8413 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008505/2.462, allocations: 1.989 MB / 0.8432 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003065/2.463, allocations: 373.6 kB / 0.8436 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009074/2.472, allocations: 0.571 MB / 0.8442 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/2.473, allocations: 0.4984 MB / 0.8446 GB, free: 102.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1031): * Single equations (assignments): 1028 * 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.001475/2.475, allocations: 0.7686 MB / 0.8454 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/2.476, allocations: 0.5341 MB / 0.8459 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/2.478, allocations: 0.6494 MB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/2.478, allocations: 22.06 kB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/2.478, allocations: 3.625 kB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/2.478, allocations: 7.453 kB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/2.506, allocations: 14.97 MB / 0.8612 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.298e-05/2.506, allocations: 44.72 kB / 0.8612 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/2.508, allocations: 439.1 kB / 0.8617 GB, free: 97.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.875e-05/2.508, allocations: 67.38 kB / 0.8617 GB, free: 97.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/2.508, allocations: 94.19 kB / 0.8618 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.075e-05/2.508, allocations: 83.8 kB / 0.8619 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.163e-05/2.508, allocations: 71.5 kB / 0.862 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006515/2.515, allocations: 11.89 MB / 0.8736 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/2.516, allocations: 0.6422 MB / 0.8742 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/2.518, allocations: 104.9 kB / 0.8743 GB, free: 84.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003375/2.521, allocations: 174.2 kB / 0.8745 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/2.521, allocations: 297.1 kB / 0.8748 GB, free: 84.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/2.522, allocations: 119.2 kB / 0.8749 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00798/2.53, allocations: 3.856 MB / 0.8786 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.268e-06/2.53, allocations: 3.5 kB / 0.8786 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01001/2.54, allocations: 1.355 MB / 0.88 GB, free: 82.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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.0007256/2.54, allocations: 268.4 kB / 0.8802 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009261/2.55, allocations: 4.731 MB / 0.8848 GB, free: 80.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.249e-05/2.55, allocations: 7.438 kB / 0.8848 GB, free: 80.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/2.552, allocations: 1.094 MB / 0.8859 GB, free: 80.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005676/2.557, allocations: 0.8462 MB / 0.8867 GB, free: 80.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/2.584, allocations: 12.62 MB / 0.8991 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01164/2.596, allocations: 5.4 MB / 0.9043 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009382/2.605, allocations: 2.578 MB / 0.9069 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/2.607, allocations: 356.5 kB / 0.9072 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of SimCode: time 2.414e-06/2.607, allocations: 0 / 0.9072 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.1313/2.738, allocations: 41.32 MB / 0.9475 GB, free: 48.25 MB / 0.5261 GB