Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.09/2.09, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.165e-05, allocations: 0 / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 48.7 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.5271, allocations: 94.89 MB / 416.6 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5273, allocations: 74.02 kB / 416.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.387/0.9144, allocations: 97.48 MB / 0.5021 GB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.46e-06/0.9144, allocations: 0 / 0.5021 GB, free: 6.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002457/0.9147, allocations: 99.88 kB / 0.5022 GB, free: 6.121 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01931/0.934, allocations: 4.636 MB / 0.5068 GB, free: 1.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.9341, allocations: 8.031 kB / 0.5068 GB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/0.9553, allocations: 3.624 MB / 0.5103 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/0.9723, allocations: 4.897 MB / 0.5151 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006101/0.973, allocations: 377.8 kB / 0.5154 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/0.9756, allocations: 491.8 kB / 0.5159 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2778/1.253, allocations: 12.04 MB / 0.5277 GB, free: 85.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000267/1.254, allocations: 28.66 kB / 0.5277 GB, free: 85.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002244/1.256, allocations: 228 kB / 0.5279 GB, free: 85.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00283/1.259, allocations: 1.316 MB / 0.5292 GB, free: 85.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.289, allocations: 11.21 MB / 0.5402 GB, free: 85.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06956/1.359, allocations: 41.89 MB / 0.5811 GB, free: 66.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/1.371, allocations: 4.902 MB / 0.5858 GB, free: 63.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004326/1.376, allocations: 2.352 MB / 0.5881 GB, free: 62.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/1.389, allocations: 6.548 MB / 0.5945 GB, free: 59.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.389, allocations: 52.16 kB / 0.5946 GB, free: 59.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 6.91e-06/1.389, allocations: 0 / 0.5946 GB, free: 59.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.04569/1.435, allocations: 13.6 MB / 0.6079 GB, free: 55.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/1.435, allocations: 75.53 kB / 0.6079 GB, free: 55.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00587/1.441, allocations: 2.812 MB / 0.6107 GB, free: 54.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004457/1.441, allocations: 60.84 kB / 0.6107 GB, free: 54.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.443, allocations: 3.269 MB / 0.6139 GB, free: 51.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.444, allocations: 0.8908 MB / 0.6148 GB, free: 50.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006404/1.445, allocations: 117 kB / 0.6149 GB, free: 50.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004735/1.446, allocations: 0.5674 MB / 0.6155 GB, free: 50.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005076/1.451, allocations: 2.336 MB / 0.6178 GB, free: 49.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006981/1.458, allocations: 5.65 MB / 0.6233 GB, free: 43.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006905/1.465, allocations: 3.677 MB / 0.6269 GB, free: 40.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.465, allocations: 36 kB / 0.6269 GB, free: 40.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02017/1.485, allocations: 8.423 MB / 0.6351 GB, free: 33.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/1.485, allocations: 56 kB / 0.6352 GB, free: 33.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/1.485, allocations: 120 kB / 0.6353 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004486/1.49, allocations: 1.16 MB / 0.6364 GB, free: 32.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006237/1.496, allocations: 1.377 MB / 0.6378 GB, free: 31.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/1.503, allocations: 4.581 MB / 0.6422 GB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.509, allocations: 320.8 kB / 0.6425 GB, free: 26.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.51, allocations: 355.5 kB / 0.6429 GB, free: 26.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (742): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.001439/1.512, allocations: 0.5409 MB / 0.6434 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006428/1.512, allocations: 303.9 kB / 0.6437 GB, free: 25.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009455/1.522, allocations: 4.394 MB / 0.648 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.832e-05/1.522, allocations: 40 kB / 0.648 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.522, allocations: 4 kB / 0.648 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.732e-05/1.522, allocations: 11.16 kB / 0.648 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/1.546, allocations: 10.4 MB / 0.6582 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/1.547, allocations: 6.953 kB / 0.6582 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.549, allocations: 390.2 kB / 0.6586 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.551, allocations: 0.6734 MB / 0.6592 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000472/1.552, allocations: 44.78 kB / 0.6593 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/1.555, allocations: 2.407 MB / 0.6616 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.081e-06/1.555, allocations: 4.062 kB / 0.6616 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.568, allocations: 7.132 MB / 0.6686 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/1.568, allocations: 356.1 kB / 0.6689 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008782/1.569, allocations: 43.84 kB / 0.669 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.572, allocations: 145.2 kB / 0.6691 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/1.572, allocations: 128.4 kB / 0.6692 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.572, allocations: 68.72 kB / 0.6693 GB, free: 3.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004089/1.577, allocations: 1.9 MB / 0.6712 GB, free: 1.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.294e-06/1.577, allocations: 4 kB / 0.6712 GB, free: 1.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006592/1.583, allocations: 1.067 MB / 0.6722 GB, free: 316 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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.0007203/1.584, allocations: 197.9 kB / 0.6724 GB, free: 120 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01321/1.597, allocations: 5.56 MB / 0.6778 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.597, allocations: 4 kB / 0.6778 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005951/1.603, allocations: 2.373 MB / 0.6802 GB, free: 8.156 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.606, allocations: 413.4 kB / 0.6806 GB, free: 7.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2717/1.878, allocations: 9.965 MB / 0.6903 GB, free: 96.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008432/1.886, allocations: 3.838 MB / 0.694 GB, free: 96.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.888, allocations: 287 kB / 0.6943 GB, free: 96.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/1.888, allocations: 0 / 0.6943 GB, free: 96.14 MB / 442.7 MB Notification: Performance of Templates: time 0.1548/2.043, allocations: 111 MB / 0.8027 GB, free: 39.37 MB / 442.7 MB