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 1.907/1.907, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.823e-05, allocations: 8 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.0856, allocations: 48.7 MB / 321.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4388, allocations: 92.08 MB / 413.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.439, allocations: 77.05 kB / 413.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8511/1.29, allocations: 166.2 MB / 0.5665 GB, free: 70.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.31e-06/1.29, allocations: 6.844 kB / 0.5665 GB, free: 70.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004175/1.291, allocations: 154.8 kB / 0.5667 GB, free: 70.94 MB / 426.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.02432/1.315, allocations: 7.973 MB / 0.5745 GB, free: 67.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.315, allocations: 7.594 kB / 0.5745 GB, free: 67.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02456/1.34, allocations: 3.674 MB / 0.5781 GB, free: 67.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/1.366, allocations: 9.678 MB / 0.5875 GB, free: 66.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007727/1.367, allocations: 0.6286 MB / 0.5881 GB, free: 66.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/1.371, allocations: 0.8242 MB / 0.5889 GB, free: 66.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04947/1.42, allocations: 19.28 MB / 0.6078 GB, free: 59.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/1.421, allocations: 93.39 kB / 0.6078 GB, free: 59.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003089/1.424, allocations: 400.4 kB / 0.6082 GB, free: 59.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/1.428, allocations: 1.863 MB / 0.61 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03777/1.466, allocations: 14.74 MB / 0.6244 GB, free: 48.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4237/1.889, allocations: 81.54 MB / 0.7041 GB, free: 28.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/1.911, allocations: 5.891 MB / 0.7098 GB, free: 28.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005106/1.916, allocations: 2.482 MB / 0.7122 GB, free: 28.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02638/1.943, allocations: 11.33 MB / 0.7233 GB, free: 41.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/1.943, allocations: 62.81 kB / 0.7234 GB, free: 41.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 7.23e-06/1.943, allocations: 0 / 0.7234 GB, free: 41.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=274): time 0.05321/1.996, allocations: 14.98 MB / 0.738 GB, free: 36.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.996, allocations: 154.5 kB / 0.7382 GB, free: 36.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/2.009, allocations: 5.836 MB / 0.7439 GB, free: 35.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004512/2.01, allocations: 68.23 kB / 0.7439 GB, free: 35.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003947/2.014, allocations: 5.57 MB / 0.7494 GB, free: 32.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/2.015, allocations: 1.053 MB / 0.7504 GB, free: 32.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007623/2.016, allocations: 183.7 kB / 0.7506 GB, free: 32.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007028/2.016, allocations: 0.7051 MB / 0.7512 GB, free: 31.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/2.022, allocations: 2.476 MB / 0.7537 GB, free: 31.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008844/2.031, allocations: 8.191 MB / 0.7617 GB, free: 24.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008916/2.04, allocations: 4.474 MB / 0.766 GB, free: 24.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/2.04, allocations: 60.12 kB / 0.7661 GB, free: 24.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02327/2.063, allocations: 9.607 MB / 0.7755 GB, free: 22.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/2.063, allocations: 93.84 kB / 0.7756 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002448/2.064, allocations: 207.4 kB / 0.7758 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/2.064, allocations: 306.4 kB / 0.7761 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/2.075, allocations: 2.246 MB / 0.7782 GB, free: 22.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003423/2.075, allocations: 405.5 kB / 0.7786 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/2.086, allocations: 0.6194 MB / 0.7792 GB, free: 22.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/2.088, allocations: 0.5468 MB / 0.7798 GB, free: 22.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * 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 (1168): * Single equations (assignments): 1165 * 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.001941/2.09, allocations: 0.8356 MB / 0.7806 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/2.091, allocations: 0.591 MB / 0.7812 GB, free: 21.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006608/2.098, allocations: 2.924 MB / 0.784 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/2.098, allocations: 32.45 kB / 0.7841 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/2.098, allocations: 3.375 kB / 0.7841 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/2.098, allocations: 10.92 kB / 0.7841 GB, free: 20.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04922/2.147, allocations: 24.6 MB / 0.8081 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001261/2.147, allocations: 60 kB / 0.8081 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/2.15, allocations: 0.5981 MB / 0.8087 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/2.15, allocations: 90.44 kB / 0.8088 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000434/2.151, allocations: 136.8 kB / 0.8089 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001225/2.151, allocations: 122.4 kB / 0.8091 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.881e-05/2.151, allocations: 91.62 kB / 0.8092 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/2.168, allocations: 16.85 MB / 0.8256 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/2.17, allocations: 0.7221 MB / 0.8263 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/2.172, allocations: 142 kB / 0.8264 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005174/2.177, allocations: 217 kB / 0.8267 GB, free: 1.516 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009992/2.179, allocations: 411.3 kB / 0.827 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004286/2.179, allocations: 167.5 kB / 0.8272 GB, free: 1.023 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02381/2.203, allocations: 4.795 MB / 0.8319 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.321e-06/2.203, allocations: 0 / 0.8319 GB, free: 15.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0123/2.215, allocations: 1.552 MB / 0.8334 GB, free: 13.58 MB / 490.7 MB 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.001125/2.216, allocations: 308 kB / 0.8337 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01385/2.23, allocations: 5.668 MB / 0.8392 GB, free: 8.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.113e-05/2.23, allocations: 12 kB / 0.8392 GB, free: 8.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003598/2.234, allocations: 1.499 MB / 0.8407 GB, free: 6.758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006798/2.241, allocations: 0.9097 MB / 0.8416 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04333/2.284, allocations: 15.68 MB / 0.8569 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01468/2.299, allocations: 5.952 MB / 0.8627 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/2.301, allocations: 489.4 kB / 0.8632 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of SimCode: time 4.111e-06/2.301, allocations: 4 kB / 0.8632 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of Templates: time 0.5349/2.836, allocations: 94.07 MB / 0.9551 GB, free: 129.7 MB / 0.5105 GB