Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.569e-05, allocations: 7.234 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5459, allocations: 105.3 MB / 0.5035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5462, allocations: 75.95 kB / 0.5036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3994/0.9456, allocations: 90.36 MB / 0.5918 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9457, allocations: 0 / 0.5918 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002805/0.946, allocations: 80 kB / 0.5919 GB, free: 3.621 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.02786/0.9739, allocations: 4.17 MB / 0.5959 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.974, allocations: 8.031 kB / 0.596 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03096/1.005, allocations: 3.539 MB / 0.5994 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.02, allocations: 4.495 MB / 0.6038 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/1.02, allocations: 324.4 kB / 0.6041 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/1.023, allocations: 423.8 kB / 0.6045 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3197/1.342, allocations: 10.63 MB / 0.6149 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/1.343, allocations: 27.11 kB / 0.6149 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/1.344, allocations: 193.5 kB / 0.6151 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/1.347, allocations: 1.189 MB / 0.6163 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/1.372, allocations: 10.12 MB / 0.6261 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08878/1.461, allocations: 36.47 MB / 0.6618 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/1.477, allocations: 4.224 MB / 0.6659 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005864/1.483, allocations: 2.092 MB / 0.6679 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/1.485, allocations: 1.314 MB / 0.6692 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.485, allocations: 56.69 kB / 0.6693 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 1.212e-05/1.485, allocations: 0 / 0.6693 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.04576/1.53, allocations: 10.96 MB / 0.68 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.531, allocations: 71.25 kB / 0.68 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/1.535, allocations: 2.445 MB / 0.6824 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/1.535, allocations: 60.12 kB / 0.6825 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/1.537, allocations: 2.859 MB / 0.6853 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.538, allocations: 0.9429 MB / 0.6862 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/1.539, allocations: 110.8 kB / 0.6863 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003922/1.539, allocations: 0.5461 MB / 0.6868 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004432/1.544, allocations: 2.233 MB / 0.689 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005956/1.55, allocations: 5.281 MB / 0.6942 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/1.556, allocations: 3.486 MB / 0.6976 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.556, allocations: 30.06 kB / 0.6976 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01927/1.575, allocations: 7.981 MB / 0.7054 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/1.575, allocations: 54.58 kB / 0.7055 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.576, allocations: 108 kB / 0.7056 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005731/1.581, allocations: 1.055 MB / 0.7066 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005617/1.587, allocations: 1.288 MB / 0.7078 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/1.59, allocations: 2.456 MB / 0.7102 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/1.595, allocations: 303.4 kB / 0.7105 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.596, allocations: 328.5 kB / 0.7108 GB, free: 79.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * 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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (700): * Single equations (assignments): 691 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001092/1.597, allocations: 0.5219 MB / 0.7114 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005347/1.598, allocations: 276.4 kB / 0.7116 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.608, allocations: 4.907 MB / 0.7164 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/1.608, allocations: 52.06 kB / 0.7165 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.608, allocations: 0 / 0.7165 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.608, allocations: 10.64 kB / 0.7165 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.632, allocations: 11.32 MB / 0.7275 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.632, allocations: 4 kB / 0.7275 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/1.635, allocations: 406.1 kB / 0.7279 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/1.639, allocations: 0.9139 MB / 0.7288 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004382/1.639, allocations: 56.97 kB / 0.7289 GB, free: 64.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/1.642, allocations: 2.27 MB / 0.7311 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.792e-06/1.642, allocations: 11.94 kB / 0.7311 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.655, allocations: 7.938 MB / 0.7388 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/1.656, allocations: 328.1 kB / 0.7392 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005811/1.657, allocations: 47.36 kB / 0.7392 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.658, allocations: 141.2 kB / 0.7393 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/1.659, allocations: 149 kB / 0.7395 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/1.659, allocations: 73.17 kB / 0.7395 GB, free: 54.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002798/1.662, allocations: 1.656 MB / 0.7412 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.96e-07/1.662, allocations: 5.812 kB / 0.7412 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005195/1.667, allocations: 0.9806 MB / 0.7421 GB, free: 52.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009094/1.668, allocations: 204.2 kB / 0.7423 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02149/1.69, allocations: 5.774 MB / 0.748 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/1.69, allocations: 0 / 0.748 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01096/1.701, allocations: 2.497 MB / 0.7504 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/1.705, allocations: 405.9 kB / 0.7508 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03796/1.743, allocations: 9.075 MB / 0.7596 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/1.754, allocations: 3.514 MB / 0.7631 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006865/1.761, allocations: 2.044 MB / 0.7651 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.762, allocations: 231.4 kB / 0.7653 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.661e-06/1.762, allocations: 0 / 0.7653 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.08226/1.844, allocations: 30.62 MB / 0.7952 GB, free: 15.82 MB / 0.5261 GB