Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.977e-05/5.002e-05, allocations: 11.88 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5838, allocations: 110.2 MB / 0.5083 GB, free: 9.898 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5841, allocations: 83.94 kB / 0.5084 GB, free: 9.816 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4041/0.9882, allocations: 83.8 MB / 0.5902 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.382e-06/0.9882, allocations: 0 / 0.5902 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002192/0.9885, allocations: 80 kB / 0.5903 GB, free: 5.477 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.0118/1, allocations: 3.794 MB / 0.594 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1, allocations: 12.03 kB / 0.594 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02379/1.024, allocations: 4.347 MB / 0.5983 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.039, allocations: 4.39 MB / 0.6026 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/1.039, allocations: 316.2 kB / 0.6029 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/1.041, allocations: 415.8 kB / 0.6033 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4046/1.446, allocations: 9.46 MB / 0.6125 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004569/1.446, allocations: 57.94 kB / 0.6126 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/1.449, allocations: 201.2 kB / 0.6127 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/1.452, allocations: 0.8512 MB / 0.6136 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/1.483, allocations: 7.305 MB / 0.6207 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07456/1.558, allocations: 43.22 MB / 0.6629 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/1.564, allocations: 2.33 MB / 0.6652 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/1.566, allocations: 1.141 MB / 0.6663 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004015/1.567, allocations: 330.1 kB / 0.6666 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.567, allocations: 47 kB / 0.6667 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 5.021e-06/1.567, allocations: 0 / 0.6667 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=140): time 0.0255/1.592, allocations: 8.662 MB / 0.6751 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/1.592, allocations: 195.9 kB / 0.6753 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/1.598, allocations: 3.182 MB / 0.6784 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/1.598, allocations: 45.3 kB / 0.6785 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/1.6, allocations: 2.968 MB / 0.6814 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/1.601, allocations: 0.5632 MB / 0.6819 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/1.601, allocations: 102.9 kB / 0.682 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003515/1.601, allocations: 0.5268 MB / 0.6825 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/1.605, allocations: 1.581 MB / 0.6841 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004413/1.609, allocations: 4.967 MB / 0.6889 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/1.614, allocations: 2.802 MB / 0.6917 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.314e-05/1.614, allocations: 34.59 kB / 0.6917 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.0149/1.629, allocations: 6.165 MB / 0.6977 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.596e-05/1.629, allocations: 59.3 kB / 0.6978 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.629, allocations: 121.3 kB / 0.6979 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009556/1.63, allocations: 380.8 kB / 0.6982 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/1.635, allocations: 1.234 MB / 0.6994 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/1.64, allocations: 2.973 MB / 0.7024 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005395/1.645, allocations: 305.8 kB / 0.7026 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009901/1.646, allocations: 338.6 kB / 0.703 GB, free: 69.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (655): * Single equations (assignments): 651 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001056/1.647, allocations: 0.5201 MB / 0.7035 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/1.648, allocations: 308.6 kB / 0.7038 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/1.652, allocations: 1.664 MB / 0.7054 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/1.652, allocations: 17.69 kB / 0.7054 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.652, allocations: 4 kB / 0.7054 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.652, allocations: 10.23 kB / 0.7054 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.665, allocations: 5.622 MB / 0.7109 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.665, allocations: 0 / 0.7109 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.667, allocations: 234.5 kB / 0.7111 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007503/1.667, allocations: 179.5 kB / 0.7113 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.668, allocations: 25.73 kB / 0.7113 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/1.671, allocations: 2.548 MB / 0.7138 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.96e-06/1.671, allocations: 7.141 kB / 0.7138 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/1.677, allocations: 3.67 MB / 0.7174 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009468/1.678, allocations: 361.5 kB / 0.7178 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/1.679, allocations: 23.92 kB / 0.7178 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.681, allocations: 75.3 kB / 0.7179 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/1.681, allocations: 101.3 kB / 0.718 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.681, allocations: 43.91 kB / 0.718 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004609/1.686, allocations: 2.197 MB / 0.7201 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.283e-06/1.686, allocations: 0 / 0.7201 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006088/1.692, allocations: 0.8518 MB / 0.721 GB, free: 61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005028/1.693, allocations: 167 kB / 0.7211 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007096/1.7, allocations: 3.706 MB / 0.7247 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.536e-06/1.7, allocations: 4 kB / 0.7248 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.702, allocations: 1.06 MB / 0.7258 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.704, allocations: 390.5 kB / 0.7262 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.718, allocations: 6.568 MB / 0.7326 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005527/1.724, allocations: 3.235 MB / 0.7357 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005962/1.73, allocations: 1.736 MB / 0.7374 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009627/1.731, allocations: 213.4 kB / 0.7376 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.964e-06/1.731, allocations: 0 / 0.7376 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.07767/1.808, allocations: 26.52 MB / 0.7635 GB, free: 27.57 MB / 0.5105 GB