Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.035e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3345, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.4966, allocations: 103.8 MB / 463.6 MB, free: 9.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4969, allocations: 75.97 kB / 463.7 MB, free: 9.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6878/1.185, allocations: 91.08 MB / 0.5417 GB, free: 103.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.259e-06/1.185, allocations: 0 / 0.5417 GB, free: 103.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002322/1.185, allocations: 85.55 kB / 0.5418 GB, free: 103.7 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: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01185/1.197, allocations: 4.139 MB / 0.5459 GB, free: 101.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.197, allocations: 10 kB / 0.5459 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02255/1.22, allocations: 4.434 MB / 0.5502 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/1.233, allocations: 4.734 MB / 0.5548 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/1.234, allocations: 349.6 kB / 0.5552 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/1.235, allocations: 465.9 kB / 0.5556 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/1.258, allocations: 10.51 MB / 0.5659 GB, free: 97.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002196/1.258, allocations: 60.5 kB / 0.5659 GB, free: 97.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001443/1.259, allocations: 218 kB / 0.5661 GB, free: 97.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001485/1.261, allocations: 0.9935 MB / 0.5671 GB, free: 97.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/1.279, allocations: 8.26 MB / 0.5752 GB, free: 94.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05142/1.33, allocations: 46.87 MB / 0.6209 GB, free: 58.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006517/1.337, allocations: 2.91 MB / 0.6238 GB, free: 56.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/1.34, allocations: 1.584 MB / 0.6253 GB, free: 55.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/1.34, allocations: 333.5 kB / 0.6256 GB, free: 55.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/1.34, allocations: 63.31 kB / 0.6257 GB, free: 55.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.243e-06/1.34, allocations: 0 / 0.6257 GB, free: 55.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=194): time 0.02873/1.369, allocations: 11.27 MB / 0.6367 GB, free: 45.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/1.369, allocations: 209 kB / 0.6369 GB, free: 44.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/1.375, allocations: 3.339 MB / 0.6402 GB, free: 41.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003463/1.375, allocations: 49.7 kB / 0.6402 GB, free: 41.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/1.377, allocations: 3.218 MB / 0.6434 GB, free: 38.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008536/1.378, allocations: 0.7379 MB / 0.6441 GB, free: 38.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/1.378, allocations: 120 kB / 0.6442 GB, free: 38.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003387/1.379, allocations: 0.5567 MB / 0.6447 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/1.383, allocations: 1.993 MB / 0.6467 GB, free: 35.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005946/1.389, allocations: 5.608 MB / 0.6522 GB, free: 28.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/1.394, allocations: 3.328 MB / 0.6554 GB, free: 25.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.373e-05/1.395, allocations: 36 kB / 0.6554 GB, free: 25.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01573/1.41, allocations: 7.258 MB / 0.6625 GB, free: 17.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/1.41, allocations: 66.28 kB / 0.6626 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/1.411, allocations: 132 kB / 0.6627 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009988/1.412, allocations: 389.9 kB / 0.6631 GB, free: 17.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005884/1.418, allocations: 1.419 MB / 0.6645 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/1.422, allocations: 3 MB / 0.6674 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/1.428, allocations: 346.5 kB / 0.6677 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.429, allocations: 368 kB / 0.6681 GB, free: 12.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 740 * 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.0009755/1.43, allocations: 0.5597 MB / 0.6686 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006896/1.43, allocations: 343.6 kB / 0.669 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/1.435, allocations: 2.617 MB / 0.6715 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/1.436, allocations: 20 kB / 0.6715 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.436, allocations: 7.75 kB / 0.6715 GB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/1.436, allocations: 11.97 kB / 0.6716 GB, free: 8.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/1.452, allocations: 7.446 MB / 0.6788 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.452, allocations: 0 / 0.6788 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/1.454, allocations: 347.5 kB / 0.6792 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006658/1.455, allocations: 188.7 kB / 0.6793 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/1.455, allocations: 31.98 kB / 0.6794 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/1.459, allocations: 2.559 MB / 0.6819 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-06/1.459, allocations: 0 / 0.6819 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.47, allocations: 5.158 MB / 0.6869 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/1.472, allocations: 0.629 MB / 0.6875 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009077/1.473, allocations: 32 kB / 0.6876 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.475, allocations: 119.9 kB / 0.6877 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/1.476, allocations: 129.1 kB / 0.6878 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.476, allocations: 55.73 kB / 0.6878 GB, free: 7.699 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005405/1.482, allocations: 2.322 MB / 0.6901 GB, free: 5.395 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.68e-07/1.482, allocations: 0 / 0.6901 GB, free: 5.395 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006864/1.489, allocations: 0.9843 MB / 0.6911 GB, free: 4.41 MB / 474.7 MB 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 (164): * Single equations (assignments): 160 * 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.0006371/1.489, allocations: 167 kB / 0.6912 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01121/1.5, allocations: 4.689 MB / 0.6958 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.862e-06/1.5, allocations: 0 / 0.6958 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003404/1.504, allocations: 1.515 MB / 0.6973 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.507, allocations: 394.9 kB / 0.6977 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/1.54, allocations: 7.653 MB / 0.7051 GB, free: 5.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/1.552, allocations: 3.544 MB / 0.7086 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01351/1.566, allocations: 1.943 MB / 0.7105 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.568, allocations: 251.4 kB / 0.7107 GB, free: 228 kB / 490.7 MB Notification: Performance of SimCode: time 3.083e-06/1.568, allocations: 0 / 0.7107 GB, free: 228 kB / 490.7 MB Notification: Performance of Templates: time 0.4117/1.98, allocations: 31.92 MB / 0.7419 GB, free: 117 MB / 490.7 MB