Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.3 MB / 224.4 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.288e-05, allocations: 4 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 48.69 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.04951/0.4242, allocations: 30.43 MB / 355.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0225/0.4467, allocations: 6.683 MB / 362 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009203/0.456, allocations: 155.2 kB / 362.1 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006766/0.4628, allocations: 1.632 MB / 363.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01884/0.4817, allocations: 4.401 MB / 368.1 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.4843, allocations: 247.6 kB / 368.4 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.4879, allocations: 0.9706 MB / 369.4 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.4941, allocations: 2.706 MB / 372.1 MB, free: 204 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.4953, allocations: 454.9 kB / 372.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4969, allocations: 0.7012 MB / 373.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.4987, allocations: 0.5032 MB / 373.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006594/0.4994, allocations: 76 kB / 373.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.5011, allocations: 0.9233 MB / 374.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.5019, allocations: 156 kB / 374.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008304/0.5102, allocations: 3.624 MB / 378.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5103, allocations: 0 / 378.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5103, allocations: 0 / 378.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001818/0.5105, allocations: 0 / 378.5 MB, free: 9.762 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.007847/0.5183, allocations: 2.563 MB / 381.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.5184, allocations: 12.03 kB / 381.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.5299, allocations: 1.938 MB / 383 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.5343, allocations: 1.358 MB / 384.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.5346, allocations: 155.9 kB / 384.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.5356, allocations: 199.9 kB / 384.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.5535, allocations: 6.783 MB / 391.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/0.5537, allocations: 23.81 kB / 391.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/0.5543, allocations: 103.8 kB / 391.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004191/0.5585, allocations: 1.474 MB / 393.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/0.577, allocations: 5.821 MB / 398.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.6292, allocations: 21.52 MB / 420.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.6408, allocations: 2.26 MB / 422.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/0.6564, allocations: 3.765 MB / 426.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.6565, allocations: 47.12 kB / 426.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 6.132e-06/0.6565, allocations: 0 / 426.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.01516/0.6717, allocations: 2.438 MB / 428.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.6719, allocations: 63.92 kB / 429 MB, free: 5.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005767/0.6776, allocations: 1.783 MB / 430.8 MB, free: 4.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.6779, allocations: 37.7 kB / 430.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/0.6806, allocations: 1.963 MB / 432.8 MB, free: 2.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008011/0.6814, allocations: 371.3 kB / 433.1 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.6818, allocations: 60 kB / 433.2 MB, free: 1.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004635/0.6823, allocations: 449.8 kB / 433.6 MB, free: 1.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/0.6861, allocations: 0.9509 MB / 434.6 MB, free: 200 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/0.6909, allocations: 2.88 MB / 437.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/0.6952, allocations: 1.646 MB / 439.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-05/0.6954, allocations: 20 kB / 439.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01103/0.7064, allocations: 3.688 MB / 442.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.7065, allocations: 36 kB / 442.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.7067, allocations: 72.12 kB / 442.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.7068, allocations: 100 kB / 443 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/0.7113, allocations: 0.7057 MB / 443.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001771/0.7115, allocations: 135.5 kB / 443.9 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.7149, allocations: 451.2 kB / 444.3 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006453/0.7156, allocations: 204 kB / 444.5 MB, free: 5.301 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 383 * Array equations: 5 * 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.00361/0.7193, allocations: 1.396 MB / 445.9 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.7197, allocations: 161.8 kB / 446.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.7232, allocations: 1.185 MB / 447.3 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/0.7233, allocations: 11.98 kB / 447.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7233, allocations: 0 / 447.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.7234, allocations: 7.984 kB / 447.3 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.738, allocations: 4.966 MB / 452.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.7381, allocations: 15.94 kB / 452.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.7392, allocations: 131.7 kB / 452.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.7393, allocations: 16 kB / 452.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.7394, allocations: 24 kB / 452.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.431e-05/0.7394, allocations: 23.86 kB / 452.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/0.7395, allocations: 12.41 kB / 452.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.7433, allocations: 2.181 MB / 454.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/0.744, allocations: 270.5 kB / 454.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/0.7444, allocations: 27.98 kB / 454.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7456, allocations: 43.86 kB / 455 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.7458, allocations: 75.72 kB / 455 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7459, allocations: 36 kB / 455.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003217/0.7492, allocations: 1.3 MB / 456.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7493, allocations: 0 / 456.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003754/0.753, allocations: 0.7466 MB / 457.1 MB, free: 7.965 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.0005534/0.7536, allocations: 154.6 kB / 457.3 MB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005771/0.7594, allocations: 2.205 MB / 459.5 MB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.7595, allocations: 4.062 kB / 459.5 MB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.7609, allocations: 0.5334 MB / 460 MB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.7628, allocations: 227.1 kB / 460.2 MB, free: 4.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.7799, allocations: 7.004 MB / 467.2 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/0.7853, allocations: 2.46 MB / 469.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008624/0.7862, allocations: 163.4 kB / 469.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7862, allocations: 0 / 469.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of Templates: time 0.3483/1.135, allocations: 31.36 MB / 0.4895 GB, free: 116.7 MB / 410.7 MB