Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 1.822/1.822, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.83e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09749, allocations: 48.71 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5024, allocations: 91.96 MB / 413.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.5026, allocations: 73.88 kB / 413.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8388/1.341, allocations: 159.1 MB / 0.5594 GB, free: 70.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.116e-06/1.342, allocations: 2.438 kB / 0.5594 GB, free: 70.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004242/1.342, allocations: 155.5 kB / 0.5596 GB, free: 70.69 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02345/1.365, allocations: 7.747 MB / 0.5671 GB, free: 67.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.365, allocations: 10.84 kB / 0.5671 GB, free: 67.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02369/1.389, allocations: 3.619 MB / 0.5707 GB, free: 67.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02692/1.416, allocations: 9.551 MB / 0.58 GB, free: 66.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007386/1.417, allocations: 0.5983 MB / 0.5806 GB, free: 66.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003627/1.421, allocations: 0.7871 MB / 0.5814 GB, free: 66.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04907/1.47, allocations: 18.58 MB / 0.5995 GB, free: 61.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004484/1.47, allocations: 101.9 kB / 0.5996 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003316/1.473, allocations: 379.6 kB / 0.6 GB, free: 61.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/1.477, allocations: 1.78 MB / 0.6017 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03777/1.515, allocations: 14.2 MB / 0.6156 GB, free: 54.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3795/1.894, allocations: 79 MB / 0.6927 GB, free: 69.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02386/1.918, allocations: 5.997 MB / 0.6986 GB, free: 68.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005307/1.924, allocations: 2.392 MB / 0.7009 GB, free: 68.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0255/1.949, allocations: 11 MB / 0.7116 GB, free: 65.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.949, allocations: 56.16 kB / 0.7117 GB, free: 65.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=238): time 6.815e-06/1.949, allocations: 0 / 0.7117 GB, free: 65.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.0568/2.006, allocations: 14.75 MB / 0.7261 GB, free: 61.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/2.006, allocations: 160.7 kB / 0.7263 GB, free: 61.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/2.018, allocations: 5.718 MB / 0.7318 GB, free: 60.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004096/2.019, allocations: 67.08 kB / 0.7319 GB, free: 60.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00373/2.023, allocations: 5.352 MB / 0.7371 GB, free: 57.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/2.024, allocations: 1.012 MB / 0.7381 GB, free: 57.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007698/2.024, allocations: 179.2 kB / 0.7383 GB, free: 57.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005301/2.025, allocations: 0.6787 MB / 0.7389 GB, free: 56.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005445/2.03, allocations: 2.373 MB / 0.7413 GB, free: 56.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008431/2.039, allocations: 7.91 MB / 0.749 GB, free: 49.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/2.052, allocations: 4.289 MB / 0.7532 GB, free: 49.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003296/2.052, allocations: 62.78 kB / 0.7532 GB, free: 49.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03997/2.092, allocations: 9.247 MB / 0.7623 GB, free: 49.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002692/2.092, allocations: 87.41 kB / 0.7624 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004279/2.093, allocations: 199.6 kB / 0.7625 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/2.094, allocations: 292 kB / 0.7628 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/2.112, allocations: 2.179 MB / 0.7649 GB, free: 48.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006547/2.113, allocations: 402.7 kB / 0.7653 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01892/2.132, allocations: 0.6064 MB / 0.7659 GB, free: 48.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.133, allocations: 0.5432 MB / 0.7665 GB, free: 48.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * 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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1128): * Single equations (assignments): 1125 * 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 prepare postOptimizeDAE: time 0.002053/2.136, allocations: 0.7958 MB / 0.7672 GB, free: 48.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/2.137, allocations: 0.5827 MB / 0.7678 GB, free: 47.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/2.143, allocations: 2.74 MB / 0.7705 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/2.143, allocations: 31.28 kB / 0.7705 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/2.143, allocations: 3.969 kB / 0.7705 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/2.143, allocations: 17.64 kB / 0.7705 GB, free: 46.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04825/2.191, allocations: 26.26 MB / 0.7962 GB, free: 33.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.76e-05/2.192, allocations: 55.56 kB / 0.7962 GB, free: 33.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/2.194, allocations: 0.5143 MB / 0.7967 GB, free: 32.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.588e-05/2.194, allocations: 76 kB / 0.7968 GB, free: 32.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003691/2.195, allocations: 118.5 kB / 0.7969 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.282e-05/2.195, allocations: 108.5 kB / 0.797 GB, free: 32.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-05/2.195, allocations: 83.62 kB / 0.7971 GB, free: 32.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008713/2.203, allocations: 14.53 MB / 0.8113 GB, free: 16.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/2.206, allocations: 0.6899 MB / 0.812 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/2.207, allocations: 123.5 kB / 0.8121 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004545/2.212, allocations: 200.4 kB / 0.8123 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007124/2.213, allocations: 348.2 kB / 0.8126 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/2.213, allocations: 151.4 kB / 0.8127 GB, free: 14.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009224/2.222, allocations: 4.006 MB / 0.8167 GB, free: 11.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.517e-06/2.222, allocations: 4 kB / 0.8167 GB, free: 11.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0107/2.233, allocations: 1.486 MB / 0.8181 GB, free: 9.652 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.000889/2.234, allocations: 289.7 kB / 0.8184 GB, free: 9.363 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/2.245, allocations: 5.406 MB / 0.8237 GB, free: 4.449 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.005e-05/2.245, allocations: 9.562 kB / 0.8237 GB, free: 4.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/2.247, allocations: 1.384 MB / 0.825 GB, free: 3.211 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0058/2.253, allocations: 0.8694 MB / 0.8259 GB, free: 2.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/2.292, allocations: 14.79 MB / 0.8403 GB, free: 4.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01477/2.307, allocations: 5.731 MB / 0.8459 GB, free: 312 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/2.311, allocations: 0.5249 MB / 0.8464 GB, free: 0 / 458.7 MB Notification: Performance of SimCode: time 2.125e-06/2.311, allocations: 336 / 0.8464 GB, free: 0 / 458.7 MB Notification: Performance of Templates: time 0.4285/2.739, allocations: 90.72 MB / 0.935 GB, free: 77.65 MB / 474.7 MB