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_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.185e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4993/0.6334, allocations: 82 MB / 492.9 MB, free: 5.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05434/0.6878, allocations: 17.27 MB / 0.4982 GB, free: 4.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02125/0.7091, allocations: 450.9 kB / 0.4987 GB, free: 3.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01624/0.7254, allocations: 4.351 MB / 0.5029 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04932/0.7747, allocations: 11.8 MB / 0.5144 GB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009446/0.7842, allocations: 1.198 MB / 0.5156 GB, free: 2.172 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01236/0.7967, allocations: 3.223 MB / 0.5187 GB, free: 14.95 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02149/0.8182, allocations: 8.211 MB / 0.5268 GB, free: 6.684 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.8223, allocations: 1.57 MB / 0.5283 GB, free: 5.109 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.8274, allocations: 2.221 MB / 0.5305 GB, free: 2.883 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.831, allocations: 0.8817 MB / 0.5313 GB, free: 2 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.8327, allocations: 188 kB / 0.5315 GB, free: 1.816 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004858/0.8376, allocations: 2.809 MB / 0.5343 GB, free: 15 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.8402, allocations: 464 kB / 0.5347 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.8557, allocations: 9.305 MB / 0.5438 GB, free: 5.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8557, allocations: 0 / 0.5438 GB, free: 5.219 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.8558, allocations: 4 kB / 0.5438 GB, free: 5.215 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004714/0.8562, allocations: 4 kB / 0.5438 GB, free: 5.211 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02273/0.879, allocations: 7.153 MB / 0.5508 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.8791, allocations: 8.031 kB / 0.5508 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/0.8997, allocations: 3 MB / 0.5537 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.9145, allocations: 4.901 MB / 0.5585 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/0.9151, allocations: 442.9 kB / 0.5589 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.9176, allocations: 0.5504 MB / 0.5595 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05094/0.9686, allocations: 17.57 MB / 0.5766 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003247/0.969, allocations: 83.23 kB / 0.5767 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/0.9709, allocations: 267.8 kB / 0.577 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008662/0.9796, allocations: 3.174 MB / 0.5801 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04766/1.027, allocations: 13.56 MB / 0.5933 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7953/1.823, allocations: 66.23 MB / 0.658 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02541/1.848, allocations: 5.393 MB / 0.6632 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02485/1.873, allocations: 10.14 MB / 0.6731 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.873, allocations: 61.2 kB / 0.6732 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.881e-06/1.873, allocations: 0 / 0.6732 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.06303/1.936, allocations: 14.56 MB / 0.6874 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/1.936, allocations: 152.1 kB / 0.6876 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/1.95, allocations: 6.107 MB / 0.6935 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004151/1.951, allocations: 61.64 kB / 0.6936 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004096/1.955, allocations: 5.034 MB / 0.6985 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.956, allocations: 0.8219 MB / 0.6993 GB, free: 86.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008073/1.957, allocations: 161.4 kB / 0.6995 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005641/1.957, allocations: 0.6726 MB / 0.7001 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005999/1.963, allocations: 2.277 MB / 0.7023 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00929/1.973, allocations: 7.665 MB / 0.7098 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009145/1.982, allocations: 4.027 MB / 0.7138 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/1.982, allocations: 60 kB / 0.7138 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.02388/2.006, allocations: 9.361 MB / 0.723 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/2.006, allocations: 88 kB / 0.723 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002512/2.006, allocations: 192.2 kB / 0.7232 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/2.007, allocations: 280 kB / 0.7235 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/2.018, allocations: 1.934 MB / 0.7254 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003224/2.018, allocations: 370.6 kB / 0.7257 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/2.027, allocations: 425 kB / 0.7261 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/2.028, allocations: 0.5174 MB / 0.7266 GB, free: 55.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1039): * Single equations (assignments): 1028 * 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.007365/2.036, allocations: 3.35 MB / 0.7299 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/2.037, allocations: 0.5321 MB / 0.7304 GB, free: 51.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/2.039, allocations: 0.6329 MB / 0.7311 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.412e-05/2.039, allocations: 20 kB / 0.7311 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/2.039, allocations: 8 kB / 0.7311 GB, free: 50.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/2.039, allocations: 7.969 kB / 0.7311 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03234/2.071, allocations: 15.28 MB / 0.746 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.799e-05/2.071, allocations: 56.02 kB / 0.7461 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/2.074, allocations: 447.1 kB / 0.7465 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/2.074, allocations: 68 kB / 0.7466 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/2.074, allocations: 105.2 kB / 0.7467 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-05/2.074, allocations: 95.59 kB / 0.7467 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.533e-05/2.074, allocations: 71.69 kB / 0.7468 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008365/2.083, allocations: 12.32 MB / 0.7588 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/2.085, allocations: 0.6654 MB / 0.7595 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/2.087, allocations: 104 kB / 0.7596 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004077/2.091, allocations: 119.9 kB / 0.7597 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006279/2.091, allocations: 311.5 kB / 0.76 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/2.092, allocations: 125 kB / 0.7601 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01036/2.102, allocations: 4.313 MB / 0.7643 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/2.102, allocations: 0 / 0.7643 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009068/2.111, allocations: 1.383 MB / 0.7657 GB, free: 12.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 235 * 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.0009348/2.112, allocations: 281.5 kB / 0.766 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01159/2.124, allocations: 5.302 MB / 0.7711 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.792e-05/2.124, allocations: 8 kB / 0.7711 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/2.126, allocations: 1.198 MB / 0.7723 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/2.133, allocations: 0.8508 MB / 0.7731 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/2.176, allocations: 19.2 MB / 0.7919 GB, free: 1.215 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/2.19, allocations: 5.398 MB / 0.7972 GB, free: 11.79 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/2.192, allocations: 435.4 kB / 0.7976 GB, free: 11.36 MB / 0.5418 GB Notification: Performance of SimCode: time 1.182e-06/2.192, allocations: 0 / 0.7976 GB, free: 11.36 MB / 0.5418 GB Notification: Performance of Templates: time 0.5743/2.766, allocations: 84.84 MB / 0.8804 GB, free: 153.6 MB / 0.5574 GB