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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.648/2.648, allocations: 270 MB / 283.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.07e-05, allocations: 4 kB / 348.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 61.86 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.4829, allocations: 103.4 MB / 0.5017 GB, free: 3.148 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.4833, allocations: 75.95 kB / 0.5017 GB, free: 3.074 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6577/1.141, allocations: 86.4 MB / 0.5861 GB, free: 55.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.988e-06/1.141, allocations: 0 / 0.5861 GB, free: 55.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001476/1.141, allocations: 71.94 kB / 0.5862 GB, free: 55.5 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.009681/1.151, allocations: 3.615 MB / 0.5897 GB, free: 51.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.151, allocations: 8.031 kB / 0.5897 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/1.17, allocations: 3.625 MB / 0.5933 GB, free: 48.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/1.183, allocations: 4.764 MB / 0.5979 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/1.184, allocations: 287.4 kB / 0.5982 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/1.185, allocations: 371.8 kB / 0.5985 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/1.206, allocations: 9.963 MB / 0.6083 GB, free: 32.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.206, allocations: 27.75 kB / 0.6083 GB, free: 32.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008115/1.207, allocations: 167.9 kB / 0.6084 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/1.209, allocations: 1.16 MB / 0.6096 GB, free: 30.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/1.23, allocations: 9.649 MB / 0.619 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07591/1.306, allocations: 35.69 MB / 0.6539 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/1.32, allocations: 4.247 MB / 0.658 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/1.324, allocations: 2.128 MB / 0.6601 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.326, allocations: 1.319 MB / 0.6614 GB, free: 8.523 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/1.326, allocations: 52.56 kB / 0.6614 GB, free: 8.465 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 6.45e-06/1.326, allocations: 0 / 0.6614 GB, free: 8.465 MB / 474.7 MB Notification: Performance of matching and sorting (n=252): time 0.04772/1.374, allocations: 14.02 MB / 0.6751 GB, free: 10.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001754/1.375, allocations: 1.531 MB / 0.6766 GB, free: 8.688 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004913/1.38, allocations: 2.392 MB / 0.6789 GB, free: 6.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004368/1.381, allocations: 61.69 kB / 0.679 GB, free: 6.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002723/1.383, allocations: 2.663 MB / 0.6816 GB, free: 3.508 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.385, allocations: 0.9367 MB / 0.6825 GB, free: 2.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/1.385, allocations: 108 kB / 0.6826 GB, free: 2.453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005295/1.386, allocations: 0.5377 MB / 0.6831 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/1.391, allocations: 2.33 MB / 0.6854 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009143/1.4, allocations: 5.249 MB / 0.6905 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007608/1.408, allocations: 3.539 MB / 0.694 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.776e-05/1.408, allocations: 28 kB / 0.694 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.0332/1.441, allocations: 8.92 MB / 0.7027 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/1.442, allocations: 56.23 kB / 0.7028 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01565/1.457, allocations: 4.465 MB / 0.7072 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/1.469, allocations: 2.055 MB / 0.7092 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006023/1.475, allocations: 1.248 MB / 0.7104 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3204/1.796, allocations: 4.927 MB / 0.7152 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.801, allocations: 387.2 kB / 0.7156 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.803, allocations: 321.1 kB / 0.7159 GB, free: 134.2 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.001469/1.804, allocations: 0.4957 MB / 0.7163 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000606/1.805, allocations: 275.4 kB / 0.7166 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.818, allocations: 5.234 MB / 0.7217 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01158/1.83, allocations: 4.508 MB / 0.7261 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.83, allocations: 7.25 kB / 0.7261 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/1.83, allocations: 15.48 kB / 0.7261 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/1.861, allocations: 14.28 MB / 0.7401 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-05/1.861, allocations: 10.53 kB / 0.7401 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.863, allocations: 410.4 kB / 0.7405 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005087/1.869, allocations: 1.189 MB / 0.7417 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005137/1.869, allocations: 57.83 kB / 0.7417 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005346/1.874, allocations: 4.429 MB / 0.746 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009494/1.875, allocations: 1.465 MB / 0.7475 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.891, allocations: 8.621 MB / 0.7559 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/1.892, allocations: 337.7 kB / 0.7562 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006196/1.893, allocations: 58.77 kB / 0.7563 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.895, allocations: 188.6 kB / 0.7564 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/1.895, allocations: 158.2 kB / 0.7566 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.896, allocations: 74.09 kB / 0.7567 GB, free: 124 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002882/1.899, allocations: 1.639 MB / 0.7583 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/1.899, allocations: 0 / 0.7583 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005779/1.904, allocations: 1.045 MB / 0.7593 GB, free: 123.3 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.0005892/1.905, allocations: 206 kB / 0.7595 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.917, allocations: 6.094 MB / 0.7654 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.917, allocations: 3.812 kB / 0.7654 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00593/1.923, allocations: 2.787 MB / 0.7682 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.925, allocations: 345 kB / 0.7685 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/1.942, allocations: 8.91 MB / 0.7772 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004974/1.947, allocations: 3.326 MB / 0.7804 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006165/1.954, allocations: 2.058 MB / 0.7824 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.955, allocations: 223.1 kB / 0.7827 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/1.955, allocations: 1.531 kB / 0.7827 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.08346/2.038, allocations: 32.9 MB / 0.8148 GB, free: 81.47 MB / 0.5105 GB