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.337/2.337, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.008e-05, allocations: 0 / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4267, allocations: 54.86 MB / 362.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1217/0.5484, allocations: 79.68 MB / 442.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04713/0.5956, allocations: 16.79 MB / 459.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01802/0.6137, allocations: 431 kB / 459.7 MB, free: 12.72 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.6288, allocations: 4.281 MB / 464 MB, free: 8.422 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0471/0.676, allocations: 11.44 MB / 475.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007154/0.6832, allocations: 1.213 MB / 476.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009987/0.6932, allocations: 3.385 MB / 480.1 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01767/0.711, allocations: 8.337 MB / 488.4 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004368/0.7154, allocations: 1.672 MB / 490.1 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005493/0.7209, allocations: 2.474 MB / 492.5 MB, free: 11.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.7246, allocations: 0.9012 MB / 493.4 MB, free: 10.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.7265, allocations: 208 kB / 493.6 MB, free: 10.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005288/0.7318, allocations: 3.004 MB / 496.6 MB, free: 7.672 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.7346, allocations: 500 kB / 497.1 MB, free: 7.184 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4186/1.153, allocations: 10.06 MB / 0.4953 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.153, allocations: 0.9688 kB / 0.4953 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.153, allocations: 0 / 0.4953 GB, free: 13.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005431/1.154, allocations: 0 / 0.4953 GB, free: 13.32 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.02794/1.182, allocations: 7.555 MB / 0.5027 GB, free: 10.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.182, allocations: 9.562 kB / 0.5027 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02255/1.204, allocations: 3.08 MB / 0.5057 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/1.222, allocations: 5.645 MB / 0.5112 GB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006448/1.223, allocations: 471.2 kB / 0.5117 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003759/1.226, allocations: 0.5928 MB / 0.5122 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05555/1.282, allocations: 18.86 MB / 0.5307 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004835/1.282, allocations: 73.11 kB / 0.5307 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003699/1.286, allocations: 287.6 kB / 0.531 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009166/1.295, allocations: 3.445 MB / 0.5344 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04977/1.345, allocations: 14.75 MB / 0.5488 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1509/1.496, allocations: 70.65 MB / 0.6178 GB, free: 2.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03087/1.527, allocations: 6.146 MB / 0.6238 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03417/1.561, allocations: 10.97 MB / 0.6345 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/1.561, allocations: 60.44 kB / 0.6345 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=238): time 6.703e-06/1.561, allocations: 0 / 0.6345 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.0799/1.641, allocations: 16.4 MB / 0.6506 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.642, allocations: 157.2 kB / 0.6507 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01653/1.658, allocations: 6.316 MB / 0.6569 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005821/1.659, allocations: 69.27 kB / 0.6569 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00601/1.665, allocations: 5.329 MB / 0.6621 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.667, allocations: 1.01 MB / 0.6631 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.668, allocations: 179.5 kB / 0.6633 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009584/1.669, allocations: 0.6993 MB / 0.664 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00866/1.677, allocations: 2.586 MB / 0.6665 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01432/1.692, allocations: 8.235 MB / 0.6745 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.705, allocations: 4.461 MB / 0.6789 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001974/1.705, allocations: 60.28 kB / 0.679 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03117/1.736, allocations: 10.3 MB / 0.689 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/1.736, allocations: 98.09 kB / 0.6891 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000361/1.737, allocations: 200 kB / 0.6893 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/1.737, allocations: 294.8 kB / 0.6896 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/1.752, allocations: 2.112 MB / 0.6916 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005377/1.752, allocations: 402.2 kB / 0.692 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.762, allocations: 455 kB / 0.6925 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.764, allocations: 0.5537 MB / 0.693 GB, free: 11.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * 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 (1136): * Single equations (assignments): 1125 * 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.009923/1.774, allocations: 3.553 MB / 0.6965 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.776, allocations: 0.5745 MB / 0.697 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009388/1.785, allocations: 2.782 MB / 0.6998 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/1.785, allocations: 28 kB / 0.6998 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.785, allocations: 0 / 0.6998 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.486e-05/1.786, allocations: 19.91 kB / 0.6998 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3994/2.185, allocations: 26.56 MB / 0.7257 GB, free: 229.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001729/2.185, allocations: 51.34 kB / 0.7258 GB, free: 229.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003843/2.189, allocations: 0.5232 MB / 0.7263 GB, free: 229.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.439e-05/2.189, allocations: 79.09 kB / 0.7264 GB, free: 229.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005783/2.19, allocations: 121.1 kB / 0.7265 GB, free: 229.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.745e-05/2.19, allocations: 102 kB / 0.7266 GB, free: 229.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.459e-05/2.19, allocations: 86.31 kB / 0.7267 GB, free: 229.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/2.202, allocations: 14.76 MB / 0.7411 GB, free: 214.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/2.204, allocations: 0.7023 MB / 0.7418 GB, free: 214.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002204/2.206, allocations: 123.1 kB / 0.7419 GB, free: 214.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005231/2.212, allocations: 144.2 kB / 0.742 GB, free: 214.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008684/2.212, allocations: 360.6 kB / 0.7424 GB, free: 214.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/2.213, allocations: 149.4 kB / 0.7425 GB, free: 214.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0109/2.224, allocations: 4.475 MB / 0.7469 GB, free: 213 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.142e-06/2.224, allocations: 0 / 0.7469 GB, free: 213 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01149/2.235, allocations: 1.521 MB / 0.7484 GB, free: 211.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 270 * 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.001289/2.237, allocations: 302.5 kB / 0.7486 GB, free: 211.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01463/2.251, allocations: 6.043 MB / 0.7546 GB, free: 206.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-05/2.251, allocations: 8 kB / 0.7546 GB, free: 206.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003716/2.255, allocations: 1.49 MB / 0.756 GB, free: 205 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007286/2.262, allocations: 0.8542 MB / 0.7568 GB, free: 204.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04329/2.306, allocations: 20.93 MB / 0.7773 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/2.318, allocations: 5.739 MB / 0.7829 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/2.32, allocations: 471.4 kB / 0.7833 GB, free: 177.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.323e-06/2.32, allocations: 4 kB / 0.7833 GB, free: 177.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1792/2.5, allocations: 91.93 MB / 0.8731 GB, free: 85.66 MB / 0.5573 GB