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.3_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.274e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3529, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5375, allocations: 102.3 MB / 484.5 MB, free: 6.199 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5378, allocations: 71.97 kB / 484.6 MB, free: 6.129 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6837/1.221, allocations: 87.55 MB / 0.5587 GB, free: 111.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.949e-06/1.222, allocations: 3.938 kB / 0.5587 GB, free: 111.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001438/1.222, allocations: 78.06 kB / 0.5588 GB, free: 111.4 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.008099/1.23, allocations: 3.704 MB / 0.5624 GB, free: 109.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.23, allocations: 15.22 kB / 0.5624 GB, free: 109.4 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02129/1.251, allocations: 3.651 MB / 0.566 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/1.265, allocations: 4.951 MB / 0.5708 GB, free: 104.7 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/1.265, allocations: 289 kB / 0.5711 GB, free: 104.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/1.266, allocations: 392.7 kB / 0.5715 GB, free: 104.1 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/1.286, allocations: 10.23 MB / 0.5815 GB, free: 93.51 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/1.286, allocations: 31.66 kB / 0.5815 GB, free: 93.48 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007656/1.287, allocations: 172.7 kB / 0.5817 GB, free: 93.34 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/1.289, allocations: 1.201 MB / 0.5828 GB, free: 92.14 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/1.309, allocations: 9.884 MB / 0.5925 GB, free: 82.25 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05452/1.364, allocations: 36.58 MB / 0.6282 GB, free: 45 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009022/1.373, allocations: 4.355 MB / 0.6325 GB, free: 40.41 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/1.376, allocations: 2.162 MB / 0.6346 GB, free: 38.24 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.377, allocations: 1.324 MB / 0.6359 GB, free: 36.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.377, allocations: 56.56 kB / 0.6359 GB, free: 36.64 MB / 458.8 MB Notification: Performance of pre-optimization done (n=245): time 6.966e-06/1.377, allocations: 0 / 0.6359 GB, free: 36.64 MB / 458.8 MB Notification: Performance of matching and sorting (n=261): time 0.04072/1.418, allocations: 14.29 MB / 0.6499 GB, free: 22.26 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001088/1.419, allocations: 1.535 MB / 0.6514 GB, free: 20.56 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/1.423, allocations: 2.465 MB / 0.6538 GB, free: 18.08 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.424, allocations: 61.38 kB / 0.6538 GB, free: 18.02 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.425, allocations: 2.74 MB / 0.6565 GB, free: 15.27 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.426, allocations: 0.9543 MB / 0.6574 GB, free: 14.33 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/1.427, allocations: 112 kB / 0.6576 GB, free: 14.22 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003568/1.427, allocations: 0.5459 MB / 0.6581 GB, free: 13.66 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.431, allocations: 2.385 MB / 0.6604 GB, free: 11.27 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005809/1.437, allocations: 5.382 MB / 0.6657 GB, free: 4.41 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/1.443, allocations: 3.624 MB / 0.6692 GB, free: 0.7852 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-05/1.443, allocations: 32 kB / 0.6692 GB, free: 0.7539 MB / 458.8 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02802/1.471, allocations: 9.107 MB / 0.6781 GB, free: 7.629 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.471, allocations: 48 kB / 0.6782 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01597/1.487, allocations: 4.538 MB / 0.6826 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/1.5, allocations: 2.067 MB / 0.6846 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006049/1.506, allocations: 1.302 MB / 0.6859 GB, free: 15.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009217/1.515, allocations: 4.947 MB / 0.6907 GB, free: 10.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/1.521, allocations: 394.8 kB / 0.6911 GB, free: 10.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.522, allocations: 328 kB / 0.6914 GB, free: 9.723 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (691): * Single equations (assignments): 679 * 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.001291/1.523, allocations: 0.5086 MB / 0.6919 GB, free: 9.207 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/1.524, allocations: 280.3 kB / 0.6922 GB, free: 8.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.538, allocations: 5.342 MB / 0.6974 GB, free: 3.516 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01235/1.55, allocations: 4.59 MB / 0.7019 GB, free: 14.88 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-05/1.55, allocations: 8 kB / 0.7019 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.947e-05/1.55, allocations: 11.95 kB / 0.7019 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03705/1.588, allocations: 14.59 MB / 0.7161 GB, free: 64 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-05/1.588, allocations: 8 kB / 0.7162 GB, free: 56 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2913/1.879, allocations: 416.7 kB / 0.7166 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/1.885, allocations: 1.195 MB / 0.7177 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005111/1.885, allocations: 59.58 kB / 0.7178 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/1.891, allocations: 4.45 MB / 0.7221 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009605/1.892, allocations: 1.467 MB / 0.7236 GB, free: 137.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.908, allocations: 8.775 MB / 0.7321 GB, free: 136.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/1.909, allocations: 340.5 kB / 0.7324 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000599/1.91, allocations: 56.2 kB / 0.7325 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.912, allocations: 198.5 kB / 0.7327 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/1.912, allocations: 166 kB / 0.7328 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/1.912, allocations: 79.73 kB / 0.7329 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002998/1.915, allocations: 1.679 MB / 0.7346 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.742e-06/1.915, allocations: 0 / 0.7346 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00551/1.921, allocations: 1.079 MB / 0.7356 GB, free: 135.9 MB / 0.4949 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 (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.0005465/1.921, allocations: 199.4 kB / 0.7358 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.012/1.933, allocations: 6.222 MB / 0.7419 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.934, allocations: 5.938 kB / 0.7419 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006211/1.94, allocations: 2.83 MB / 0.7447 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/1.942, allocations: 361.8 kB / 0.745 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.961, allocations: 9.151 MB / 0.7539 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005048/1.966, allocations: 3.396 MB / 0.7573 GB, free: 129.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006589/1.973, allocations: 2.11 MB / 0.7593 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.974, allocations: 231.5 kB / 0.7595 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of SimCode: time 1.729e-06/1.974, allocations: 0 / 0.7595 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of Templates: time 0.08709/2.061, allocations: 33.59 MB / 0.7923 GB, free: 106.3 MB / 0.4949 GB