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.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.095e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3811, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.04934/0.4305, allocations: 30.83 MB / 393.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.451, allocations: 6.75 MB / 400.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007213/0.4582, allocations: 151.7 kB / 400.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005989/0.4643, allocations: 1.641 MB / 402.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01732/0.4816, allocations: 4.429 MB / 406.7 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.4839, allocations: 247.6 kB / 406.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.4872, allocations: 0.994 MB / 407.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005815/0.493, allocations: 2.714 MB / 410.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009706/0.4941, allocations: 466.8 kB / 411.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.4955, allocations: 0.7207 MB / 411.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.497, allocations: 0.5032 MB / 412.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.4975, allocations: 76 kB / 412.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.4988, allocations: 0.9467 MB / 413.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006392/0.4995, allocations: 160 kB / 413.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.5053, allocations: 3.729 MB / 417.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5053, allocations: 0 / 417.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5053, allocations: 0 / 417.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.5055, allocations: 4 kB / 417.2 MB, free: 7.238 MB / 346.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.007401/0.5129, allocations: 2.622 MB / 419.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.5129, allocations: 19.91 kB / 419.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5248, allocations: 1.938 MB / 421.8 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/0.5291, allocations: 1.382 MB / 423.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.5294, allocations: 167.9 kB / 423.3 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008634/0.5302, allocations: 203.9 kB / 423.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.5475, allocations: 6.98 MB / 430.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.861e-05/0.5476, allocations: 15.88 kB / 430.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.5481, allocations: 95.89 kB / 430.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.5523, allocations: 1.517 MB / 432.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.5711, allocations: 5.971 MB / 438.1 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04955/0.6207, allocations: 22.17 MB / 460.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.6319, allocations: 2.195 MB / 462.5 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01575/0.6477, allocations: 3.982 MB / 466.5 MB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.6478, allocations: 43.22 kB / 466.5 MB, free: 4.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.851e-06/0.6478, allocations: 0 / 466.5 MB, free: 4.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.01458/0.6624, allocations: 2.505 MB / 469 MB, free: 2.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.6625, allocations: 60.06 kB / 469.1 MB, free: 1.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.6677, allocations: 1.811 MB / 470.9 MB, free: 156 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.6679, allocations: 37.69 kB / 470.9 MB, free: 112 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002514/0.6705, allocations: 1.991 MB / 472.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000728/0.6712, allocations: 383.1 kB / 473.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.6716, allocations: 67.98 kB / 473.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005915/0.6722, allocations: 0.494 MB / 473.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.6759, allocations: 0.9784 MB / 474.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005916/0.6818, allocations: 2.954 MB / 477.8 MB, free: 8.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/0.6875, allocations: 1.694 MB / 479.5 MB, free: 6.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.737e-05/0.6877, allocations: 24 kB / 479.5 MB, free: 6.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01362/0.7013, allocations: 3.832 MB / 483.3 MB, free: 2.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/0.7014, allocations: 36 kB / 483.4 MB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.7015, allocations: 68 kB / 483.4 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.7017, allocations: 104 kB / 483.5 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/0.7063, allocations: 0.7252 MB / 484.2 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000178/0.7065, allocations: 135.5 kB / 484.4 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.7099, allocations: 459.2 kB / 484.8 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006384/0.7106, allocations: 200 kB / 485 MB, free: 0.9492 MB / 410.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.003948/0.7146, allocations: 1.435 MB / 486.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004618/0.7151, allocations: 169.8 kB / 486.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.7186, allocations: 1.236 MB / 487.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/0.7186, allocations: 15.94 kB / 487.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.7187, allocations: 0 / 487.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.7187, allocations: 3.984 kB / 487.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.7327, allocations: 5.017 MB / 492.9 MB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.7327, allocations: 8 kB / 492.9 MB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.7339, allocations: 143.7 kB / 493 MB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/0.734, allocations: 16.81 kB / 493.1 MB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.7341, allocations: 24 kB / 493.1 MB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.429e-05/0.7341, allocations: 23.92 kB / 493.1 MB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/0.7342, allocations: 15.94 kB / 493.1 MB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.7382, allocations: 2.319 MB / 495.4 MB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.7389, allocations: 286.4 kB / 495.7 MB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/0.7394, allocations: 20 kB / 495.7 MB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7406, allocations: 35.97 kB / 495.8 MB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.7408, allocations: 79.72 kB / 495.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7409, allocations: 47.97 kB / 495.9 MB, free: 5.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003195/0.7441, allocations: 1.312 MB / 497.2 MB, free: 4.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7442, allocations: 0 / 497.2 MB, free: 4.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003943/0.7481, allocations: 0.7737 MB / 498 MB, free: 3.227 MB / 426.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.0005005/0.7487, allocations: 150.9 kB / 498.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00591/0.7546, allocations: 2.272 MB / 0.4887 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.7546, allocations: 4 kB / 0.4887 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.7561, allocations: 0.557 MB / 0.4892 GB, free: 272 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.7578, allocations: 246.9 kB / 0.4895 GB, free: 24 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3708/1.129, allocations: 6.906 MB / 0.4962 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005067/1.134, allocations: 2.508 MB / 0.4987 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004593/1.138, allocations: 1.041 MB / 0.4997 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007797/1.139, allocations: 132.3 kB / 0.4998 GB, free: 119.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/1.139, allocations: 0.625 kB / 0.4998 GB, free: 119.3 MB / 426.7 MB Notification: Performance of Templates: time 0.04886/1.188, allocations: 14.98 MB / 0.5144 GB, free: 107.3 MB / 426.7 MB