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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 1.881/1.881, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.193e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.0869, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4432, allocations: 91.34 MB / 413.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.4434, allocations: 76.86 kB / 413.2 MB, free: 3.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3587/0.8022, allocations: 94.65 MB / 0.4959 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.607e-06/0.8022, allocations: 0 / 0.4959 GB, free: 12.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002382/0.8025, allocations: 84 kB / 0.496 GB, free: 12.05 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.0184/0.8209, allocations: 4.493 MB / 0.5004 GB, free: 7.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.821, allocations: 8.031 kB / 0.5004 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02037/0.8413, allocations: 3.597 MB / 0.5039 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/0.8579, allocations: 4.811 MB / 0.5086 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005666/0.8585, allocations: 365.2 kB / 0.509 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/0.8611, allocations: 463.9 kB / 0.5094 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03251/0.8936, allocations: 11.32 MB / 0.5205 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002285/0.8939, allocations: 27.75 kB / 0.5205 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/0.8961, allocations: 215.8 kB / 0.5207 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002618/0.8987, allocations: 1.244 MB / 0.5219 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2666/1.165, allocations: 10.67 MB / 0.5323 GB, free: 90.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06404/1.229, allocations: 38.45 MB / 0.5699 GB, free: 74.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009704/1.239, allocations: 4.342 MB / 0.5741 GB, free: 72.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/1.243, allocations: 2.128 MB / 0.5762 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.244, allocations: 1.32 MB / 0.5775 GB, free: 70.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.244, allocations: 54.31 kB / 0.5776 GB, free: 70.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.515e-06/1.244, allocations: 0 / 0.5776 GB, free: 70.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.04196/1.286, allocations: 10.77 MB / 0.5881 GB, free: 67.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.287, allocations: 77.47 kB / 0.5882 GB, free: 67.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/1.292, allocations: 2.608 MB / 0.5907 GB, free: 66.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/1.292, allocations: 61.17 kB / 0.5908 GB, free: 66.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.294, allocations: 3.107 MB / 0.5938 GB, free: 64.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.296, allocations: 0.9744 MB / 0.5947 GB, free: 63.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/1.296, allocations: 117.1 kB / 0.5949 GB, free: 63.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000407/1.297, allocations: 0.5632 MB / 0.5954 GB, free: 63.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004836/1.301, allocations: 2.316 MB / 0.5977 GB, free: 62.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006621/1.308, allocations: 5.548 MB / 0.6031 GB, free: 57.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006937/1.315, allocations: 3.646 MB / 0.6066 GB, free: 56.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.261e-05/1.315, allocations: 37.38 kB / 0.6067 GB, free: 56.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01994/1.335, allocations: 8.307 MB / 0.6148 GB, free: 51.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/1.335, allocations: 52 kB / 0.6148 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.335, allocations: 120 kB / 0.615 GB, free: 51.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/1.34, allocations: 1.053 MB / 0.616 GB, free: 50.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005818/1.345, allocations: 1.373 MB / 0.6173 GB, free: 49.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/1.348, allocations: 2.471 MB / 0.6197 GB, free: 47.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/1.354, allocations: 321.7 kB / 0.62 GB, free: 46.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.355, allocations: 342.8 kB / 0.6204 GB, free: 46.6 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.001185/1.356, allocations: 0.539 MB / 0.6209 GB, free: 46.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/1.357, allocations: 300.1 kB / 0.6212 GB, free: 45.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.368, allocations: 5.034 MB / 0.6261 GB, free: 41.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/1.368, allocations: 47.09 kB / 0.6261 GB, free: 41.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.368, allocations: 7.125 kB / 0.6262 GB, free: 41.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.915e-05/1.368, allocations: 11.34 kB / 0.6262 GB, free: 41.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/1.393, allocations: 11.74 MB / 0.6376 GB, free: 31.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/1.393, allocations: 11.88 kB / 0.6376 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.396, allocations: 424.9 kB / 0.6381 GB, free: 31.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.399, allocations: 0.9131 MB / 0.6389 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/1.4, allocations: 62.2 kB / 0.639 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/1.402, allocations: 2.258 MB / 0.6412 GB, free: 28.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.038e-06/1.403, allocations: 11.94 kB / 0.6412 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.416, allocations: 8.134 MB / 0.6492 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007797/1.417, allocations: 344.6 kB / 0.6495 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/1.418, allocations: 48.55 kB / 0.6495 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.419, allocations: 144.1 kB / 0.6497 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/1.42, allocations: 156.6 kB / 0.6498 GB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.42, allocations: 80.59 kB / 0.6499 GB, free: 20.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002995/1.423, allocations: 1.775 MB / 0.6516 GB, free: 18.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.423, allocations: 0 / 0.6516 GB, free: 18.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005629/1.429, allocations: 1.041 MB / 0.6526 GB, free: 17.84 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.0005373/1.429, allocations: 205.8 kB / 0.6528 GB, free: 17.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.44, allocations: 5.956 MB / 0.6587 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.44, allocations: 4.5 kB / 0.6587 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005003/1.445, allocations: 2.548 MB / 0.6612 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.448, allocations: 451.6 kB / 0.6616 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.467, allocations: 9.622 MB / 0.671 GB, free: 372 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006909/1.474, allocations: 3.75 MB / 0.6746 GB, free: 12.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007132/1.481, allocations: 2.137 MB / 0.6767 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.483, allocations: 251.4 kB / 0.677 GB, free: 10.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.759e-06/1.483, allocations: 0 / 0.677 GB, free: 10.23 MB / 442.7 MB Notification: Performance of Templates: time 0.344/1.827, allocations: 32.9 MB / 0.7091 GB, free: 92.84 MB / 442.7 MB