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.3_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.021e-05, allocations: 0 / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3157, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.4765, allocations: 105 MB / 487.2 MB, free: 3.488 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4768, allocations: 75.97 kB / 487.3 MB, free: 3.414 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8372/1.314, allocations: 166.3 MB / 0.6383 GB, free: 35.39 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.902e-06/1.314, allocations: 3.984 kB / 0.6383 GB, free: 35.39 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003906/1.314, allocations: 160 kB / 0.6385 GB, free: 35.23 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.0235/1.338, allocations: 7.991 MB / 0.6463 GB, free: 27.16 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.338, allocations: 8.031 kB / 0.6463 GB, free: 27.15 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0226/1.361, allocations: 3.674 MB / 0.6499 GB, free: 23.46 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02515/1.386, allocations: 9.694 MB / 0.6593 GB, free: 13.68 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000741/1.387, allocations: 0.6258 MB / 0.6599 GB, free: 13.05 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003467/1.39, allocations: 0.8316 MB / 0.6607 GB, free: 12.22 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04973/1.44, allocations: 19.29 MB / 0.6796 GB, free: 7.402 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004959/1.44, allocations: 95.14 kB / 0.6797 GB, free: 7.309 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003468/1.444, allocations: 403.8 kB / 0.6801 GB, free: 6.914 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004209/1.448, allocations: 1.876 MB / 0.6819 GB, free: 5.035 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04251/1.491, allocations: 14.74 MB / 0.6963 GB, free: 6.281 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8242/2.315, allocations: 81.65 MB / 0.776 GB, free: 36.03 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/2.336, allocations: 5.906 MB / 0.7818 GB, free: 35.35 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005047/2.341, allocations: 2.478 MB / 0.7842 GB, free: 35.31 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02571/2.367, allocations: 11.32 MB / 0.7953 GB, free: 32.08 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/2.367, allocations: 61.88 kB / 0.7953 GB, free: 32.04 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=250): time 6.898e-06/2.367, allocations: 6.906 kB / 0.7953 GB, free: 32.04 MB / 0.4949 GB Notification: Performance of matching and sorting (n=274): time 0.05441/2.422, allocations: 15 MB / 0.81 GB, free: 27.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/2.422, allocations: 158 kB / 0.8101 GB, free: 27.14 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/2.434, allocations: 5.867 MB / 0.8159 GB, free: 26.61 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/2.434, allocations: 65.83 kB / 0.8159 GB, free: 26.57 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004116/2.438, allocations: 5.817 MB / 0.8216 GB, free: 23.49 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/2.44, allocations: 1.053 MB / 0.8226 GB, free: 22.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007995/2.44, allocations: 181.6 kB / 0.8228 GB, free: 22.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000877/2.441, allocations: 0.6949 MB / 0.8235 GB, free: 22.44 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/2.447, allocations: 2.484 MB / 0.8259 GB, free: 21.63 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008829/2.456, allocations: 8.208 MB / 0.8339 GB, free: 13.04 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00875/2.465, allocations: 4.479 MB / 0.8383 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001971/2.465, allocations: 59.44 kB / 0.8383 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02356/2.489, allocations: 9.879 MB / 0.848 GB, free: 9.086 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/2.489, allocations: 99.38 kB / 0.8481 GB, free: 9.082 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/2.489, allocations: 204.7 kB / 0.8483 GB, free: 9.082 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/2.489, allocations: 304.9 kB / 0.8486 GB, free: 9.078 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/2.499, allocations: 2.257 MB / 0.8508 GB, free: 8.805 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003444/2.5, allocations: 410.7 kB / 0.8512 GB, free: 8.715 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.511, allocations: 0.6185 MB / 0.8518 GB, free: 8.539 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/2.512, allocations: 0.5524 MB / 0.8523 GB, free: 8.469 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1171): * Single equations (assignments): 1168 * 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.00232/2.515, allocations: 0.835 MB / 0.8531 GB, free: 7.785 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/2.516, allocations: 0.5909 MB / 0.8537 GB, free: 7.457 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006762/2.523, allocations: 2.925 MB / 0.8566 GB, free: 6.324 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-05/2.523, allocations: 25.94 kB / 0.8566 GB, free: 6.324 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/2.523, allocations: 7.656 kB / 0.8566 GB, free: 6.32 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-05/2.523, allocations: 15.86 kB / 0.8566 GB, free: 6.316 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05009/2.573, allocations: 24.63 MB / 0.8807 GB, free: 3.68 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001567/2.573, allocations: 60 kB / 0.8807 GB, free: 3.621 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/2.576, allocations: 0.5916 MB / 0.8813 GB, free: 3.102 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/2.577, allocations: 91.95 kB / 0.8814 GB, free: 3.012 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/2.577, allocations: 139 kB / 0.8815 GB, free: 2.879 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001222/2.577, allocations: 121.2 kB / 0.8816 GB, free: 2.773 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.334e-05/2.577, allocations: 99.56 kB / 0.8817 GB, free: 2.676 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/2.594, allocations: 16.93 MB / 0.8983 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/2.596, allocations: 0.7241 MB / 0.899 GB, free: 15.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/2.598, allocations: 141.9 kB / 0.8991 GB, free: 14.97 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004964/2.603, allocations: 215.8 kB / 0.8993 GB, free: 14.8 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009588/2.604, allocations: 409.7 kB / 0.8997 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004782/2.605, allocations: 167.8 kB / 0.8999 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01847/2.623, allocations: 4.106 MB / 0.9039 GB, free: 10.71 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.662e-06/2.623, allocations: 0 / 0.9039 GB, free: 10.71 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02349/2.647, allocations: 1.564 MB / 0.9054 GB, free: 9.156 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.00177/2.648, allocations: 308.9 kB / 0.9057 GB, free: 8.859 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02386/2.672, allocations: 5.687 MB / 0.9112 GB, free: 3.684 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.524e-05/2.672, allocations: 8 kB / 0.9112 GB, free: 3.676 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/2.679, allocations: 1.496 MB / 0.9127 GB, free: 2.336 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006929/2.686, allocations: 0.9091 MB / 0.9136 GB, free: 1.566 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4019/3.088, allocations: 14.77 MB / 0.928 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/3.1, allocations: 5.965 MB / 0.9338 GB, free: 131 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01128/3.112, allocations: 2.904 MB / 0.9367 GB, free: 130.9 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/3.113, allocations: 415.1 kB / 0.9371 GB, free: 130.9 MB / 0.5418 GB Notification: Performance of SimCode: time 1.554e-06/3.113, allocations: 0 / 0.9371 GB, free: 130.9 MB / 0.5418 GB Notification: Performance of Templates: time 0.1452/3.259, allocations: 47.13 MB / 0.9831 GB, free: 128.5 MB / 0.5418 GB