Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.143e-05, allocations: 8 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3878/0.5198, allocations: 43.36 MB / 454.3 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02943/0.5493, allocations: 9.198 MB / 463.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01268/0.562, allocations: 218.5 kB / 463.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009309/0.5714, allocations: 2.322 MB / 466 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02554/0.597, allocations: 6.233 MB / 472.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.6002, allocations: 270.3 kB / 472.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003562/0.6038, allocations: 1.034 MB / 473.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006977/0.6108, allocations: 3.421 MB / 477 MB, free: 5.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.6119, allocations: 494.7 kB / 477.5 MB, free: 4.973 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.6133, allocations: 0.7011 MB / 478.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.6148, allocations: 0.5149 MB / 478.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004794/0.6153, allocations: 76 kB / 478.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.6167, allocations: 1.036 MB / 479.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000654/0.6174, allocations: 176 kB / 479.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.6237, allocations: 4.154 MB / 484.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6238, allocations: 0 / 484.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6238, allocations: 0 / 484.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001557/0.624, allocations: 8 kB / 484.1 MB, free: 14.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.00799/0.632, allocations: 2.822 MB / 486.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.632, allocations: 12.03 kB / 486.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.644, allocations: 1.996 MB / 488.9 MB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.6488, allocations: 1.507 MB / 490.4 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.6491, allocations: 188.7 kB / 490.6 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.6504, allocations: 235.8 kB / 490.9 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.6711, allocations: 7.521 MB / 498.4 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.6712, allocations: 11.88 kB / 498.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009175/0.6722, allocations: 111.9 kB / 498.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004504/0.6767, allocations: 1.564 MB / 0.4883 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02023/0.697, allocations: 6.292 MB / 0.4945 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04988/0.7469, allocations: 23.38 MB / 0.5173 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/0.7552, allocations: 2.198 MB / 0.5195 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.7667, allocations: 3.919 MB / 0.5233 GB, free: 9.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.7668, allocations: 39.12 kB / 0.5233 GB, free: 9.168 MB / 442.7 MB Notification: Performance of pre-optimization done (n=87): time 4.659e-06/0.7668, allocations: 0 / 0.5233 GB, free: 9.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=87): time 0.0118/0.7787, allocations: 2.504 MB / 0.5258 GB, free: 6.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.7788, allocations: 59.97 kB / 0.5258 GB, free: 6.531 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/0.7834, allocations: 1.873 MB / 0.5277 GB, free: 4.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.7836, allocations: 41.69 kB / 0.5277 GB, free: 4.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.7859, allocations: 2.122 MB / 0.5298 GB, free: 2.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/0.7865, allocations: 347.6 kB / 0.5301 GB, free: 2.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.7868, allocations: 60 kB / 0.5302 GB, free: 2.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003329/0.7871, allocations: 453.7 kB / 0.5306 GB, free: 1.562 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.7896, allocations: 0.9353 MB / 0.5315 GB, free: 0.625 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.794, allocations: 2.889 MB / 0.5343 GB, free: 12.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.7982, allocations: 1.65 MB / 0.5359 GB, free: 11.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.137e-05/0.7983, allocations: 20 kB / 0.536 GB, free: 11.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01004/0.8083, allocations: 3.669 MB / 0.5395 GB, free: 7.406 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.8084, allocations: 39.95 kB / 0.5396 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.8086, allocations: 68 kB / 0.5396 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.8087, allocations: 104 kB / 0.5397 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.8129, allocations: 0.6979 MB / 0.5404 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001619/0.8131, allocations: 135.5 kB / 0.5406 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.8162, allocations: 451.1 kB / 0.541 GB, free: 5.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/0.8168, allocations: 192.3 kB / 0.5412 GB, free: 5.734 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (388): * Single equations (assignments): 383 * Array equations: 5 * 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.003716/0.8205, allocations: 1.554 MB / 0.5427 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.821, allocations: 169.8 kB / 0.5428 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.8216, allocations: 222.7 kB / 0.5431 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/0.8216, allocations: 12 kB / 0.5431 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.8217, allocations: 0 / 0.5431 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.8217, allocations: 3.984 kB / 0.5431 GB, free: 3.766 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.835, allocations: 5.068 MB / 0.548 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.8351, allocations: 8 kB / 0.548 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.836, allocations: 111.8 kB / 0.5481 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/0.836, allocations: 12 kB / 0.5482 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.44e-05/0.8361, allocations: 31.92 kB / 0.5482 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.795e-05/0.8362, allocations: 11.94 kB / 0.5482 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/0.8362, allocations: 16.44 kB / 0.5482 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.8393, allocations: 1.993 MB / 0.5502 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.84, allocations: 306.2 kB / 0.5504 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/0.8404, allocations: 20 kB / 0.5505 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000985/0.8414, allocations: 35.88 kB / 0.5505 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.8416, allocations: 67.77 kB / 0.5506 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.8417, allocations: 35.98 kB / 0.5506 GB, free: 11.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003336/0.845, allocations: 1.461 MB / 0.552 GB, free: 10.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.8451, allocations: 0 / 0.552 GB, free: 10.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004095/0.8492, allocations: 0.8163 MB / 0.5528 GB, free: 9.195 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.0005356/0.8497, allocations: 155 kB / 0.553 GB, free: 9.035 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005373/0.8551, allocations: 2.148 MB / 0.5551 GB, free: 6.898 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/0.8552, allocations: 5.875 kB / 0.5551 GB, free: 6.895 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.8564, allocations: 0.5005 MB / 0.5556 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.8584, allocations: 267 kB / 0.5558 GB, free: 6.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.8767, allocations: 7.59 MB / 0.5632 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005485/0.8823, allocations: 2.663 MB / 0.5658 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008234/0.8831, allocations: 163.4 kB / 0.566 GB, free: 11.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.844e-06/0.8832, allocations: 0 / 0.566 GB, free: 11.55 MB / 490.7 MB Notification: Performance of Templates: time 0.08009/0.9633, allocations: 33.79 MB / 0.599 GB, free: 9.766 MB / 0.5105 GB