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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 270 MB / 283.6 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.908e-05, allocations: 7.984 kB / 348.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.487, allocations: 103.4 MB / 0.5017 GB, free: 3.141 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4873, allocations: 71.97 kB / 0.5017 GB, free: 3.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5949/1.082, allocations: 86.41 MB / 0.5861 GB, free: 55.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.513e-06/1.082, allocations: 4 kB / 0.5861 GB, free: 55.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001595/1.082, allocations: 68 kB / 0.5862 GB, free: 55.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.0104/1.093, allocations: 3.607 MB / 0.5897 GB, free: 51.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.093, allocations: 12.03 kB / 0.5897 GB, free: 51.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02043/1.113, allocations: 3.621 MB / 0.5932 GB, free: 48.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02138/1.135, allocations: 4.764 MB / 0.5979 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/1.135, allocations: 283.4 kB / 0.5982 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/1.138, allocations: 383.8 kB / 0.5985 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/1.176, allocations: 9.955 MB / 0.6082 GB, free: 32.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/1.177, allocations: 27.8 kB / 0.6083 GB, free: 32.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002433/1.179, allocations: 175.8 kB / 0.6084 GB, free: 32.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003437/1.183, allocations: 1.156 MB / 0.6096 GB, free: 30.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03676/1.22, allocations: 9.637 MB / 0.619 GB, free: 21.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06911/1.289, allocations: 35.7 MB / 0.6538 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/1.3, allocations: 4.244 MB / 0.658 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/1.304, allocations: 2.133 MB / 0.6601 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/1.306, allocations: 1.315 MB / 0.6614 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/1.306, allocations: 52.56 kB / 0.6614 GB, free: 8.449 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 7.251e-06/1.306, allocations: 7.938 kB / 0.6614 GB, free: 8.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=252): time 0.04957/1.356, allocations: 14.02 MB / 0.6751 GB, free: 10.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001758/1.358, allocations: 1.527 MB / 0.6766 GB, free: 8.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/1.363, allocations: 2.395 MB / 0.6789 GB, free: 6.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004602/1.363, allocations: 57.7 kB / 0.679 GB, free: 6.191 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002877/1.366, allocations: 2.671 MB / 0.6816 GB, free: 3.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.368, allocations: 0.9288 MB / 0.6825 GB, free: 2.539 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/1.368, allocations: 104 kB / 0.6826 GB, free: 2.438 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005683/1.369, allocations: 0.5416 MB / 0.6831 GB, free: 1.887 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005398/1.374, allocations: 2.326 MB / 0.6854 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008689/1.383, allocations: 5.245 MB / 0.6905 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007828/1.391, allocations: 3.554 MB / 0.694 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-05/1.391, allocations: 28 kB / 0.694 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.02916/1.42, allocations: 8.916 MB / 0.7027 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.42, allocations: 51.94 kB / 0.7028 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01654/1.437, allocations: 4.461 MB / 0.7071 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/1.45, allocations: 2.063 MB / 0.7091 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006111/1.456, allocations: 1.252 MB / 0.7104 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3343/1.79, allocations: 4.931 MB / 0.7152 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/1.795, allocations: 387.9 kB / 0.7156 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009994/1.796, allocations: 315.5 kB / 0.7159 GB, free: 133.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (669): * Single equations (assignments): 657 * Array equations: 8 * 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 prepare postOptimizeDAE: time 0.001075/1.797, allocations: 0.4995 MB / 0.7163 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/1.798, allocations: 276.8 kB / 0.7166 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.81, allocations: 5.225 MB / 0.7217 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01668/1.827, allocations: 4.512 MB / 0.7261 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/1.827, allocations: 0 / 0.7261 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.684e-05/1.827, allocations: 11.62 kB / 0.7261 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0321/1.859, allocations: 14.29 MB / 0.7401 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.859, allocations: 11.62 kB / 0.7401 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.862, allocations: 403.5 kB / 0.7405 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005505/1.867, allocations: 1.187 MB / 0.7416 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004854/1.868, allocations: 60.91 kB / 0.7417 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005345/1.873, allocations: 4.436 MB / 0.746 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009591/1.874, allocations: 1.462 MB / 0.7475 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.89, allocations: 8.618 MB / 0.7559 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000792/1.891, allocations: 336.2 kB / 0.7562 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006324/1.892, allocations: 54.03 kB / 0.7562 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/1.894, allocations: 193 kB / 0.7564 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/1.894, allocations: 164.5 kB / 0.7566 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.894, allocations: 77.44 kB / 0.7567 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002852/1.897, allocations: 1.631 MB / 0.7583 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.83e-07/1.897, allocations: 0 / 0.7583 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006143/1.903, allocations: 1.047 MB / 0.7593 GB, free: 122.6 MB / 0.5105 GB 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 (192): * Single equations (assignments): 182 * 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.0006286/1.904, allocations: 213.4 kB / 0.7595 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.916, allocations: 6.089 MB / 0.7654 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.521e-06/1.916, allocations: 0 / 0.7654 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.922, allocations: 2.785 MB / 0.7681 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.924, allocations: 345.2 kB / 0.7685 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.943, allocations: 8.917 MB / 0.7772 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005964/1.949, allocations: 3.315 MB / 0.7804 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006522/1.956, allocations: 2.064 MB / 0.7824 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.957, allocations: 218.4 kB / 0.7826 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.275e-06/1.957, allocations: 0 / 0.7826 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.08592/2.043, allocations: 32.9 MB / 0.8148 GB, free: 80.59 MB / 0.5105 GB