Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.181e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5505, allocations: 110.2 MB / 0.5083 GB, free: 9.867 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5508, allocations: 77.27 kB / 0.5084 GB, free: 9.793 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3322/0.883, allocations: 83.8 MB / 0.5902 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.959e-06/0.8831, allocations: 0 / 0.5902 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002276/0.8833, allocations: 80 kB / 0.5903 GB, free: 5.461 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.01218/0.8955, allocations: 3.806 MB / 0.594 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8956, allocations: 8.031 kB / 0.594 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.9188, allocations: 4.343 MB / 0.5983 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/0.9336, allocations: 4.394 MB / 0.6025 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/0.9341, allocations: 316.3 kB / 0.6028 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.9359, allocations: 411.8 kB / 0.6032 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3167/1.253, allocations: 9.464 MB / 0.6125 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/1.253, allocations: 57.56 kB / 0.6125 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009999/1.254, allocations: 205 kB / 0.6127 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/1.256, allocations: 0.8497 MB / 0.6136 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/1.274, allocations: 7.303 MB / 0.6207 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/1.325, allocations: 43.22 MB / 0.6629 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/1.331, allocations: 2.328 MB / 0.6652 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/1.333, allocations: 1.146 MB / 0.6663 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/1.333, allocations: 325.6 kB / 0.6666 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.333, allocations: 51.69 kB / 0.6666 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 5.582e-06/1.333, allocations: 0 / 0.6666 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=140): time 0.02475/1.358, allocations: 8.659 MB / 0.6751 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.358, allocations: 192.4 kB / 0.6753 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005817/1.364, allocations: 3.183 MB / 0.6784 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002368/1.364, allocations: 46.34 kB / 0.6784 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/1.366, allocations: 2.974 MB / 0.6813 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006062/1.367, allocations: 0.5537 MB / 0.6819 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/1.367, allocations: 103.8 kB / 0.682 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003216/1.367, allocations: 0.5307 MB / 0.6825 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/1.37, allocations: 1.578 MB / 0.684 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/1.375, allocations: 4.962 MB / 0.6889 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005131/1.381, allocations: 2.807 MB / 0.6916 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-05/1.381, allocations: 35.56 kB / 0.6917 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01503/1.396, allocations: 6.173 MB / 0.6977 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.396, allocations: 61.89 kB / 0.6978 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.396, allocations: 123.9 kB / 0.6979 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.397, allocations: 367.6 kB / 0.6982 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/1.407, allocations: 1.244 MB / 0.6994 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/1.415, allocations: 2.977 MB / 0.7023 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.425, allocations: 294.4 kB / 0.7026 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.427, allocations: 347 kB / 0.703 GB, free: 69.11 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.001599/1.428, allocations: 0.516 MB / 0.7035 GB, free: 68.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.43, allocations: 311 kB / 0.7038 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/1.436, allocations: 1.656 MB / 0.7054 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.713e-05/1.436, allocations: 14.88 kB / 0.7054 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.436, allocations: 3.781 kB / 0.7054 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/1.436, allocations: 10.41 kB / 0.7054 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.46, allocations: 5.62 MB / 0.7109 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/1.46, allocations: 3.875 kB / 0.7109 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/1.463, allocations: 228.4 kB / 0.7111 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/1.464, allocations: 184.5 kB / 0.7113 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002953/1.465, allocations: 26.78 kB / 0.7113 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006995/1.472, allocations: 2.548 MB / 0.7138 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.472, allocations: 15.53 kB / 0.7138 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.485, allocations: 3.666 MB / 0.7174 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.486, allocations: 363.2 kB / 0.7177 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/1.487, allocations: 25.56 kB / 0.7178 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.488, allocations: 80.66 kB / 0.7178 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.489, allocations: 98.34 kB / 0.7179 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.489, allocations: 39.81 kB / 0.718 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004261/1.493, allocations: 2.199 MB / 0.7201 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.084e-06/1.493, allocations: 3.688 kB / 0.7201 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005736/1.499, allocations: 0.8502 MB / 0.721 GB, free: 61.05 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.0004604/1.499, allocations: 165.6 kB / 0.7211 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00729/1.507, allocations: 3.712 MB / 0.7247 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.117e-06/1.507, allocations: 0 / 0.7247 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.509, allocations: 1.058 MB / 0.7258 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.511, allocations: 388.3 kB / 0.7261 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.525, allocations: 6.558 MB / 0.7325 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/1.529, allocations: 3.24 MB / 0.7357 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005388/1.535, allocations: 1.732 MB / 0.7374 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/1.535, allocations: 221.7 kB / 0.7376 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/1.535, allocations: 0 / 0.7376 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.07571/1.611, allocations: 26.52 MB / 0.7635 GB, free: 27.56 MB / 0.5105 GB