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_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.071e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.08894, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4454, allocations: 89.2 MB / 411 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4457, allocations: 77.3 kB / 411.1 MB, free: 4.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3313/0.7769, allocations: 86.38 MB / 497.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.942e-06/0.777, allocations: 0 / 497.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000201/0.7772, allocations: 76 kB / 497.5 MB, free: 6.469 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.01676/0.794, allocations: 3.69 MB / 0.4895 GB, free: 2.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.7941, allocations: 8.031 kB / 0.4895 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04151/0.8356, allocations: 3.641 MB / 0.493 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0218/0.8575, allocations: 4.916 MB / 0.4978 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/0.858, allocations: 295.6 kB / 0.4981 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002188/0.8602, allocations: 395.8 kB / 0.4985 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02817/0.8884, allocations: 10.21 MB / 0.5085 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/0.8886, allocations: 31.66 kB / 0.5085 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/0.8906, allocations: 183.8 kB / 0.5087 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002597/0.8932, allocations: 1.191 MB / 0.5098 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/0.9189, allocations: 9.884 MB / 0.5195 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3235/1.242, allocations: 36.45 MB / 0.5551 GB, free: 80.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00992/1.252, allocations: 4.351 MB / 0.5593 GB, free: 79.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/1.256, allocations: 2.162 MB / 0.5614 GB, free: 79.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.258, allocations: 1.324 MB / 0.5627 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/1.258, allocations: 49 kB / 0.5628 GB, free: 78.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 7.948e-06/1.258, allocations: 3.75 kB / 0.5628 GB, free: 78.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.04516/1.303, allocations: 14.3 MB / 0.5767 GB, free: 76.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00115/1.304, allocations: 1.531 MB / 0.5782 GB, free: 74.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/1.308, allocations: 2.435 MB / 0.5806 GB, free: 73.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004492/1.309, allocations: 60.19 kB / 0.5807 GB, free: 73.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/1.31, allocations: 2.734 MB / 0.5833 GB, free: 71.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.311, allocations: 0.9552 MB / 0.5843 GB, free: 71.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/1.312, allocations: 113 kB / 0.5844 GB, free: 71.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/1.312, allocations: 0.5536 MB / 0.5849 GB, free: 70.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00437/1.316, allocations: 2.365 MB / 0.5872 GB, free: 69.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006115/1.322, allocations: 5.339 MB / 0.5925 GB, free: 65.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006379/1.329, allocations: 3.605 MB / 0.596 GB, free: 64.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.571e-05/1.329, allocations: 31.56 kB / 0.596 GB, free: 64.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02054/1.35, allocations: 8.396 MB / 0.6042 GB, free: 61.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/1.35, allocations: 48.09 kB / 0.6042 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00974/1.359, allocations: 3.856 MB / 0.608 GB, free: 60.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/1.365, allocations: 1.246 MB / 0.6092 GB, free: 60.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/1.371, allocations: 1.293 MB / 0.6105 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/1.375, allocations: 4.106 MB / 0.6145 GB, free: 55.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/1.381, allocations: 398.1 kB / 0.6149 GB, free: 55.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.382, allocations: 323.6 kB / 0.6152 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.001074/1.383, allocations: 0.4993 MB / 0.6157 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/1.383, allocations: 280 kB / 0.6159 GB, free: 53.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.395, allocations: 5.356 MB / 0.6212 GB, free: 49.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01048/1.406, allocations: 4.586 MB / 0.6257 GB, free: 45.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.406, allocations: 0 / 0.6257 GB, free: 45.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.857e-05/1.406, allocations: 10.78 kB / 0.6257 GB, free: 45.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/1.436, allocations: 14.57 MB / 0.6399 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/1.436, allocations: 12 kB / 0.6399 GB, free: 33.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.439, allocations: 419.9 kB / 0.6403 GB, free: 33.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005071/1.444, allocations: 1.19 MB / 0.6415 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005375/1.444, allocations: 63.88 kB / 0.6415 GB, free: 32.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/1.449, allocations: 4.444 MB / 0.6459 GB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009148/1.45, allocations: 1.47 MB / 0.6473 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.466, allocations: 8.78 MB / 0.6559 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/1.466, allocations: 333.5 kB / 0.6562 GB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007172/1.467, allocations: 55.98 kB / 0.6563 GB, free: 17.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.47, allocations: 192.9 kB / 0.6564 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/1.47, allocations: 174.7 kB / 0.6566 GB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/1.471, allocations: 75.97 kB / 0.6567 GB, free: 17.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003151/1.474, allocations: 1.665 MB / 0.6583 GB, free: 15.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.474, allocations: 0 / 0.6583 GB, free: 15.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006273/1.48, allocations: 1.053 MB / 0.6593 GB, free: 14.52 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.0008233/1.481, allocations: 209.1 kB / 0.6595 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.012/1.493, allocations: 6.173 MB / 0.6656 GB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.493, allocations: 5.625 kB / 0.6656 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005841/1.499, allocations: 2.831 MB / 0.6683 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.501, allocations: 360.2 kB / 0.6687 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/1.523, allocations: 9.133 MB / 0.6776 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007259/1.53, allocations: 3.393 MB / 0.6809 GB, free: 8.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00726/1.538, allocations: 2.099 MB / 0.683 GB, free: 6.078 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.539, allocations: 219.4 kB / 0.6832 GB, free: 5.863 MB / 442.7 MB Notification: Performance of SimCode: time 1.845e-06/1.539, allocations: 0 / 0.6832 GB, free: 5.863 MB / 442.7 MB Notification: Performance of Templates: time 0.3279/1.867, allocations: 31.8 MB / 0.7142 GB, free: 104.1 MB / 442.7 MB