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.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.584e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3259, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.4766, allocations: 98.71 MB / 458.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4769, allocations: 76.73 kB / 458.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8579/1.335, allocations: 159.1 MB / 0.6031 GB, free: 85.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.335, allocations: 0 / 0.6031 GB, free: 85.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003654/1.335, allocations: 159.9 kB / 0.6033 GB, free: 85.66 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02351/1.359, allocations: 7.747 MB / 0.6108 GB, free: 77.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.359, allocations: 8.031 kB / 0.6108 GB, free: 77.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/1.381, allocations: 3.628 MB / 0.6144 GB, free: 74.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02488/1.406, allocations: 9.542 MB / 0.6237 GB, free: 64.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000707/1.406, allocations: 0.6016 MB / 0.6243 GB, free: 63.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003328/1.41, allocations: 0.7968 MB / 0.6251 GB, free: 63.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04658/1.456, allocations: 18.58 MB / 0.6432 GB, free: 43.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004094/1.457, allocations: 91.14 kB / 0.6433 GB, free: 42.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003174/1.46, allocations: 383.8 kB / 0.6437 GB, free: 42.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003358/1.464, allocations: 1.782 MB / 0.6454 GB, free: 40.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03575/1.499, allocations: 14.2 MB / 0.6593 GB, free: 26.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4167/1.916, allocations: 79 MB / 0.7364 GB, free: 41.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02344/1.94, allocations: 5.991 MB / 0.7423 GB, free: 40.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004696/1.944, allocations: 2.392 MB / 0.7446 GB, free: 40.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02452/1.969, allocations: 11 MB / 0.7554 GB, free: 37.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/1.969, allocations: 64.06 kB / 0.7554 GB, free: 37.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 7.009e-06/1.969, allocations: 0 / 0.7554 GB, free: 37.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.05445/2.023, allocations: 14.75 MB / 0.7698 GB, free: 33.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/2.024, allocations: 154.7 kB / 0.77 GB, free: 32.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/2.036, allocations: 5.725 MB / 0.7756 GB, free: 32.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004277/2.036, allocations: 65.19 kB / 0.7756 GB, free: 32.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004267/2.041, allocations: 5.348 MB / 0.7808 GB, free: 29.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/2.042, allocations: 1.011 MB / 0.7818 GB, free: 28.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/2.044, allocations: 176.4 kB / 0.782 GB, free: 28.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001056/2.045, allocations: 0.6832 MB / 0.7827 GB, free: 28.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007298/2.052, allocations: 2.365 MB / 0.785 GB, free: 27.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008222/2.061, allocations: 7.917 MB / 0.7927 GB, free: 19.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008152/2.069, allocations: 4.293 MB / 0.7969 GB, free: 18.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/2.069, allocations: 59.98 kB / 0.797 GB, free: 18.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02162/2.091, allocations: 9.248 MB / 0.806 GB, free: 15.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/2.091, allocations: 90.06 kB / 0.8061 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/2.091, allocations: 200.3 kB / 0.8063 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/2.091, allocations: 296.2 kB / 0.8065 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009128/2.101, allocations: 2.182 MB / 0.8087 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003372/2.101, allocations: 396.3 kB / 0.8091 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009666/2.111, allocations: 0.6038 MB / 0.8096 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/2.112, allocations: 0.5405 MB / 0.8102 GB, free: 14.93 MB / 474.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.001447/2.114, allocations: 0.7928 MB / 0.8109 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/2.115, allocations: 0.579 MB / 0.8115 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005586/2.12, allocations: 2.748 MB / 0.8142 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-05/2.121, allocations: 29.92 kB / 0.8142 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/2.121, allocations: 0 / 0.8142 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/2.121, allocations: 13.28 kB / 0.8142 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04987/2.171, allocations: 26.33 MB / 0.84 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001568/2.171, allocations: 52 kB / 0.84 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002683/2.173, allocations: 0.515 MB / 0.8405 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/2.174, allocations: 79.66 kB / 0.8406 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/2.174, allocations: 119.6 kB / 0.8407 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001056/2.174, allocations: 105.6 kB / 0.8408 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.727e-05/2.174, allocations: 84.09 kB / 0.8409 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/2.188, allocations: 14.53 MB / 0.8551 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/2.191, allocations: 0.6814 MB / 0.8557 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/2.192, allocations: 126.5 kB / 0.8559 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004455/2.197, allocations: 206.6 kB / 0.856 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008022/2.197, allocations: 341.8 kB / 0.8564 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003658/2.198, allocations: 146.8 kB / 0.8565 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01046/2.208, allocations: 4.016 MB / 0.8604 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.097e-06/2.208, allocations: 1.5 kB / 0.8604 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01139/2.22, allocations: 1.483 MB / 0.8619 GB, free: 1.961 MB / 0.4948 GB 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.001186/2.221, allocations: 286.7 kB / 0.8622 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01306/2.234, allocations: 5.414 MB / 0.8674 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.96e-05/2.234, allocations: 8 kB / 0.8675 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00316/2.237, allocations: 1.381 MB / 0.8688 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006052/2.243, allocations: 0.8795 MB / 0.8697 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03847/2.282, allocations: 14.77 MB / 0.8841 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/2.296, allocations: 5.736 MB / 0.8897 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/2.298, allocations: 465.2 kB / 0.8901 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.961e-06/2.298, allocations: 0 / 0.8901 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.4459/2.744, allocations: 90.45 MB / 0.9785 GB, free: 122.8 MB / 0.5261 GB