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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.415e-05, allocations: 4 kB / 348.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 61.88 MB / 410.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.4943, allocations: 105.3 MB / 0.5035 GB, free: 1.238 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4946, allocations: 75.97 kB / 0.5036 GB, free: 1.164 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6591/1.154, allocations: 90.35 MB / 0.5918 GB, free: 49.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.154, allocations: 0 / 0.5918 GB, free: 49.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001767/1.154, allocations: 79.94 kB / 0.5919 GB, free: 49.26 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01575/1.17, allocations: 4.175 MB / 0.596 GB, free: 45.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.17, allocations: 12.03 kB / 0.596 GB, free: 45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/1.188, allocations: 3.535 MB / 0.5994 GB, free: 41.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/1.201, allocations: 4.487 MB / 0.6038 GB, free: 36.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/1.202, allocations: 324.4 kB / 0.6041 GB, free: 36.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/1.204, allocations: 427.8 kB / 0.6045 GB, free: 36.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/1.228, allocations: 10.62 MB / 0.6149 GB, free: 25.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/1.228, allocations: 27.72 kB / 0.6149 GB, free: 25.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/1.23, allocations: 195.9 kB / 0.6151 GB, free: 24.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/1.232, allocations: 1.188 MB / 0.6163 GB, free: 23.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/1.253, allocations: 10.13 MB / 0.6262 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0652/1.319, allocations: 36.48 MB / 0.6618 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/1.33, allocations: 4.227 MB / 0.6659 GB, free: 3.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004292/1.334, allocations: 2.092 MB / 0.668 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/1.336, allocations: 1.319 MB / 0.6692 GB, free: 100 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.336, allocations: 52.56 kB / 0.6693 GB, free: 36 kB / 474.7 MB Notification: Performance of pre-optimization done (n=235): time 6.954e-06/1.336, allocations: 0 / 0.6693 GB, free: 36 kB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.04634/1.382, allocations: 10.95 MB / 0.68 GB, free: 5.074 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.382, allocations: 73.41 kB / 0.6801 GB, free: 4.992 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004996/1.387, allocations: 2.448 MB / 0.6824 GB, free: 2.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004165/1.388, allocations: 57.7 kB / 0.6825 GB, free: 2.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/1.391, allocations: 2.864 MB / 0.6853 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.392, allocations: 0.9365 MB / 0.6862 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004554/1.392, allocations: 112 kB / 0.6863 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005802/1.393, allocations: 0.5498 MB / 0.6869 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/1.398, allocations: 2.233 MB / 0.689 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00816/1.406, allocations: 5.272 MB / 0.6942 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007461/1.414, allocations: 3.5 MB / 0.6976 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.14e-05/1.414, allocations: 32 kB / 0.6976 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02129/1.435, allocations: 7.971 MB / 0.7054 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.435, allocations: 52 kB / 0.7055 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/1.435, allocations: 108 kB / 0.7056 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/1.44, allocations: 1.056 MB / 0.7066 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005955/1.446, allocations: 1.291 MB / 0.7079 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/1.45, allocations: 2.455 MB / 0.7103 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.455, allocations: 307.6 kB / 0.7106 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.456, allocations: 332 kB / 0.7109 GB, free: 3.66 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.001176/1.457, allocations: 0.512 MB / 0.7114 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/1.458, allocations: 280.3 kB / 0.7116 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3459/1.804, allocations: 4.913 MB / 0.7164 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-05/1.804, allocations: 46.64 kB / 0.7165 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.804, allocations: 1.594 kB / 0.7165 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/1.804, allocations: 11.53 kB / 0.7165 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02601/1.83, allocations: 11.32 MB / 0.7275 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/1.83, allocations: 11.3 kB / 0.7276 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002578/1.832, allocations: 411.7 kB / 0.728 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/1.836, allocations: 0.9019 MB / 0.7288 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004874/1.837, allocations: 61.38 kB / 0.7289 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/1.84, allocations: 2.263 MB / 0.7311 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.84, allocations: 15.53 kB / 0.7311 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.855, allocations: 7.932 MB / 0.7389 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/1.856, allocations: 327.3 kB / 0.7392 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/1.856, allocations: 44.06 kB / 0.7392 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.858, allocations: 138.3 kB / 0.7393 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004149/1.859, allocations: 155 kB / 0.7395 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.859, allocations: 72.38 kB / 0.7396 GB, free: 130 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005136/1.864, allocations: 1.652 MB / 0.7412 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.619e-06/1.864, allocations: 3.281 kB / 0.7412 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009998/1.874, allocations: 0.9839 MB / 0.7421 GB, free: 129.8 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.001081/1.875, allocations: 203.2 kB / 0.7423 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01927/1.895, allocations: 5.777 MB / 0.748 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.895, allocations: 0 / 0.748 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009024/1.904, allocations: 2.499 MB / 0.7504 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.908, allocations: 406 kB / 0.7508 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0313/1.939, allocations: 9.075 MB / 0.7597 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009754/1.949, allocations: 3.518 MB / 0.7631 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01075/1.96, allocations: 2.048 MB / 0.7651 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/1.962, allocations: 233.2 kB / 0.7653 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.624e-06/1.962, allocations: 0 / 0.7653 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.08227/2.044, allocations: 30.59 MB / 0.7952 GB, free: 101.7 MB / 0.5105 GB