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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.604/2.604, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.384e-05/4.39e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.6069, allocations: 102.8 MB / 0.501 GB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.6072, allocations: 79.95 kB / 0.5011 GB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2056/0.8127, allocations: 53.74 MB / 0.5536 GB, free: 11.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.098e-06/0.8128, allocations: 0 / 0.5536 GB, free: 11.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.8129, allocations: 56 kB / 0.5536 GB, free: 11.14 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.006713/0.8197, allocations: 2.519 MB / 0.5561 GB, free: 8.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8197, allocations: 8.031 kB / 0.5561 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009779/0.8295, allocations: 1.794 MB / 0.5578 GB, free: 6.762 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005046/0.8346, allocations: 1.684 MB / 0.5595 GB, free: 5.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.8349, allocations: 209.4 kB / 0.5597 GB, free: 4.824 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.8359, allocations: 267.9 kB / 0.5599 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.8517, allocations: 6.227 MB / 0.566 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.682e-05/0.8519, allocations: 19.86 kB / 0.566 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007113/0.8526, allocations: 131.9 kB / 0.5662 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001156/0.8538, allocations: 0.6372 MB / 0.5668 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8679, allocations: 5.341 MB / 0.572 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03892/0.9069, allocations: 22.32 MB / 0.5938 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/0.9126, allocations: 1.993 MB / 0.5958 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.914, allocations: 0.6838 MB / 0.5964 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008999/0.923, allocations: 3.679 MB / 0.6 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.9231, allocations: 35 kB / 0.6 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.931e-06/0.9232, allocations: 0 / 0.6 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.006627/0.9298, allocations: 1.585 MB / 0.6016 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.9299, allocations: 59.84 kB / 0.6017 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.9333, allocations: 1.715 MB / 0.6033 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/0.9334, allocations: 37.7 kB / 0.6034 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.9352, allocations: 1.887 MB / 0.6052 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.9356, allocations: 316 kB / 0.6055 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.9358, allocations: 60 kB / 0.6056 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004492/0.9362, allocations: 497 kB / 0.606 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.938, allocations: 0.8296 MB / 0.6068 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2924/1.23, allocations: 2.664 MB / 0.6094 GB, free: 141 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/1.234, allocations: 1.53 MB / 0.6109 GB, free: 141 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.674e-05/1.234, allocations: 19.56 kB / 0.611 GB, free: 141 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.008066/1.242, allocations: 3.227 MB / 0.6141 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/1.242, allocations: 33.97 kB / 0.6141 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.242, allocations: 67.56 kB / 0.6142 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/1.243, allocations: 95.72 kB / 0.6143 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/1.245, allocations: 0.6623 MB / 0.6149 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001598/1.246, allocations: 129.6 kB / 0.6151 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.249, allocations: 407.3 kB / 0.6155 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005502/1.249, allocations: 185.8 kB / 0.6156 GB, free: 140.8 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.0005229/1.25, allocations: 345.5 kB / 0.616 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/1.25, allocations: 158.1 kB / 0.6161 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/1.25, allocations: 202.8 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/1.25, allocations: 8.516 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.251, allocations: 2.5 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.251, allocations: 6.328 kB / 0.6163 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/1.26, allocations: 4.084 MB / 0.6203 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.26, allocations: 7.25 kB / 0.6203 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/1.26, allocations: 103.6 kB / 0.6204 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/1.26, allocations: 10.75 kB / 0.6204 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/1.26, allocations: 19.28 kB / 0.6204 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/1.26, allocations: 18.64 kB / 0.6205 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.26, allocations: 7.375 kB / 0.6205 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/1.262, allocations: 1.728 MB / 0.6222 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/1.263, allocations: 257 kB / 0.6224 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/1.263, allocations: 21.36 kB / 0.6224 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/1.264, allocations: 29.17 kB / 0.6225 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.264, allocations: 50.97 kB / 0.6225 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/1.264, allocations: 32.3 kB / 0.6225 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002623/1.267, allocations: 1.263 MB / 0.6238 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-06/1.267, allocations: 3.844 kB / 0.6238 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003634/1.271, allocations: 0.7148 MB / 0.6245 GB, free: 138.4 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.0003792/1.271, allocations: 149.7 kB / 0.6246 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003921/1.275, allocations: 1.859 MB / 0.6264 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.672e-06/1.275, allocations: 1.562 kB / 0.6264 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/1.276, allocations: 454.1 kB / 0.6269 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.277, allocations: 224.4 kB / 0.6271 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009903/1.287, allocations: 4.159 MB / 0.6311 GB, free: 137 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003763/1.291, allocations: 2.379 MB / 0.6335 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006502/1.297, allocations: 0.9745 MB / 0.6344 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/1.298, allocations: 116.1 kB / 0.6345 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.494e-06/1.298, allocations: 0 / 0.6345 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.07723/1.376, allocations: 13.53 MB / 0.6477 GB, free: 135.4 MB / 0.5105 GB