Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.209e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08577, allocations: 48.69 MB / 321.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4484, allocations: 96.99 MB / 418.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4487, allocations: 74.08 kB / 418.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3551/0.8038, allocations: 91.1 MB / 0.498 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.8039, allocations: 0 / 0.498 GB, free: 10.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002406/0.8041, allocations: 92.12 kB / 0.498 GB, free: 10.47 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0137/0.8178, allocations: 4.149 MB / 0.5021 GB, free: 6.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8179, allocations: 8.031 kB / 0.5021 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02425/0.8422, allocations: 4.436 MB / 0.5064 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.8582, allocations: 4.73 MB / 0.5111 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005068/0.8587, allocations: 353.2 kB / 0.5114 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.8609, allocations: 459.8 kB / 0.5118 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/0.8878, allocations: 10.5 MB / 0.5221 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.8881, allocations: 59.47 kB / 0.5221 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.8895, allocations: 223.9 kB / 0.5224 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2426/1.132, allocations: 0.9837 MB / 0.5233 GB, free: 87.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.152, allocations: 8.259 MB / 0.5314 GB, free: 87.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05497/1.207, allocations: 46.87 MB / 0.5772 GB, free: 59.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/1.214, allocations: 2.91 MB / 0.58 GB, free: 58.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/1.217, allocations: 1.582 MB / 0.5815 GB, free: 57.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/1.218, allocations: 345.6 kB / 0.5819 GB, free: 57.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/1.218, allocations: 57 kB / 0.5819 GB, free: 57.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.363e-06/1.218, allocations: 0 / 0.5819 GB, free: 57.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.02925/1.247, allocations: 11.28 MB / 0.5929 GB, free: 52.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.247, allocations: 201.4 kB / 0.5931 GB, free: 52.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/1.253, allocations: 3.363 MB / 0.5964 GB, free: 51.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.253, allocations: 48.86 kB / 0.5965 GB, free: 51.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/1.255, allocations: 3.154 MB / 0.5995 GB, free: 48.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007667/1.256, allocations: 0.7401 MB / 0.6003 GB, free: 48.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/1.256, allocations: 118.8 kB / 0.6004 GB, free: 48.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/1.257, allocations: 0.5666 MB / 0.6009 GB, free: 47.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.261, allocations: 1.992 MB / 0.6029 GB, free: 46.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005836/1.266, allocations: 5.605 MB / 0.6083 GB, free: 41.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006388/1.273, allocations: 3.337 MB / 0.6116 GB, free: 40.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-05/1.273, allocations: 36.75 kB / 0.6116 GB, free: 40.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01634/1.289, allocations: 7.151 MB / 0.6186 GB, free: 37.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/1.29, allocations: 63.5 kB / 0.6187 GB, free: 37.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.29, allocations: 127.3 kB / 0.6188 GB, free: 37.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.291, allocations: 387.8 kB / 0.6192 GB, free: 37.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0063/1.297, allocations: 1.427 MB / 0.6206 GB, free: 37.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/1.301, allocations: 2.987 MB / 0.6235 GB, free: 35.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/1.307, allocations: 348 kB / 0.6238 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.309, allocations: 375.5 kB / 0.6242 GB, free: 35.42 MB / 426.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.001111/1.31, allocations: 0.5588 MB / 0.6247 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007678/1.311, allocations: 344.9 kB / 0.6251 GB, free: 34.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/1.316, allocations: 2.619 MB / 0.6276 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-05/1.316, allocations: 20 kB / 0.6276 GB, free: 33.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.316, allocations: 4 kB / 0.6276 GB, free: 33.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.316, allocations: 11.69 kB / 0.6276 GB, free: 33.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/1.333, allocations: 7.451 MB / 0.6349 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.333, allocations: 0 / 0.6349 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/1.336, allocations: 352 kB / 0.6353 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007079/1.336, allocations: 189.1 kB / 0.6354 GB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/1.337, allocations: 35.94 kB / 0.6355 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/1.34, allocations: 2.552 MB / 0.638 GB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.484e-06/1.34, allocations: 4.031 kB / 0.638 GB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008641/1.348, allocations: 5.154 MB / 0.643 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.35, allocations: 0.6213 MB / 0.6436 GB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005477/1.351, allocations: 35.28 kB / 0.6436 GB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.353, allocations: 115.8 kB / 0.6438 GB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/1.353, allocations: 130 kB / 0.6439 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.354, allocations: 54 kB / 0.6439 GB, free: 18.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004551/1.358, allocations: 2.33 MB / 0.6462 GB, free: 16.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.101e-06/1.358, allocations: 4 kB / 0.6462 GB, free: 16.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006433/1.365, allocations: 0.9956 MB / 0.6472 GB, free: 15.69 MB / 426.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.0005311/1.365, allocations: 170.8 kB / 0.6473 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008812/1.374, allocations: 4.686 MB / 0.6519 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.485e-06/1.374, allocations: 0 / 0.6519 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/1.377, allocations: 1.515 MB / 0.6534 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.379, allocations: 404.8 kB / 0.6538 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.397, allocations: 8.167 MB / 0.6618 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009146/1.406, allocations: 3.699 MB / 0.6654 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.408, allocations: 300.9 kB / 0.6657 GB, free: 15.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.992e-06/1.408, allocations: 0 / 0.6657 GB, free: 15.69 MB / 442.7 MB Notification: Performance of Templates: time 0.4233/1.831, allocations: 74.85 MB / 0.7387 GB, free: 83.83 MB / 442.7 MB