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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.407e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3709, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.5224, allocations: 98.07 MB / 457.8 MB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5227, allocations: 79.95 kB / 457.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6088/1.132, allocations: 94.64 MB / 0.5396 GB, free: 105.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.979e-06/1.132, allocations: 0 / 0.5396 GB, free: 105.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002174/1.132, allocations: 87.03 kB / 0.5397 GB, free: 105.6 MB / 458.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.01752/1.149, allocations: 4.487 MB / 0.5441 GB, free: 103.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.149, allocations: 12.94 kB / 0.5441 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/1.169, allocations: 3.592 MB / 0.5476 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/1.183, allocations: 4.816 MB / 0.5523 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/1.183, allocations: 354.7 kB / 0.5526 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002138/1.186, allocations: 474.1 kB / 0.5531 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/1.214, allocations: 11.32 MB / 0.5641 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/1.214, allocations: 28.91 kB / 0.5642 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/1.216, allocations: 209.2 kB / 0.5644 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/1.218, allocations: 1.245 MB / 0.5656 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/1.241, allocations: 10.68 MB / 0.576 GB, free: 98.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08198/1.323, allocations: 38.46 MB / 0.6136 GB, free: 70.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02092/1.344, allocations: 4.332 MB / 0.6178 GB, free: 66.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007977/1.352, allocations: 2.132 MB / 0.6199 GB, free: 64.63 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002569/1.355, allocations: 1.32 MB / 0.6212 GB, free: 63.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.664e-05/1.355, allocations: 56.56 kB / 0.6212 GB, free: 63.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 1.429e-05/1.355, allocations: 0 / 0.6212 GB, free: 63.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.0453/1.401, allocations: 10.77 MB / 0.6317 GB, free: 53.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.401, allocations: 73.41 kB / 0.6318 GB, free: 53.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004556/1.405, allocations: 2.623 MB / 0.6344 GB, free: 51.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004072/1.406, allocations: 57.7 kB / 0.6344 GB, free: 50.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.407, allocations: 3.091 MB / 0.6374 GB, free: 47.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.409, allocations: 0.9716 MB / 0.6384 GB, free: 46.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.409, allocations: 116 kB / 0.6385 GB, free: 46.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003653/1.409, allocations: 0.5708 MB / 0.6391 GB, free: 46.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/1.414, allocations: 2.32 MB / 0.6413 GB, free: 43.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/1.42, allocations: 5.548 MB / 0.6467 GB, free: 36.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006267/1.426, allocations: 3.644 MB / 0.6503 GB, free: 33.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-05/1.426, allocations: 32 kB / 0.6503 GB, free: 33.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01884/1.445, allocations: 8.237 MB / 0.6584 GB, free: 24.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.042e-05/1.445, allocations: 56 kB / 0.6584 GB, free: 24.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.445, allocations: 112.9 kB / 0.6585 GB, free: 24.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/1.449, allocations: 1.064 MB / 0.6596 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005665/1.455, allocations: 1.365 MB / 0.6609 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/1.458, allocations: 2.478 MB / 0.6633 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.463, allocations: 318.9 kB / 0.6636 GB, free: 19.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.464, allocations: 348 kB / 0.664 GB, free: 18.96 MB / 458.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.001035/1.465, allocations: 0.5431 MB / 0.6645 GB, free: 18.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/1.466, allocations: 296.1 kB / 0.6648 GB, free: 18.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.476, allocations: 5.037 MB / 0.6697 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.565e-05/1.477, allocations: 51.08 kB / 0.6697 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.477, allocations: 0 / 0.6697 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-05/1.477, allocations: 11.95 kB / 0.6698 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.501, allocations: 11.75 MB / 0.6812 GB, free: 1.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-05/1.502, allocations: 8 kB / 0.6812 GB, free: 1.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.504, allocations: 423.4 kB / 0.6816 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/1.508, allocations: 0.9111 MB / 0.6825 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004925/1.508, allocations: 67.64 kB / 0.6826 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/1.512, allocations: 2.256 MB / 0.6848 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.512, allocations: 11.94 kB / 0.6848 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.529, allocations: 8.129 MB / 0.6927 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/1.53, allocations: 341.1 kB / 0.6931 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007202/1.531, allocations: 63.23 kB / 0.6931 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/1.533, allocations: 139.8 kB / 0.6933 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/1.533, allocations: 157.6 kB / 0.6934 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/1.534, allocations: 75.98 kB / 0.6935 GB, free: 3.941 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003994/1.538, allocations: 1.777 MB / 0.6952 GB, free: 2.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.013e-06/1.538, allocations: 0 / 0.6952 GB, free: 2.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0064/1.544, allocations: 1.046 MB / 0.6962 GB, free: 1.117 MB / 474.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.0007386/1.545, allocations: 206.3 kB / 0.6964 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2743/1.819, allocations: 5.957 MB / 0.7023 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.044e-06/1.819, allocations: 3.406 kB / 0.7023 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005903/1.825, allocations: 2.546 MB / 0.7047 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/1.828, allocations: 460.1 kB / 0.7052 GB, free: 110.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/1.853, allocations: 10.14 MB / 0.7151 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007066/1.86, allocations: 3.767 MB / 0.7188 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/1.861, allocations: 295.4 kB / 0.719 GB, free: 107.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.784e-06/1.861, allocations: 3.188 kB / 0.7191 GB, free: 107.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1549/2.016, allocations: 119.1 MB / 0.8353 GB, free: 27.14 MB / 474.7 MB