Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.412e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 54.85 MB / 362.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.1334/0.5324, allocations: 80.44 MB / 443.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0499/0.5824, allocations: 16.9 MB / 460.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01946/0.6019, allocations: 431.1 kB / 460.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.6167, allocations: 4.312 MB / 464.9 MB, free: 7.512 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04373/0.6605, allocations: 11.49 MB / 476.4 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007598/0.6681, allocations: 1.213 MB / 477.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.6787, allocations: 3.462 MB / 481.1 MB, free: 7.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0179/0.6967, allocations: 8.384 MB / 489.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/0.7013, allocations: 1.711 MB / 491.2 MB, free: 13.15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005832/0.7072, allocations: 2.552 MB / 493.7 MB, free: 10.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.7113, allocations: 0.909 MB / 494.6 MB, free: 9.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00232/0.7137, allocations: 216 kB / 494.9 MB, free: 9.469 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005628/0.7194, allocations: 3.101 MB / 498 MB, free: 6.359 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002896/0.7223, allocations: 0.5 MB / 498.5 MB, free: 5.859 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3716/1.094, allocations: 10.46 MB / 0.497 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.094, allocations: 0.8438 kB / 0.497 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.707e-06/1.094, allocations: 0.5938 kB / 0.497 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000631/1.095, allocations: 2.562 kB / 0.497 GB, free: 12.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02889/1.124, allocations: 7.776 MB / 0.5046 GB, free: 8.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.124, allocations: 12.97 kB / 0.5046 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/1.147, allocations: 3.128 MB / 0.5077 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/1.165, allocations: 5.731 MB / 0.5133 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006883/1.166, allocations: 491.9 kB / 0.5137 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004066/1.17, allocations: 0.6053 MB / 0.5143 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0593/1.229, allocations: 19.62 MB / 0.5335 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004509/1.23, allocations: 78.27 kB / 0.5335 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003886/1.234, allocations: 302.2 kB / 0.5338 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009495/1.243, allocations: 3.632 MB / 0.5374 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05403/1.297, allocations: 15.31 MB / 0.5523 GB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1597/1.457, allocations: 73.21 MB / 0.6238 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0306/1.488, allocations: 6.121 MB / 0.6298 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03812/1.526, allocations: 11.31 MB / 0.6409 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.526, allocations: 67.86 kB / 0.6409 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 7.775e-06/1.526, allocations: 4 kB / 0.6409 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.08417/1.61, allocations: 16.87 MB / 0.6574 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.61, allocations: 160.4 kB / 0.6575 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01892/1.629, allocations: 6.434 MB / 0.6638 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007059/1.63, allocations: 68.7 kB / 0.6639 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006616/1.637, allocations: 5.523 MB / 0.6693 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00196/1.639, allocations: 1.05 MB / 0.6703 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/1.64, allocations: 187.9 kB / 0.6705 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001131/1.642, allocations: 0.7078 MB / 0.6712 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009231/1.651, allocations: 2.7 MB / 0.6738 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01477/1.666, allocations: 8.532 MB / 0.6822 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.679, allocations: 4.631 MB / 0.6867 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002181/1.679, allocations: 60 kB / 0.6867 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.04082/1.72, allocations: 10.7 MB / 0.6972 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003357/1.721, allocations: 92 kB / 0.6973 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006218/1.721, allocations: 208 kB / 0.6975 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/1.722, allocations: 304 kB / 0.6978 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/1.737, allocations: 2.182 MB / 0.6999 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005413/1.738, allocations: 408.7 kB / 0.7003 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/1.748, allocations: 471.1 kB / 0.7007 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002229/1.751, allocations: 0.5625 MB / 0.7013 GB, free: 3.578 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1176): * Single equations (assignments): 1165 * Array equations: 11 * 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.01111/1.762, allocations: 3.684 MB / 0.7049 GB, free: 80 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3408/2.103, allocations: 0.5867 MB / 0.7055 GB, free: 236.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/2.113, allocations: 2.985 MB / 0.7084 GB, free: 236.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/2.113, allocations: 27.28 kB / 0.7084 GB, free: 236.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/2.113, allocations: 4.891 kB / 0.7084 GB, free: 236.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/2.113, allocations: 12.28 kB / 0.7084 GB, free: 236.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05623/2.17, allocations: 25.16 MB / 0.733 GB, free: 227 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00023/2.17, allocations: 63.16 kB / 0.733 GB, free: 227 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004254/2.174, allocations: 0.6159 MB / 0.7336 GB, free: 227 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/2.174, allocations: 90.22 kB / 0.7337 GB, free: 227 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006138/2.175, allocations: 137.9 kB / 0.7339 GB, free: 226.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.876e-05/2.175, allocations: 124.4 kB / 0.734 GB, free: 226.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.324e-05/2.175, allocations: 98.06 kB / 0.7341 GB, free: 226.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/2.188, allocations: 17.36 MB / 0.751 GB, free: 208.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/2.19, allocations: 0.7376 MB / 0.7517 GB, free: 208.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00234/2.193, allocations: 147 kB / 0.7519 GB, free: 208.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006467/2.199, allocations: 154.5 kB / 0.752 GB, free: 208.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001418/2.201, allocations: 427.8 kB / 0.7524 GB, free: 207.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000948/2.202, allocations: 172.8 kB / 0.7526 GB, free: 207.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01747/2.219, allocations: 4.554 MB / 0.7571 GB, free: 203.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.552e-06/2.219, allocations: 0 / 0.7571 GB, free: 203.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01922/2.239, allocations: 1.568 MB / 0.7586 GB, free: 202.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (326): * Single equations (assignments): 323 * 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.001953/2.241, allocations: 331.6 kB / 0.7589 GB, free: 202.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02398/2.265, allocations: 6.336 MB / 0.7651 GB, free: 196.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-05/2.265, allocations: 16 kB / 0.7651 GB, free: 196.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006435/2.271, allocations: 1.635 MB / 0.7667 GB, free: 195.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009372/2.281, allocations: 0.9038 MB / 0.7676 GB, free: 194.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04945/2.33, allocations: 22.16 MB / 0.7892 GB, free: 171.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/2.344, allocations: 5.963 MB / 0.795 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/2.346, allocations: 495.4 kB / 0.7955 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.743e-06/2.346, allocations: 0 / 0.7955 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.1863/2.532, allocations: 95.61 MB / 0.8889 GB, free: 69.43 MB / 0.5573 GB