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 2.143/2.143, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.915e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.06813/0.4764, allocations: 41.98 MB / 366.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03095/0.5074, allocations: 9.658 MB / 376.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01074/0.5182, allocations: 215.5 kB / 376.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008597/0.5268, allocations: 2.201 MB / 378.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02381/0.5507, allocations: 6.054 MB / 384.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.5546, allocations: 0.5811 MB / 385.5 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02666/0.5814, allocations: 8.892 MB / 394.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007994/0.5894, allocations: 3.894 MB / 398.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.5915, allocations: 0.8104 MB / 399.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.5944, allocations: 1.325 MB / 400.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.5974, allocations: 0.9324 MB / 401.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.5986, allocations: 144 kB / 401.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002569/0.6012, allocations: 1.578 MB / 403.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.6025, allocations: 268 kB / 403.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009831/0.6123, allocations: 6.243 MB / 409.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6124, allocations: 0 / 409.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6124, allocations: 3.938 kB / 409.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002464/0.6127, allocations: 0 / 409.6 MB, free: 10.62 MB / 346.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.01352/0.6262, allocations: 4.101 MB / 413.7 MB, free: 6.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6263, allocations: 8.031 kB / 413.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.185/0.8113, allocations: 10.56 MB / 424.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009714/0.8211, allocations: 2.847 MB / 427.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.8215, allocations: 254.4 kB / 427.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.8231, allocations: 327.8 kB / 427.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/0.8509, allocations: 10.41 MB / 438.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.8511, allocations: 43.59 kB / 438.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.8523, allocations: 163.8 kB / 438.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005628/0.858, allocations: 2.034 MB / 440.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.8849, allocations: 8.638 MB / 449 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3579/1.243, allocations: 38.4 MB / 487.4 MB, free: 102.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.253, allocations: 3.01 MB / 490.4 MB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/1.254, allocations: 335.8 kB / 490.7 MB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/1.254, allocations: 54.86 kB / 490.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.561e-06/1.254, allocations: 0 / 490.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.06026/1.314, allocations: 14.46 MB / 0.4934 GB, free: 97.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/1.314, allocations: 202.7 kB / 0.4936 GB, free: 97.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008759/1.323, allocations: 3.529 MB / 0.497 GB, free: 95.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005234/1.324, allocations: 59.48 kB / 0.4971 GB, free: 95.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002904/1.326, allocations: 3.14 MB / 0.5001 GB, free: 93.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.328, allocations: 0.7312 MB / 0.5009 GB, free: 92.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006693/1.328, allocations: 118.9 kB / 0.501 GB, free: 92.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000515/1.329, allocations: 0.5667 MB / 0.5015 GB, free: 92.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006034/1.335, allocations: 2.145 MB / 0.5036 GB, free: 91.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008108/1.343, allocations: 5.788 MB / 0.5093 GB, free: 85.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/1.351, allocations: 3.442 MB / 0.5126 GB, free: 84.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.352, allocations: 38.97 kB / 0.5127 GB, free: 84.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02097/1.373, allocations: 7.852 MB / 0.5203 GB, free: 79.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.373, allocations: 64.06 kB / 0.5204 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.373, allocations: 135.3 kB / 0.5205 GB, free: 79.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/1.375, allocations: 457.3 kB / 0.521 GB, free: 78.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008595/1.383, allocations: 1.419 MB / 0.5224 GB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/1.389, allocations: 3.408 MB / 0.5257 GB, free: 73.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006458/1.395, allocations: 360.5 kB / 0.526 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.397, allocations: 368 kB / 0.5264 GB, free: 73.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (742): * Single equations (assignments): 738 * 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.005348/1.402, allocations: 2.194 MB / 0.5285 GB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009585/1.403, allocations: 347.5 kB / 0.5289 GB, free: 70.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008646/1.412, allocations: 2.921 MB / 0.5317 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.227e-05/1.412, allocations: 20 kB / 0.5317 GB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.412, allocations: 4 kB / 0.5317 GB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/1.412, allocations: 7.969 kB / 0.5317 GB, free: 67.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.435, allocations: 7.85 MB / 0.5394 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/1.435, allocations: 3.984 kB / 0.5394 GB, free: 59.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/1.438, allocations: 339.6 kB / 0.5397 GB, free: 59.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/1.439, allocations: 264.5 kB / 0.54 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003844/1.44, allocations: 35.98 kB / 0.54 GB, free: 59.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/1.445, allocations: 2.97 MB / 0.5429 GB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.445, allocations: 0 / 0.5429 GB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.458, allocations: 5.612 MB / 0.5484 GB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.461, allocations: 0.641 MB / 0.549 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.462, allocations: 28.73 kB / 0.5491 GB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.465, allocations: 136.6 kB / 0.5492 GB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006534/1.466, allocations: 122.2 kB / 0.5493 GB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.466, allocations: 60.91 kB / 0.5494 GB, free: 49.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005635/1.472, allocations: 2.479 MB / 0.5518 GB, free: 47.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.472, allocations: 4 kB / 0.5518 GB, free: 47.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006671/1.479, allocations: 1.009 MB / 0.5528 GB, free: 46.02 MB / 410.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.0008446/1.479, allocations: 176.5 kB / 0.5529 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/1.492, allocations: 5.16 MB / 0.558 GB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/1.492, allocations: 4 kB / 0.558 GB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004288/1.496, allocations: 1.665 MB / 0.5596 GB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.5, allocations: 395.9 kB / 0.56 GB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.525, allocations: 11.73 MB / 0.5714 GB, free: 26.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006428/1.532, allocations: 3.548 MB / 0.5749 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/1.534, allocations: 307.3 kB / 0.5752 GB, free: 22.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/1.534, allocations: 3.938 kB / 0.5752 GB, free: 22.97 MB / 410.7 MB Notification: Performance of Templates: time 0.4363/1.97, allocations: 76.48 MB / 0.6499 GB, free: 156.9 MB / 458.7 MB