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.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.371e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3302, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.4771, allocations: 95.94 MB / 455.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4774, allocations: 75.95 kB / 455.8 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6126/1.09, allocations: 86.56 MB / 0.5296 GB, free: 107.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.132e-06/1.09, allocations: 0 / 0.5296 GB, free: 107.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000159/1.09, allocations: 73.67 kB / 0.5297 GB, free: 107.3 MB / 458.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.009655/1.1, allocations: 3.697 MB / 0.5333 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.1, allocations: 11.41 kB / 0.5333 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/1.12, allocations: 3.654 MB / 0.5369 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/1.135, allocations: 4.933 MB / 0.5417 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/1.135, allocations: 295.8 kB / 0.542 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/1.137, allocations: 391.4 kB / 0.5424 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/1.16, allocations: 10.21 MB / 0.5524 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/1.16, allocations: 35.88 kB / 0.5524 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/1.161, allocations: 176.7 kB / 0.5526 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001866/1.163, allocations: 1.188 MB / 0.5537 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/1.184, allocations: 9.886 MB / 0.5634 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/1.24, allocations: 36.47 MB / 0.599 GB, free: 80.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009064/1.249, allocations: 4.344 MB / 0.6032 GB, free: 77.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/1.253, allocations: 2.169 MB / 0.6054 GB, free: 75.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.254, allocations: 1.316 MB / 0.6066 GB, free: 74.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.254, allocations: 56.56 kB / 0.6067 GB, free: 74.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=245): time 8.164e-06/1.254, allocations: 0 / 0.6067 GB, free: 74.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=261): time 0.06238/1.316, allocations: 14.29 MB / 0.6206 GB, free: 62.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001104/1.318, allocations: 1.52 MB / 0.6221 GB, free: 60.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003947/1.322, allocations: 2.438 MB / 0.6245 GB, free: 58.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004132/1.322, allocations: 64.83 kB / 0.6246 GB, free: 58.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.324, allocations: 2.733 MB / 0.6272 GB, free: 55.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.325, allocations: 0.9467 MB / 0.6282 GB, free: 55.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/1.325, allocations: 115.8 kB / 0.6283 GB, free: 54.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000345/1.325, allocations: 0.5457 MB / 0.6288 GB, free: 54.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004115/1.33, allocations: 2.382 MB / 0.6311 GB, free: 52.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005929/1.336, allocations: 5.356 MB / 0.6364 GB, free: 45.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006264/1.342, allocations: 3.627 MB / 0.6399 GB, free: 42.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.117e-05/1.342, allocations: 29.22 kB / 0.6399 GB, free: 42.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03834/1.38, allocations: 9.081 MB / 0.6488 GB, free: 33.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.38, allocations: 48 kB / 0.6489 GB, free: 33.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01937/1.4, allocations: 4.547 MB / 0.6533 GB, free: 29.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.411, allocations: 2.051 MB / 0.6553 GB, free: 27.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00554/1.416, allocations: 1.294 MB / 0.6566 GB, free: 26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/1.424, allocations: 4.947 MB / 0.6614 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/1.429, allocations: 391.6 kB / 0.6618 GB, free: 20.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.43, allocations: 328.9 kB / 0.6621 GB, free: 20.1 MB / 458.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): 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.001242/1.432, allocations: 0.5005 MB / 0.6626 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/1.432, allocations: 280.3 kB / 0.6628 GB, free: 19.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/1.458, allocations: 5.342 MB / 0.668 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02435/1.482, allocations: 4.594 MB / 0.6725 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/1.482, allocations: 7.656 kB / 0.6725 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/1.482, allocations: 7.969 kB / 0.6726 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05259/1.535, allocations: 14.59 MB / 0.6868 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-05/1.535, allocations: 8 kB / 0.6868 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/1.538, allocations: 427.2 kB / 0.6872 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005324/1.543, allocations: 1.19 MB / 0.6884 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005334/1.544, allocations: 59.97 kB / 0.6884 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006792/1.55, allocations: 4.44 MB / 0.6928 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001489/1.552, allocations: 1.471 MB / 0.6942 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2877/1.84, allocations: 8.764 MB / 0.7028 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/1.841, allocations: 344.5 kB / 0.7031 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007681/1.841, allocations: 51.66 kB / 0.7031 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.844, allocations: 198.4 kB / 0.7033 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/1.844, allocations: 172.5 kB / 0.7035 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.844, allocations: 78.69 kB / 0.7036 GB, free: 109.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003421/1.848, allocations: 1.662 MB / 0.7052 GB, free: 109.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.01e-06/1.848, allocations: 0 / 0.7052 GB, free: 109.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006075/1.854, allocations: 1.065 MB / 0.7062 GB, free: 109.5 MB / 474.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.0006969/1.855, allocations: 203 kB / 0.7064 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01323/1.868, allocations: 6.211 MB / 0.7125 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.868, allocations: 4.594 kB / 0.7125 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00579/1.874, allocations: 2.833 MB / 0.7153 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.876, allocations: 341 kB / 0.7156 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.894, allocations: 9.145 MB / 0.7245 GB, free: 106.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007549/1.901, allocations: 3.383 MB / 0.7278 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01489/1.916, allocations: 2.109 MB / 0.7299 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003797/1.92, allocations: 224.1 kB / 0.7301 GB, free: 105.8 MB / 474.7 MB Notification: Performance of SimCode: time 4.185e-06/1.92, allocations: 0 / 0.7301 GB, free: 105.8 MB / 474.7 MB Notification: Performance of Templates: time 0.08371/2.004, allocations: 33.46 MB / 0.7628 GB, free: 101 MB / 474.7 MB