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.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.273e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3274, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.4916, allocations: 104.5 MB / 486.7 MB, free: 4.012 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4919, allocations: 83.95 kB / 486.8 MB, free: 3.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6203/1.112, allocations: 95.59 MB / 0.5687 GB, free: 107.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.53e-06/1.112, allocations: 0 / 0.5687 GB, free: 107.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000179/1.112, allocations: 84 kB / 0.5688 GB, free: 107.1 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01628/1.129, allocations: 4.511 MB / 0.5732 GB, free: 102.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.129, allocations: 12.03 kB / 0.5732 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/1.147, allocations: 3.604 MB / 0.5767 GB, free: 98.94 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/1.161, allocations: 4.816 MB / 0.5814 GB, free: 94.12 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/1.161, allocations: 360.9 kB / 0.5818 GB, free: 93.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/1.164, allocations: 478.5 kB / 0.5822 GB, free: 93.37 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02542/1.189, allocations: 11.33 MB / 0.5933 GB, free: 81.67 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/1.189, allocations: 31.72 kB / 0.5933 GB, free: 81.64 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/1.191, allocations: 209 kB / 0.5935 GB, free: 81.47 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/1.193, allocations: 1.247 MB / 0.5948 GB, free: 80.23 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/1.217, allocations: 10.69 MB / 0.6052 GB, free: 69.53 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06147/1.279, allocations: 38.56 MB / 0.6428 GB, free: 30.25 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009084/1.288, allocations: 4.345 MB / 0.6471 GB, free: 25.67 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/1.291, allocations: 2.135 MB / 0.6492 GB, free: 23.53 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.293, allocations: 1.323 MB / 0.6505 GB, free: 21.99 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.293, allocations: 48.56 kB / 0.6505 GB, free: 21.93 MB / 458.8 MB Notification: Performance of pre-optimization done (n=244): time 7.424e-06/1.293, allocations: 4 kB / 0.6505 GB, free: 21.93 MB / 458.8 MB Notification: Performance of matching and sorting (n=265): time 0.03801/1.331, allocations: 10.76 MB / 0.661 GB, free: 11.14 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.331, allocations: 77.36 kB / 0.6611 GB, free: 11.05 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/1.335, allocations: 2.656 MB / 0.6637 GB, free: 8.379 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004047/1.336, allocations: 57.69 kB / 0.6637 GB, free: 8.316 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/1.338, allocations: 3.108 MB / 0.6668 GB, free: 5.164 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.339, allocations: 0.9751 MB / 0.6677 GB, free: 4.176 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/1.339, allocations: 120 kB / 0.6678 GB, free: 4.059 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003747/1.339, allocations: 0.5623 MB / 0.6684 GB, free: 3.488 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/1.344, allocations: 2.327 MB / 0.6707 GB, free: 1.156 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008466/1.352, allocations: 5.566 MB / 0.6761 GB, free: 9.965 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/1.36, allocations: 3.656 MB / 0.6797 GB, free: 6.309 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/1.361, allocations: 32 kB / 0.6797 GB, free: 6.277 MB / 474.8 MB Notification: Performance of matching and sorting (n=796) (initialization): time 0.02327/1.384, allocations: 8.323 MB / 0.6878 GB, free: 13.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.384, allocations: 56 kB / 0.6879 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/1.384, allocations: 112 kB / 0.688 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0047/1.389, allocations: 1.06 MB / 0.689 GB, free: 12.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006586/1.396, allocations: 1.372 MB / 0.6904 GB, free: 11.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/1.4, allocations: 2.474 MB / 0.6928 GB, free: 8.715 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005509/1.405, allocations: 315.8 kB / 0.6931 GB, free: 8.406 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.407, allocations: 352 kB / 0.6934 GB, free: 8.062 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (743): * Single equations (assignments): 734 * 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.001387/1.408, allocations: 0.5382 MB / 0.6939 GB, free: 7.516 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/1.409, allocations: 300.1 kB / 0.6942 GB, free: 7.219 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.422, allocations: 5.037 MB / 0.6992 GB, free: 2.113 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/1.422, allocations: 51.98 kB / 0.6992 GB, free: 2.062 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-05/1.422, allocations: 4 kB / 0.6992 GB, free: 2.059 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-05/1.423, allocations: 15.86 kB / 0.6992 GB, free: 2.043 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.454, allocations: 11.75 MB / 0.7107 GB, free: 6.117 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/1.454, allocations: 7.938 kB / 0.7107 GB, free: 6.109 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.457, allocations: 427.4 kB / 0.7111 GB, free: 5.691 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004313/1.461, allocations: 0.9158 MB / 0.712 GB, free: 4.766 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005463/1.462, allocations: 59.98 kB / 0.7121 GB, free: 4.707 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/1.466, allocations: 2.276 MB / 0.7143 GB, free: 2.297 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/1.466, allocations: 16 kB / 0.7143 GB, free: 2.281 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3111/1.777, allocations: 8.125 MB / 0.7222 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/1.778, allocations: 345.1 kB / 0.7226 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008843/1.779, allocations: 55.31 kB / 0.7226 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.781, allocations: 139.4 kB / 0.7228 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/1.781, allocations: 160.7 kB / 0.7229 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/1.782, allocations: 74.88 kB / 0.723 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003595/1.785, allocations: 1.793 MB / 0.7247 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.199e-06/1.785, allocations: 0 / 0.7247 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006227/1.792, allocations: 1.044 MB / 0.7257 GB, free: 133.7 MB / 0.4949 GB 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.0007137/1.792, allocations: 200.6 kB / 0.7259 GB, free: 133.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.804, allocations: 5.976 MB / 0.7318 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.273e-06/1.804, allocations: 0 / 0.7318 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005593/1.81, allocations: 2.549 MB / 0.7343 GB, free: 133 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/1.813, allocations: 464 kB / 0.7347 GB, free: 133 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.834, allocations: 9.624 MB / 0.7441 GB, free: 131 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006813/1.841, allocations: 3.768 MB / 0.7478 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006789/1.848, allocations: 2.144 MB / 0.7499 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.849, allocations: 248.2 kB / 0.7501 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.669e-06/1.849, allocations: 0 / 0.7501 GB, free: 129.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.09695/1.946, allocations: 33.04 MB / 0.7824 GB, free: 114.1 MB / 0.4949 GB