Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 1.887/1.887, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.058e-05, allocations: 8 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08731/0.08738, allocations: 48.69 MB / 321.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4425, allocations: 89.21 MB / 411 MB, free: 3.562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4427, allocations: 72.56 kB / 411 MB, free: 3.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3353/0.778, allocations: 86.39 MB / 497.4 MB, free: 6.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7781, allocations: 0 / 497.4 MB, free: 6.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001953/0.7783, allocations: 76 kB / 497.5 MB, free: 6.824 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01248/0.7908, allocations: 3.69 MB / 0.4894 GB, free: 3.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7908, allocations: 8.031 kB / 0.4894 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02105/0.8119, allocations: 3.648 MB / 0.493 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.8281, allocations: 4.908 MB / 0.4978 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/0.8287, allocations: 295.6 kB / 0.4981 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/0.8309, allocations: 391.8 kB / 0.4985 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02858/0.8595, allocations: 10.22 MB / 0.5084 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.8598, allocations: 31.66 kB / 0.5085 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/0.8616, allocations: 179.8 kB / 0.5086 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002535/0.8641, allocations: 1.195 MB / 0.5098 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0257/0.8899, allocations: 9.888 MB / 0.5195 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3021/1.192, allocations: 36.45 MB / 0.5551 GB, free: 80.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009622/1.202, allocations: 4.349 MB / 0.5593 GB, free: 78.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/1.205, allocations: 2.166 MB / 0.5614 GB, free: 78.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.207, allocations: 1.314 MB / 0.5627 GB, free: 77.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.207, allocations: 61.16 kB / 0.5628 GB, free: 77.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 6.817e-06/1.207, allocations: 0 / 0.5628 GB, free: 77.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.0449/1.252, allocations: 14.3 MB / 0.5767 GB, free: 75.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001113/1.253, allocations: 1.521 MB / 0.5782 GB, free: 74.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/1.257, allocations: 2.44 MB / 0.5806 GB, free: 73.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004374/1.258, allocations: 61.11 kB / 0.5806 GB, free: 73.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.259, allocations: 2.72 MB / 0.5833 GB, free: 71.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.26, allocations: 0.9596 MB / 0.5842 GB, free: 70.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004818/1.261, allocations: 112.2 kB / 0.5843 GB, free: 70.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003834/1.261, allocations: 0.5562 MB / 0.5849 GB, free: 70.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004606/1.266, allocations: 2.363 MB / 0.5872 GB, free: 69.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00626/1.272, allocations: 5.343 MB / 0.5924 GB, free: 64.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006508/1.279, allocations: 3.61 MB / 0.5959 GB, free: 63.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.457e-05/1.279, allocations: 29.88 kB / 0.596 GB, free: 63.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0206/1.299, allocations: 8.338 MB / 0.6041 GB, free: 61.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/1.299, allocations: 51.53 kB / 0.6042 GB, free: 61.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009798/1.309, allocations: 3.851 MB / 0.6079 GB, free: 60.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005636/1.315, allocations: 1.241 MB / 0.6091 GB, free: 60.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005575/1.321, allocations: 1.289 MB / 0.6104 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004508/1.325, allocations: 4.115 MB / 0.6144 GB, free: 55.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/1.33, allocations: 388 kB / 0.6148 GB, free: 55.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008612/1.331, allocations: 331.6 kB / 0.6151 GB, free: 54.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009597/1.332, allocations: 0.4996 MB / 0.6156 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/1.333, allocations: 276.4 kB / 0.6158 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.344, allocations: 5.351 MB / 0.6211 GB, free: 49.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009921/1.354, allocations: 4.585 MB / 0.6256 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.354, allocations: 3.328 kB / 0.6256 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-05/1.354, allocations: 15.53 kB / 0.6256 GB, free: 45.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02957/1.384, allocations: 14.59 MB / 0.6398 GB, free: 33.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.384, allocations: 8 kB / 0.6398 GB, free: 33.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.386, allocations: 418.7 kB / 0.6402 GB, free: 33.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004945/1.391, allocations: 1.189 MB / 0.6414 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/1.392, allocations: 64.97 kB / 0.6414 GB, free: 32.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/1.397, allocations: 4.437 MB / 0.6458 GB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008956/1.398, allocations: 1.465 MB / 0.6472 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.413, allocations: 8.776 MB / 0.6558 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/1.414, allocations: 341.4 kB / 0.6561 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007698/1.414, allocations: 56.69 kB / 0.6562 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.416, allocations: 192.6 kB / 0.6563 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004342/1.417, allocations: 175.1 kB / 0.6565 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/1.417, allocations: 71.98 kB / 0.6566 GB, free: 17.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002833/1.42, allocations: 1.665 MB / 0.6582 GB, free: 15.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.254e-06/1.42, allocations: 0 / 0.6582 GB, free: 15.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005936/1.426, allocations: 1.051 MB / 0.6592 GB, free: 14.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000847/1.427, allocations: 215.4 kB / 0.6594 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.439, allocations: 6.177 MB / 0.6655 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.439, allocations: 0 / 0.6655 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005753/1.445, allocations: 2.847 MB / 0.6682 GB, free: 5.355 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.447, allocations: 358.2 kB / 0.6686 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.47, allocations: 9.602 MB / 0.678 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00776/1.478, allocations: 3.387 MB / 0.6813 GB, free: 7.871 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.48, allocations: 275.4 kB / 0.6815 GB, free: 7.602 MB / 442.7 MB Notification: Performance of SimCode: time 1.918e-06/1.48, allocations: 4 kB / 0.6815 GB, free: 7.598 MB / 442.7 MB Notification: Performance of Templates: time 0.4051/1.885, allocations: 124.4 MB / 0.803 GB, free: 39.52 MB / 442.7 MB