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_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.484e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3935/0.521, allocations: 31.13 MB / 442.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.5429, allocations: 6.86 MB / 448.9 MB, free: 8.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008928/0.5519, allocations: 155.2 kB / 449.1 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007117/0.559, allocations: 1.651 MB / 450.7 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01982/0.5789, allocations: 4.512 MB / 455.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.5814, allocations: 213.4 kB / 455.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.585, allocations: 0.9315 MB / 456.4 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005842/0.5909, allocations: 2.665 MB / 459 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.592, allocations: 436.5 kB / 459.5 MB, free: 2.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.5936, allocations: 0.6332 MB / 460.1 MB, free: 2.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5954, allocations: 0.5088 MB / 460.6 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005835/0.596, allocations: 68.75 kB / 460.7 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.5974, allocations: 0.8705 MB / 461.5 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.5982, allocations: 147.2 kB / 461.7 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.604, allocations: 3.439 MB / 465.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.604, allocations: 0 / 465.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6041, allocations: 0 / 465.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001733/0.6043, allocations: 0 / 465.1 MB, free: 15.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007365/0.6116, allocations: 2.476 MB / 467.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6117, allocations: 16.75 kB / 467.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.6232, allocations: 1.913 MB / 469.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.6277, allocations: 1.323 MB / 470.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.628, allocations: 151.7 kB / 471 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.629, allocations: 183.9 kB / 471.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.6464, allocations: 6.467 MB / 477.6 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.026e-05/0.6465, allocations: 11.88 kB / 477.7 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005024/0.647, allocations: 91.89 kB / 477.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004005/0.651, allocations: 1.399 MB / 479.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.6687, allocations: 5.525 MB / 484.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04362/0.7123, allocations: 20.59 MB / 0.4934 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007161/0.7196, allocations: 2.081 MB / 0.4955 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.7297, allocations: 3.546 MB / 0.4989 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.7298, allocations: 35 kB / 0.4989 GB, free: 2.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.459e-06/0.7298, allocations: 4 kB / 0.499 GB, free: 2.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.009462/0.7393, allocations: 2.225 MB / 0.5011 GB, free: 15.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.7394, allocations: 59.84 kB / 0.5012 GB, free: 15.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.7434, allocations: 1.75 MB / 0.5029 GB, free: 14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.7436, allocations: 37.7 kB / 0.5029 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.7455, allocations: 1.897 MB / 0.5048 GB, free: 12.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000521/0.746, allocations: 312.1 kB / 0.5051 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.7463, allocations: 63.92 kB / 0.5051 GB, free: 11.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003252/0.7466, allocations: 453.3 kB / 0.5056 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.7489, allocations: 0.8764 MB / 0.5064 GB, free: 10.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.753, allocations: 2.75 MB / 0.5091 GB, free: 6.637 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.7569, allocations: 1.568 MB / 0.5106 GB, free: 5.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.808e-05/0.757, allocations: 19.98 kB / 0.5107 GB, free: 5.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.009498/0.7665, allocations: 3.473 MB / 0.5141 GB, free: 1.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.7666, allocations: 39.94 kB / 0.5141 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.7668, allocations: 68 kB / 0.5142 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.7669, allocations: 96 kB / 0.5142 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/0.7708, allocations: 0.6628 MB / 0.5149 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001474/0.771, allocations: 127.5 kB / 0.515 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/0.7739, allocations: 423.7 kB / 0.5154 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/0.7744, allocations: 192 kB / 0.5156 GB, free: 15.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (365): * Single equations (assignments): 360 * 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.003334/0.7777, allocations: 1.357 MB / 0.5169 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/0.7781, allocations: 157.8 kB / 0.5171 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.7786, allocations: 201.2 kB / 0.5173 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.7787, allocations: 8 kB / 0.5173 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7787, allocations: 4 kB / 0.5173 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7787, allocations: 7.922 kB / 0.5173 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.7896, allocations: 4.129 MB / 0.5213 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7896, allocations: 8.688 kB / 0.5213 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.7904, allocations: 103.8 kB / 0.5214 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/0.7904, allocations: 12 kB / 0.5214 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.7905, allocations: 20 kB / 0.5215 GB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.7905, allocations: 8 kB / 0.5215 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.7905, allocations: 7.938 kB / 0.5215 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.7932, allocations: 1.66 MB / 0.5231 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.7939, allocations: 250.7 kB / 0.5233 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.7942, allocations: 19.98 kB / 0.5234 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000831/0.7951, allocations: 23.98 kB / 0.5234 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.7952, allocations: 51.84 kB / 0.5234 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.7953, allocations: 28 kB / 0.5235 GB, free: 7.465 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002909/0.7982, allocations: 1.275 MB / 0.5247 GB, free: 6.199 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.7983, allocations: 0 / 0.5247 GB, free: 6.199 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00356/0.8018, allocations: 0.7153 MB / 0.5254 GB, free: 5.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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.000453/0.8023, allocations: 143 kB / 0.5255 GB, free: 5.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004923/0.8073, allocations: 2.018 MB / 0.5275 GB, free: 3.328 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.8073, allocations: 2 kB / 0.5275 GB, free: 3.328 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.8084, allocations: 464.5 kB / 0.5279 GB, free: 2.875 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.81, allocations: 232.3 kB / 0.5282 GB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.8307, allocations: 6.554 MB / 0.5346 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007514/0.8383, allocations: 2.367 MB / 0.5369 GB, free: 9.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.8394, allocations: 151.4 kB / 0.537 GB, free: 9.441 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/0.8394, allocations: 0 / 0.537 GB, free: 9.441 MB / 458.7 MB Notification: Performance of Templates: time 0.09757/0.937, allocations: 29.68 MB / 0.566 GB, free: 11.78 MB / 490.7 MB