Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 1.835/1.835, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.396e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08738, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4434, allocations: 91.34 MB / 413.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4437, allocations: 73.44 kB / 413.2 MB, free: 3.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3578/0.8015, allocations: 94.65 MB / 0.4959 GB, free: 12.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.8015, allocations: 0 / 0.4959 GB, free: 12.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002292/0.8018, allocations: 84 kB / 0.496 GB, free: 12.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01811/0.8199, allocations: 4.497 MB / 0.5004 GB, free: 7.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.82, allocations: 12.03 kB / 0.5004 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/0.8403, allocations: 3.597 MB / 0.5039 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.8566, allocations: 4.799 MB / 0.5086 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005582/0.8572, allocations: 357.3 kB / 0.5089 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.8597, allocations: 475.8 kB / 0.5094 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/0.891, allocations: 11.31 MB / 0.5204 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001974/0.8913, allocations: 31.7 kB / 0.5205 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/0.8931, allocations: 207.9 kB / 0.5207 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002434/0.8956, allocations: 1.247 MB / 0.5219 GB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2647/1.16, allocations: 10.67 MB / 0.5323 GB, free: 90.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05994/1.22, allocations: 38.45 MB / 0.5699 GB, free: 74.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008879/1.229, allocations: 4.34 MB / 0.5741 GB, free: 72.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/1.232, allocations: 2.132 MB / 0.5762 GB, free: 72.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.234, allocations: 1.321 MB / 0.5775 GB, free: 70.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.234, allocations: 59.47 kB / 0.5775 GB, free: 70.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.601e-06/1.234, allocations: 0 / 0.5775 GB, free: 70.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.03928/1.273, allocations: 10.77 MB / 0.5881 GB, free: 67.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.273, allocations: 79.11 kB / 0.5881 GB, free: 67.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/1.277, allocations: 2.612 MB / 0.5907 GB, free: 66.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003949/1.278, allocations: 60.42 kB / 0.5907 GB, free: 66.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/1.279, allocations: 3.086 MB / 0.5938 GB, free: 64.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009522/1.28, allocations: 0.9794 MB / 0.5947 GB, free: 63.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/1.281, allocations: 117.1 kB / 0.5948 GB, free: 63.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003442/1.281, allocations: 0.5625 MB / 0.5954 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/1.285, allocations: 2.322 MB / 0.5976 GB, free: 62.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005935/1.291, allocations: 5.551 MB / 0.6031 GB, free: 57.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.297, allocations: 3.647 MB / 0.6066 GB, free: 56.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.114e-05/1.297, allocations: 33.16 kB / 0.6066 GB, free: 56.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01957/1.317, allocations: 8.236 MB / 0.6147 GB, free: 52.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/1.317, allocations: 55.23 kB / 0.6147 GB, free: 52.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.317, allocations: 119.9 kB / 0.6149 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/1.321, allocations: 1.056 MB / 0.6159 GB, free: 51.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005759/1.327, allocations: 1.368 MB / 0.6172 GB, free: 50.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/1.33, allocations: 2.472 MB / 0.6196 GB, free: 47.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/1.335, allocations: 315.6 kB / 0.6199 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000758/1.336, allocations: 346.5 kB / 0.6203 GB, free: 47.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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.0009618/1.337, allocations: 0.5304 MB / 0.6208 GB, free: 46.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/1.337, allocations: 304 kB / 0.6211 GB, free: 46.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.348, allocations: 5.035 MB / 0.626 GB, free: 42.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.947e-05/1.348, allocations: 46.11 kB / 0.626 GB, free: 42.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.348, allocations: 4 kB / 0.626 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-05/1.348, allocations: 14.16 kB / 0.6261 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.372, allocations: 11.74 MB / 0.6375 GB, free: 32.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/1.372, allocations: 8 kB / 0.6375 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.375, allocations: 429.8 kB / 0.6379 GB, free: 32.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/1.378, allocations: 0.9088 MB / 0.6388 GB, free: 31.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000486/1.379, allocations: 57.14 kB / 0.6389 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/1.381, allocations: 2.271 MB / 0.6411 GB, free: 29.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.301e-06/1.381, allocations: 16 kB / 0.6411 GB, free: 29.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.395, allocations: 8.125 MB / 0.649 GB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/1.396, allocations: 352.1 kB / 0.6494 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005963/1.396, allocations: 48 kB / 0.6494 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.398, allocations: 142 kB / 0.6496 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/1.398, allocations: 156.9 kB / 0.6497 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/1.399, allocations: 78.8 kB / 0.6498 GB, free: 21.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003301/1.402, allocations: 1.777 MB / 0.6515 GB, free: 19.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.053e-06/1.402, allocations: 0 / 0.6515 GB, free: 19.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005704/1.408, allocations: 1.044 MB / 0.6525 GB, free: 18.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.0005263/1.408, allocations: 198.1 kB / 0.6527 GB, free: 18.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01167/1.42, allocations: 5.966 MB / 0.6586 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.42, allocations: 0 / 0.6586 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005168/1.425, allocations: 2.555 MB / 0.6611 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.428, allocations: 459.8 kB / 0.6615 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.449, allocations: 10.14 MB / 0.6714 GB, free: 388 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007978/1.457, allocations: 3.753 MB / 0.6751 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.459, allocations: 303.4 kB / 0.6754 GB, free: 12.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.011e-06/1.459, allocations: 0 / 0.6754 GB, free: 12.32 MB / 442.7 MB Notification: Performance of Templates: time 0.4012/1.86, allocations: 119.1 MB / 0.7916 GB, free: 45.05 MB / 442.7 MB