Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.427e-05, allocations: 7.984 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3535, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.04919/0.4028, allocations: 30.82 MB / 355.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02072/0.4236, allocations: 6.742 MB / 362.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007553/0.4312, allocations: 152.2 kB / 362.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006604/0.4378, allocations: 1.64 MB / 364.2 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01887/0.4568, allocations: 4.433 MB / 368.7 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.4592, allocations: 239.7 kB / 368.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003462/0.4627, allocations: 1.002 MB / 369.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005722/0.4685, allocations: 2.708 MB / 372.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.4696, allocations: 478.7 kB / 373.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.471, allocations: 0.709 MB / 373.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.4726, allocations: 0.5072 MB / 374.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005164/0.4732, allocations: 76 kB / 374.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.4745, allocations: 0.9467 MB / 375.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006829/0.4752, allocations: 159.9 kB / 375.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005974/0.4812, allocations: 3.729 MB / 379.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4813, allocations: 0 / 379.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4813, allocations: 0 / 379.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.4815, allocations: 0 / 379.2 MB, free: 8.996 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.008342/0.4898, allocations: 2.622 MB / 381.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.4899, allocations: 11.97 kB / 381.8 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.5019, allocations: 1.954 MB / 383.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.5062, allocations: 1.37 MB / 385.2 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.5064, allocations: 160 kB / 385.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009391/0.5074, allocations: 203.9 kB / 385.5 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.5254, allocations: 6.98 MB / 392.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.47e-05/0.5255, allocations: 11.88 kB / 392.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005319/0.5261, allocations: 111.8 kB / 392.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004337/0.5304, allocations: 1.517 MB / 394.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.5502, allocations: 5.959 MB / 400.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04861/0.5989, allocations: 22.19 MB / 422.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007893/0.6068, allocations: 2.187 MB / 424.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.6194, allocations: 3.988 MB / 428.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.6195, allocations: 39.22 kB / 428.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.699e-06/0.6195, allocations: 0 / 428.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.01102/0.6306, allocations: 2.508 MB / 431 MB, free: 3.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.6307, allocations: 64.06 kB / 431.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/0.6352, allocations: 1.807 MB / 432.9 MB, free: 1.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.6354, allocations: 37.7 kB / 432.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002466/0.6379, allocations: 1.999 MB / 434.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007566/0.6387, allocations: 375.2 kB / 435.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.6391, allocations: 64 kB / 435.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006159/0.6397, allocations: 0.494 MB / 435.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/0.6428, allocations: 0.9745 MB / 436.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/0.6479, allocations: 2.954 MB / 439.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/0.6525, allocations: 1.698 MB / 441.5 MB, free: 8.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.734e-05/0.6527, allocations: 20 kB / 441.5 MB, free: 8.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01166/0.6643, allocations: 3.836 MB / 445.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.6645, allocations: 47.44 kB / 445.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.6646, allocations: 72 kB / 445.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.6647, allocations: 100 kB / 445.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/0.6693, allocations: 0.7252 MB / 446.2 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/0.6695, allocations: 139.4 kB / 446.4 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/0.6731, allocations: 455.2 kB / 446.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006187/0.6737, allocations: 204 kB / 447 MB, free: 2.691 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (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.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (398): * Single equations (assignments): 393 * 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.003713/0.6775, allocations: 1.427 MB / 448.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/0.6779, allocations: 169.8 kB / 448.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.6814, allocations: 1.24 MB / 449.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-05/0.6814, allocations: 16 kB / 449.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.6815, allocations: 0 / 449.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6815, allocations: 3.984 kB / 449.9 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.6954, allocations: 5.017 MB / 454.9 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.6955, allocations: 8 kB / 454.9 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.6966, allocations: 143.7 kB / 455 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.6967, allocations: 12 kB / 455.1 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.6968, allocations: 28.67 kB / 455.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-05/0.6968, allocations: 27.88 kB / 455.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-05/0.6968, allocations: 19.89 kB / 455.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/0.7008, allocations: 2.307 MB / 457.4 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/0.7015, allocations: 274.4 kB / 457.7 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/0.7018, allocations: 35.94 kB / 457.7 MB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7029, allocations: 35.89 kB / 457.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.7031, allocations: 79.7 kB / 457.9 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7032, allocations: 40 kB / 457.9 MB, free: 7.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003083/0.7063, allocations: 1.316 MB / 459.2 MB, free: 5.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7064, allocations: 0 / 459.2 MB, free: 5.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003772/0.7101, allocations: 0.7621 MB / 460 MB, free: 4.992 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.0004573/0.7106, allocations: 154.9 kB / 460.1 MB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005911/0.7166, allocations: 2.264 MB / 462.4 MB, free: 2.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.7166, allocations: 4.188 kB / 462.4 MB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.7182, allocations: 0.5568 MB / 462.9 MB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.72, allocations: 240.3 kB / 463.2 MB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.7364, allocations: 6.92 MB / 470.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006905/0.7434, allocations: 2.509 MB / 472.6 MB, free: 8.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004907/0.7484, allocations: 1.039 MB / 473.7 MB, free: 7.129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/0.7491, allocations: 135.4 kB / 473.8 MB, free: 6.996 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7491, allocations: 0 / 473.8 MB, free: 6.996 MB / 410.7 MB Notification: Performance of Templates: time 0.3447/1.094, allocations: 14.96 MB / 488.7 MB, free: 124.1 MB / 410.7 MB