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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.646/2.646, allocations: 270 MB / 283.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.339e-05, allocations: 7.984 kB / 348.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5015, allocations: 105.9 MB / 0.504 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5018, allocations: 79.95 kB / 0.5041 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8472/1.349, allocations: 151.3 MB / 0.6519 GB, free: 4.273 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.273e-06/1.349, allocations: 0 / 0.6519 GB, free: 4.273 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004147/1.349, allocations: 151.9 kB / 0.652 GB, free: 4.125 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.02395/1.373, allocations: 7.357 MB / 0.6592 GB, free: 12.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.373, allocations: 8.031 kB / 0.6592 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/1.396, allocations: 3.52 MB / 0.6627 GB, free: 9.145 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/1.424, allocations: 8.771 MB / 0.6712 GB, free: 300 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009331/1.425, allocations: 0.5655 MB / 0.6718 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/1.428, allocations: 0.7457 MB / 0.6725 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04881/1.477, allocations: 17.41 MB / 0.6895 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004257/1.478, allocations: 87.2 kB / 0.6896 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002875/1.481, allocations: 363.8 kB / 0.6899 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003624/1.484, allocations: 1.625 MB / 0.6915 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.047/1.531, allocations: 13.11 MB / 0.7043 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9543/2.486, allocations: 74.59 MB / 0.7772 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03729/2.523, allocations: 5.419 MB / 0.7825 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006882/2.53, allocations: 2.074 MB / 0.7845 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03479/2.565, allocations: 9.963 MB / 0.7942 GB, free: 36.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/2.565, allocations: 56.47 kB / 0.7943 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 1.101e-05/2.565, allocations: 3.75 kB / 0.7943 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.08501/2.65, allocations: 13.36 MB / 0.8073 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/2.65, allocations: 154.9 kB / 0.8075 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01848/2.669, allocations: 5.499 MB / 0.8128 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004162/2.669, allocations: 55.92 kB / 0.8129 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006208/2.675, allocations: 5.311 MB / 0.8181 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/2.677, allocations: 0.824 MB / 0.8189 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009723/2.678, allocations: 156.3 kB / 0.819 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000821/2.679, allocations: 0.647 MB / 0.8197 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007658/2.686, allocations: 2.087 MB / 0.8217 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/2.698, allocations: 7.361 MB / 0.8289 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/2.71, allocations: 3.883 MB / 0.8327 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003543/2.71, allocations: 55.12 kB / 0.8327 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.03215/2.742, allocations: 8.616 MB / 0.8411 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/2.742, allocations: 90.66 kB / 0.8412 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000263/2.743, allocations: 193.8 kB / 0.8414 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/2.743, allocations: 283.8 kB / 0.8417 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009008/2.752, allocations: 1.992 MB / 0.8436 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002978/2.752, allocations: 374.4 kB / 0.844 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009196/2.762, allocations: 0.5742 MB / 0.8446 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/2.763, allocations: 0.5066 MB / 0.845 GB, free: 16.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1028 * 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.001538/2.765, allocations: 0.7554 MB / 0.8458 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/2.766, allocations: 0.5406 MB / 0.8463 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/2.767, allocations: 0.6449 MB / 0.8469 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/2.768, allocations: 29.23 kB / 0.847 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/2.768, allocations: 3.938 kB / 0.847 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/2.768, allocations: 7.266 kB / 0.847 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03304/2.801, allocations: 16.54 MB / 0.8631 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.177e-05/2.801, allocations: 40 kB / 0.8632 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/2.802, allocations: 374.1 kB / 0.8635 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.067e-05/2.803, allocations: 56 kB / 0.8636 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/2.803, allocations: 83.94 kB / 0.8637 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.178e-05/2.803, allocations: 74.58 kB / 0.8637 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.734e-05/2.803, allocations: 59.75 kB / 0.8638 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008681/2.812, allocations: 10.36 MB / 0.8739 GB, free: 9.176 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/2.814, allocations: 0.6275 MB / 0.8745 GB, free: 8.551 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/2.815, allocations: 87.08 kB / 0.8746 GB, free: 8.473 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/2.818, allocations: 163.8 kB / 0.8748 GB, free: 8.352 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/2.819, allocations: 252.2 kB / 0.875 GB, free: 8.148 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/2.819, allocations: 115.8 kB / 0.8751 GB, free: 8.039 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009917/2.829, allocations: 3.846 MB / 0.8789 GB, free: 4.656 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.155e-06/2.829, allocations: 0 / 0.8789 GB, free: 4.656 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01002/2.839, allocations: 1.363 MB / 0.8802 GB, free: 3.301 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * 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.0007656/2.84, allocations: 240.1 kB / 0.8804 GB, free: 3.07 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01077/2.851, allocations: 4.732 MB / 0.885 GB, free: 14.79 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.784e-05/2.851, allocations: 8.438 kB / 0.8851 GB, free: 14.78 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/2.853, allocations: 1.056 MB / 0.8861 GB, free: 13.84 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005216/2.858, allocations: 0.8233 MB / 0.8869 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/2.89, allocations: 12.39 MB / 0.899 GB, free: 1.477 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01416/2.904, allocations: 5.441 MB / 0.9043 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01104/2.915, allocations: 2.561 MB / 0.9068 GB, free: 12.08 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/2.917, allocations: 348.8 kB / 0.9071 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of SimCode: time 2.07e-06/2.917, allocations: 0 / 0.9071 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of Templates: time 0.4673/3.384, allocations: 40.92 MB / 0.9471 GB, free: 121 MB / 0.5574 GB