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_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 269 MB / 284.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.18e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4733/0.6038, allocations: 82 MB / 492.9 MB, free: 5.398 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05386/0.6577, allocations: 17.28 MB / 0.4982 GB, free: 4.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02158/0.6793, allocations: 454.9 kB / 0.4987 GB, free: 3.762 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01658/0.6959, allocations: 4.351 MB / 0.5029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04712/0.7431, allocations: 11.79 MB / 0.5144 GB, free: 3.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007628/0.7508, allocations: 1.201 MB / 0.5156 GB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009854/0.7607, allocations: 3.222 MB / 0.5188 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01735/0.7781, allocations: 8.205 MB / 0.5268 GB, free: 6.883 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.7822, allocations: 1.578 MB / 0.5283 GB, free: 5.301 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00499/0.7873, allocations: 2.217 MB / 0.5305 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.7908, allocations: 0.8895 MB / 0.5313 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001705/0.7926, allocations: 188 kB / 0.5315 GB, free: 2.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004988/0.7976, allocations: 2.805 MB / 0.5343 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002514/0.8002, allocations: 468 kB / 0.5347 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.8152, allocations: 9.305 MB / 0.5438 GB, free: 5.406 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8152, allocations: 0 / 0.5438 GB, free: 5.406 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.8153, allocations: 0 / 0.5438 GB, free: 5.406 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004198/0.8157, allocations: 0 / 0.5438 GB, free: 5.406 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.02324/0.8389, allocations: 7.165 MB / 0.5508 GB, free: 14.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.839, allocations: 8.031 kB / 0.5508 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/0.8597, allocations: 2.996 MB / 0.5537 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.8744, allocations: 4.905 MB / 0.5585 GB, free: 6.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006513/0.8751, allocations: 438.9 kB / 0.5589 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/0.8778, allocations: 0.5504 MB / 0.5595 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05138/0.9292, allocations: 17.57 MB / 0.5766 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/0.9296, allocations: 79.31 kB / 0.5767 GB, free: 2.391 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/0.9314, allocations: 275.6 kB / 0.577 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008675/0.9401, allocations: 3.174 MB / 0.5801 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04784/0.988, allocations: 13.56 MB / 0.5933 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.816/1.804, allocations: 66.22 MB / 0.658 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02558/1.83, allocations: 5.505 MB / 0.6634 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0242/1.854, allocations: 10.14 MB / 0.6733 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.854, allocations: 51.41 kB / 0.6733 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.52e-06/1.854, allocations: 0 / 0.6733 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.0596/1.914, allocations: 14.65 MB / 0.6876 GB, free: 98.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.914, allocations: 161.7 kB / 0.6878 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.926, allocations: 6.103 MB / 0.6937 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003889/1.927, allocations: 62.64 kB / 0.6938 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003661/1.93, allocations: 5.032 MB / 0.6987 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.931, allocations: 0.8225 MB / 0.6995 GB, free: 86.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006413/1.932, allocations: 162.2 kB / 0.6997 GB, free: 86.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004538/1.932, allocations: 0.674 MB / 0.7003 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0058/1.938, allocations: 2.279 MB / 0.7026 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008957/1.947, allocations: 7.669 MB / 0.71 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008984/1.956, allocations: 4.034 MB / 0.714 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.957, allocations: 52 kB / 0.714 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.02282/1.979, allocations: 9.368 MB / 0.7232 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.98, allocations: 88 kB / 0.7233 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.98, allocations: 192 kB / 0.7235 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/1.98, allocations: 280 kB / 0.7237 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.991, allocations: 1.918 MB / 0.7256 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003111/1.991, allocations: 381.8 kB / 0.726 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/1.999, allocations: 412.6 kB / 0.7264 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/2.001, allocations: 0.5214 MB / 0.7269 GB, free: 55.68 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 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.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],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.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.007267/2.008, allocations: 3.353 MB / 0.7301 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/2.009, allocations: 0.5359 MB / 0.7307 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/2.011, allocations: 0.629 MB / 0.7313 GB, free: 51.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.727e-05/2.011, allocations: 20.62 kB / 0.7313 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/2.011, allocations: 192 / 0.7313 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/2.011, allocations: 15.95 kB / 0.7313 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03476/2.046, allocations: 16.74 MB / 0.7477 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/2.046, allocations: 36 kB / 0.7477 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/2.048, allocations: 383.2 kB / 0.7481 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.268e-05/2.048, allocations: 64.02 kB / 0.7481 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/2.048, allocations: 89.95 kB / 0.7482 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.393e-05/2.048, allocations: 75.7 kB / 0.7483 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.628e-05/2.048, allocations: 59.75 kB / 0.7483 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/2.056, allocations: 10.54 MB / 0.7586 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/2.058, allocations: 0.6461 MB / 0.7593 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/2.059, allocations: 87.97 kB / 0.7593 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/2.062, allocations: 118.4 kB / 0.7595 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/2.063, allocations: 251 kB / 0.7597 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/2.063, allocations: 111.9 kB / 0.7598 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009476/2.073, allocations: 4.321 MB / 0.764 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/2.073, allocations: 0 / 0.764 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008824/2.082, allocations: 1.386 MB / 0.7654 GB, free: 13.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 198 * 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.000907/2.082, allocations: 258.9 kB / 0.7656 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01175/2.094, allocations: 5.281 MB / 0.7708 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-05/2.094, allocations: 8 kB / 0.7708 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/2.097, allocations: 1.131 MB / 0.7719 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006431/2.103, allocations: 0.8174 MB / 0.7727 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04217/2.146, allocations: 18.89 MB / 0.7911 GB, free: 3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/2.159, allocations: 5.383 MB / 0.7964 GB, free: 13.59 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/2.161, allocations: 423.4 kB / 0.7968 GB, free: 13.18 MB / 0.5418 GB Notification: Performance of SimCode: time 1.663e-06/2.161, allocations: 3.938 kB / 0.7968 GB, free: 13.17 MB / 0.5418 GB Notification: Performance of Templates: time 0.5546/2.715, allocations: 84.67 MB / 0.8795 GB, free: 156.3 MB / 0.5574 GB