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.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.181e-05, allocations: 10.48 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3873, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.1304/0.5177, allocations: 80.43 MB / 405.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.06578/0.5836, allocations: 16.87 MB / 422.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02283/0.6065, allocations: 435 kB / 422.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.6241, allocations: 4.305 MB / 426.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04531/0.6695, allocations: 11.5 MB / 438.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007668/0.6772, allocations: 1.221 MB / 439.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.6881, allocations: 3.477 MB / 443.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01851/0.7067, allocations: 8.385 MB / 451.5 MB, free: 0.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.7114, allocations: 1.711 MB / 453.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.7176, allocations: 2.556 MB / 455.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.7216, allocations: 0.9051 MB / 456.6 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.7238, allocations: 216 kB / 456.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00589/0.7298, allocations: 3.097 MB / 459.9 MB, free: 8.125 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002911/0.7327, allocations: 0.5039 MB / 460.4 MB, free: 7.621 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.7509, allocations: 10.47 MB / 470.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.751, allocations: 3.938 kB / 470.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.991e-06/0.751, allocations: 3.984 kB / 470.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005596/0.7516, allocations: 0 / 470.9 MB, free: 13.12 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02749/0.7791, allocations: 7.779 MB / 478.7 MB, free: 5.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.7792, allocations: 8.031 kB / 478.7 MB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/0.8021, allocations: 3.128 MB / 481.8 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.593/1.395, allocations: 5.721 MB / 487.6 MB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007599/1.396, allocations: 484.2 kB / 488 MB, free: 124.6 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003143/1.399, allocations: 0.6113 MB / 488.6 MB, free: 124.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07195/1.471, allocations: 19.62 MB / 0.4963 GB, free: 115.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004665/1.472, allocations: 74.56 kB / 0.4964 GB, free: 115.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/1.475, allocations: 297.7 kB / 0.4967 GB, free: 115.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01265/1.488, allocations: 3.638 MB / 0.5002 GB, free: 114.4 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05096/1.539, allocations: 15.3 MB / 0.5152 GB, free: 99.33 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.129/1.668, allocations: 73.21 MB / 0.5867 GB, free: 24.67 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0275/1.695, allocations: 6.125 MB / 0.5927 GB, free: 18.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0309/1.726, allocations: 11.3 MB / 0.6037 GB, free: 6.723 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.726, allocations: 68.48 kB / 0.6038 GB, free: 6.648 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 7.554e-06/1.726, allocations: 0 / 0.6038 GB, free: 6.648 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.07728/1.804, allocations: 16.88 MB / 0.6203 GB, free: 5.754 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.804, allocations: 154.5 kB / 0.6204 GB, free: 5.57 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01745/1.821, allocations: 6.44 MB / 0.6267 GB, free: 15.14 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006195/1.822, allocations: 69.61 kB / 0.6268 GB, free: 15.07 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006551/1.829, allocations: 5.512 MB / 0.6321 GB, free: 9.562 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.83, allocations: 1.063 MB / 0.6332 GB, free: 8.496 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.832, allocations: 184 kB / 0.6334 GB, free: 8.316 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001079/1.833, allocations: 0.7117 MB / 0.634 GB, free: 7.594 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008952/1.842, allocations: 2.692 MB / 0.6367 GB, free: 4.895 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3064/2.148, allocations: 8.533 MB / 0.645 GB, free: 132.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/2.162, allocations: 4.632 MB / 0.6495 GB, free: 131 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004169/2.162, allocations: 58.62 kB / 0.6496 GB, free: 131 MB / 442.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.03419/2.196, allocations: 10.69 MB / 0.66 GB, free: 127.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002772/2.197, allocations: 94.59 kB / 0.6601 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005067/2.197, allocations: 207.8 kB / 0.6603 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/2.198, allocations: 304.6 kB / 0.6606 GB, free: 127.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/2.213, allocations: 2.182 MB / 0.6627 GB, free: 126.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000568/2.213, allocations: 409.3 kB / 0.6631 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/2.224, allocations: 461.9 kB / 0.6636 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/2.226, allocations: 0.5757 MB / 0.6641 GB, free: 126.6 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 (1176): * Single equations (assignments): 1165 * 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.01021/2.236, allocations: 3.694 MB / 0.6677 GB, free: 124.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.238, allocations: 0.5893 MB / 0.6683 GB, free: 124.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/2.247, allocations: 2.971 MB / 0.6712 GB, free: 123.7 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/2.247, allocations: 31.36 kB / 0.6713 GB, free: 123.7 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/2.248, allocations: 3.781 kB / 0.6713 GB, free: 123.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-05/2.248, allocations: 15.55 kB / 0.6713 GB, free: 123.7 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05444/2.302, allocations: 25.14 MB / 0.6958 GB, free: 109.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001555/2.302, allocations: 64 kB / 0.6959 GB, free: 109.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004013/2.306, allocations: 0.6121 MB / 0.6965 GB, free: 109.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/2.306, allocations: 94.52 kB / 0.6966 GB, free: 109 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005416/2.307, allocations: 140.5 kB / 0.6967 GB, free: 108.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.614e-05/2.307, allocations: 120.7 kB / 0.6968 GB, free: 108.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.919e-05/2.307, allocations: 99.56 kB / 0.6969 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/2.32, allocations: 17.37 MB / 0.7139 GB, free: 89.18 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/2.322, allocations: 0.7351 MB / 0.7146 GB, free: 88.42 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/2.324, allocations: 144 kB / 0.7147 GB, free: 88.28 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005236/2.329, allocations: 166.1 kB / 0.7149 GB, free: 88.12 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009164/2.33, allocations: 423.3 kB / 0.7153 GB, free: 87.71 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/2.331, allocations: 168.2 kB / 0.7155 GB, free: 87.54 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01114/2.342, allocations: 4.553 MB / 0.7199 GB, free: 83.01 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.415e-06/2.342, allocations: 3.938 kB / 0.7199 GB, free: 83.01 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01173/2.354, allocations: 1.579 MB / 0.7214 GB, free: 81.44 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (326): * Single equations (assignments): 323 * 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.001318/2.355, allocations: 338.1 kB / 0.7218 GB, free: 81.11 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01587/2.371, allocations: 6.331 MB / 0.728 GB, free: 74.81 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.015e-05/2.371, allocations: 12 kB / 0.728 GB, free: 74.8 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004009/2.375, allocations: 1.631 MB / 0.7296 GB, free: 73.18 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007554/2.383, allocations: 0.9092 MB / 0.7304 GB, free: 72.29 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0504/2.433, allocations: 22.15 MB / 0.7521 GB, free: 49.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/2.447, allocations: 5.963 MB / 0.7579 GB, free: 43.2 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/2.449, allocations: 495.4 kB / 0.7584 GB, free: 42.71 MB / 442.8 MB Notification: Performance of SimCode: time 2.585e-06/2.449, allocations: 0 / 0.7584 GB, free: 42.71 MB / 442.8 MB Notification: Performance of Templates: time 0.6068/3.056, allocations: 95.62 MB / 0.8517 GB, free: 114.8 MB / 458.8 MB