Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 270 MB / 282.7 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.874e-05, allocations: 4 kB / 347 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 61.89 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.538, allocations: 110.2 MB / 0.5069 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5383, allocations: 75.97 kB / 0.507 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5764/1.115, allocations: 83.78 MB / 0.5888 GB, free: 52.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.611e-06/1.115, allocations: 4 kB / 0.5888 GB, free: 52.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001694/1.115, allocations: 72 kB / 0.5889 GB, free: 52.02 MB / 442.7 MB 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.01017/1.125, allocations: 3.806 MB / 0.5926 GB, free: 48.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.125, allocations: 15.97 kB / 0.5926 GB, free: 48.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/1.146, allocations: 4.343 MB / 0.5969 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/1.159, allocations: 4.39 MB / 0.6011 GB, free: 39.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/1.16, allocations: 312.3 kB / 0.6014 GB, free: 39.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/1.161, allocations: 419.8 kB / 0.6018 GB, free: 38.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/1.18, allocations: 9.459 MB / 0.6111 GB, free: 28.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/1.18, allocations: 59.47 kB / 0.6111 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/1.181, allocations: 203.9 kB / 0.6113 GB, free: 27.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/1.183, allocations: 0.85 MB / 0.6122 GB, free: 27.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/1.198, allocations: 7.305 MB / 0.6193 GB, free: 19.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05463/1.253, allocations: 43.22 MB / 0.6615 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006512/1.259, allocations: 2.322 MB / 0.6638 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/1.262, allocations: 1.149 MB / 0.6649 GB, free: 3.422 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/1.262, allocations: 327.7 kB / 0.6652 GB, free: 3.047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/1.262, allocations: 47.06 kB / 0.6652 GB, free: 2.992 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 5.516e-06/1.262, allocations: 0 / 0.6652 GB, free: 2.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=140): time 0.02685/1.289, allocations: 8.677 MB / 0.6737 GB, free: 10.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.289, allocations: 196.7 kB / 0.6739 GB, free: 9.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/1.297, allocations: 3.173 MB / 0.677 GB, free: 6.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002534/1.297, allocations: 49.69 kB / 0.6771 GB, free: 6.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003082/1.3, allocations: 2.919 MB / 0.6799 GB, free: 3.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008342/1.301, allocations: 0.5556 MB / 0.6804 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/1.302, allocations: 108 kB / 0.6806 GB, free: 3.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004997/1.302, allocations: 0.53 MB / 0.6811 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003461/1.306, allocations: 1.58 MB / 0.6826 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007146/1.313, allocations: 4.963 MB / 0.6875 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005968/1.319, allocations: 2.802 MB / 0.6902 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.319, allocations: 36 kB / 0.6902 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01559/1.335, allocations: 6.065 MB / 0.6962 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.335, allocations: 56 kB / 0.6962 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/1.335, allocations: 120 kB / 0.6963 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.336, allocations: 374.9 kB / 0.6967 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005448/1.342, allocations: 1.244 MB / 0.6979 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/1.347, allocations: 2.979 MB / 0.7008 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005418/1.352, allocations: 295.7 kB / 0.7011 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.353, allocations: 336 kB / 0.7014 GB, free: 11.86 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.001185/1.354, allocations: 0.5215 MB / 0.7019 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007433/1.355, allocations: 312 kB / 0.7022 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/1.359, allocations: 1.659 MB / 0.7038 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/1.359, allocations: 16 kB / 0.7038 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.359, allocations: 8 kB / 0.7039 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/1.359, allocations: 7.969 kB / 0.7039 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/1.373, allocations: 5.627 MB / 0.7094 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.373, allocations: 3.984 kB / 0.7094 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.375, allocations: 231.7 kB / 0.7096 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007857/1.375, allocations: 176.7 kB / 0.7098 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/1.375, allocations: 27.98 kB / 0.7098 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/1.38, allocations: 2.541 MB / 0.7123 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.214e-06/1.38, allocations: 4.031 kB / 0.7123 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3088/1.688, allocations: 3.673 MB / 0.7158 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/1.689, allocations: 361.8 kB / 0.7162 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/1.69, allocations: 18.31 kB / 0.7162 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.691, allocations: 85.7 kB / 0.7163 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/1.692, allocations: 95.2 kB / 0.7164 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.692, allocations: 38.7 kB / 0.7164 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004305/1.696, allocations: 2.204 MB / 0.7186 GB, free: 129 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.63e-07/1.696, allocations: 3.969 kB / 0.7186 GB, free: 129 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005568/1.702, allocations: 0.8508 MB / 0.7194 GB, free: 129 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.0004582/1.702, allocations: 164.6 kB / 0.7196 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00733/1.71, allocations: 3.71 MB / 0.7232 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/1.71, allocations: 3.297 kB / 0.7232 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/1.712, allocations: 1.053 MB / 0.7242 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.714, allocations: 383.9 kB / 0.7246 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.729, allocations: 7.01 MB / 0.7314 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005008/1.734, allocations: 3.245 MB / 0.7346 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.736, allocations: 263.5 kB / 0.7349 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.661e-06/1.736, allocations: 0 / 0.7349 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.09402/1.83, allocations: 65.85 MB / 0.7992 GB, free: 91.84 MB / 0.5105 GB