Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.24e-05, allocations: 7.234 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1271, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5744, allocations: 102.8 MB / 0.501 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.5747, allocations: 79.95 kB / 0.5011 GB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1997/0.7744, allocations: 53.74 MB / 0.5536 GB, free: 11.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.077e-06/0.7744, allocations: 0 / 0.5536 GB, free: 11.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000137/0.7746, allocations: 52 kB / 0.5536 GB, free: 11.2 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007744/0.7823, allocations: 2.526 MB / 0.5561 GB, free: 8.613 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7824, allocations: 8.031 kB / 0.5561 GB, free: 8.605 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.7926, allocations: 1.794 MB / 0.5578 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.7984, allocations: 1.676 MB / 0.5595 GB, free: 5.078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/0.799, allocations: 209.5 kB / 0.5597 GB, free: 4.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/0.8011, allocations: 275.9 kB / 0.5599 GB, free: 4.602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/0.8287, allocations: 6.223 MB / 0.566 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.8289, allocations: 15.88 kB / 0.566 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001349/0.8303, allocations: 127.9 kB / 0.5661 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.8324, allocations: 0.6372 MB / 0.5668 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.8573, allocations: 5.341 MB / 0.572 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05075/0.9081, allocations: 22.33 MB / 0.5938 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/0.9139, allocations: 1.986 MB / 0.5957 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.9153, allocations: 0.6877 MB / 0.5964 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008905/0.9243, allocations: 3.683 MB / 0.6 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.9244, allocations: 39 kB / 0.6 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.743e-06/0.9244, allocations: 0 / 0.6 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.006552/0.9309, allocations: 1.581 MB / 0.6016 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.931, allocations: 55.84 kB / 0.6016 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/0.9344, allocations: 1.719 MB / 0.6033 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.462e-05/0.9346, allocations: 37.7 kB / 0.6033 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.9364, allocations: 1.891 MB / 0.6052 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.9368, allocations: 312.1 kB / 0.6055 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.937, allocations: 56 kB / 0.6055 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004527/0.9375, allocations: 0.4893 MB / 0.606 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.9392, allocations: 0.8296 MB / 0.6068 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3272/1.266, allocations: 2.667 MB / 0.6094 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/1.27, allocations: 1.524 MB / 0.6109 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-05/1.27, allocations: 19 kB / 0.6109 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.007875/1.278, allocations: 3.233 MB / 0.6141 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/1.278, allocations: 32.66 kB / 0.6141 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.553e-05/1.278, allocations: 66.09 kB / 0.6142 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/1.278, allocations: 98.42 kB / 0.6143 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/1.281, allocations: 0.6585 MB / 0.6149 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001494/1.281, allocations: 130.6 kB / 0.6151 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/1.284, allocations: 415.5 kB / 0.6154 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/1.284, allocations: 182.9 kB / 0.6156 GB, free: 140.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.0004699/1.285, allocations: 344.2 kB / 0.6159 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/1.285, allocations: 158.5 kB / 0.6161 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/1.285, allocations: 201.4 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.285, allocations: 11.94 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.285, allocations: 1.906 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.285, allocations: 2.766 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008406/1.294, allocations: 4.082 MB / 0.6203 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.294, allocations: 6.781 kB / 0.6203 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/1.294, allocations: 103.4 kB / 0.6204 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/1.295, allocations: 10 kB / 0.6204 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/1.295, allocations: 21.11 kB / 0.6204 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.892e-05/1.295, allocations: 21 kB / 0.6205 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.295, allocations: 7.484 kB / 0.6205 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/1.297, allocations: 1.729 MB / 0.6221 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/1.297, allocations: 256.3 kB / 0.6224 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/1.298, allocations: 19.33 kB / 0.6224 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/1.298, allocations: 28.55 kB / 0.6224 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.298, allocations: 53.53 kB / 0.6225 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/1.299, allocations: 30.78 kB / 0.6225 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0026/1.301, allocations: 1.264 MB / 0.6238 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.065e-06/1.301, allocations: 0 / 0.6238 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0036/1.305, allocations: 0.7174 MB / 0.6245 GB, free: 138.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0003756/1.305, allocations: 147.1 kB / 0.6246 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003846/1.309, allocations: 1.868 MB / 0.6264 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.596e-06/1.309, allocations: 1.25 kB / 0.6264 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007917/1.31, allocations: 451.2 kB / 0.6268 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.311, allocations: 227.8 kB / 0.6271 GB, free: 138 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009578/1.321, allocations: 4.165 MB / 0.6311 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003662/1.325, allocations: 2.374 MB / 0.6334 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003872/1.329, allocations: 0.9697 MB / 0.6344 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/1.329, allocations: 118.1 kB / 0.6345 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.717e-06/1.329, allocations: 4.109 kB / 0.6345 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.04375/1.373, allocations: 13.52 MB / 0.6477 GB, free: 135.4 MB / 0.5105 GB