Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 1.859/1.859, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.056e-05, allocations: 4 kB / 273.1 MB, free: 244 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08715, allocations: 48.69 MB / 321.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4625, allocations: 91.17 MB / 412.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4628, allocations: 67.97 kB / 413 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3608/0.8236, allocations: 90.6 MB / 0.4918 GB, free: 3.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.479e-06/0.8236, allocations: 0 / 0.4918 GB, free: 3.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002893/0.8239, allocations: 76 kB / 0.4919 GB, free: 3.059 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.2889/1.113, allocations: 4.258 MB / 0.496 GB, free: 96.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.113, allocations: 10.19 kB / 0.4961 GB, free: 96.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02029/1.133, allocations: 3.558 MB / 0.4995 GB, free: 96.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.148, allocations: 4.668 MB / 0.5041 GB, free: 96.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/1.149, allocations: 328.6 kB / 0.5044 GB, free: 96.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/1.151, allocations: 437.2 kB / 0.5048 GB, free: 96.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02863/1.18, allocations: 10.9 MB / 0.5155 GB, free: 95.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/1.18, allocations: 31.64 kB / 0.5155 GB, free: 95.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/1.182, allocations: 198.8 kB / 0.5157 GB, free: 95.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/1.184, allocations: 1.233 MB / 0.5169 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/1.207, allocations: 10.4 MB / 0.527 GB, free: 95.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05732/1.264, allocations: 37.34 MB / 0.5635 GB, free: 73.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00906/1.273, allocations: 4.336 MB / 0.5677 GB, free: 71.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/1.277, allocations: 2.131 MB / 0.5698 GB, free: 70.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.278, allocations: 1.319 MB / 0.5711 GB, free: 69.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.278, allocations: 51.94 kB / 0.5712 GB, free: 69.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.086e-06/1.278, allocations: 0 / 0.5712 GB, free: 69.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.04237/1.32, allocations: 11.16 MB / 0.582 GB, free: 63.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/1.32, allocations: 79.7 kB / 0.5821 GB, free: 63.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/1.325, allocations: 2.486 MB / 0.5845 GB, free: 60.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004101/1.325, allocations: 61.7 kB / 0.5846 GB, free: 60.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/1.327, allocations: 2.925 MB / 0.5875 GB, free: 58.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.328, allocations: 0.9699 MB / 0.5884 GB, free: 57.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/1.328, allocations: 116 kB / 0.5885 GB, free: 57.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003843/1.329, allocations: 0.5532 MB / 0.5891 GB, free: 56.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/1.333, allocations: 2.284 MB / 0.5913 GB, free: 54.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/1.339, allocations: 5.386 MB / 0.5966 GB, free: 48.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/1.345, allocations: 3.575 MB / 0.6 GB, free: 45.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.089e-05/1.345, allocations: 32 kB / 0.6001 GB, free: 45.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01861/1.364, allocations: 8.134 MB / 0.608 GB, free: 38.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/1.364, allocations: 52 kB / 0.6081 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/1.364, allocations: 115.3 kB / 0.6082 GB, free: 37.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004091/1.368, allocations: 1.054 MB / 0.6092 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005695/1.374, allocations: 1.331 MB / 0.6105 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/1.377, allocations: 2.459 MB / 0.6129 GB, free: 33.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/1.382, allocations: 327.6 kB / 0.6132 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.383, allocations: 330.5 kB / 0.6135 GB, free: 33.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * Number of states: 0 () * Number of discrete variables: 21 (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 (719): * Single equations (assignments): 710 * 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.0009883/1.384, allocations: 0.5228 MB / 0.614 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005604/1.385, allocations: 284.2 kB / 0.6143 GB, free: 32.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/1.402, allocations: 5.024 MB / 0.6192 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-05/1.403, allocations: 47.8 kB / 0.6193 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.403, allocations: 0 / 0.6193 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/1.403, allocations: 10.88 kB / 0.6193 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.427, allocations: 11.55 MB / 0.6306 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/1.427, allocations: 8 kB / 0.6306 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.429, allocations: 435.3 kB / 0.631 GB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003758/1.433, allocations: 0.9035 MB / 0.6319 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004997/1.434, allocations: 63.88 kB / 0.6319 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/1.436, allocations: 2.279 MB / 0.6341 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.436, allocations: 8 kB / 0.6342 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.45, allocations: 8.083 MB / 0.642 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/1.451, allocations: 337.3 kB / 0.6424 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005974/1.451, allocations: 47.91 kB / 0.6424 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.453, allocations: 147.8 kB / 0.6426 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/1.453, allocations: 157.6 kB / 0.6427 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.454, allocations: 75.98 kB / 0.6428 GB, free: 3.559 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002831/1.457, allocations: 1.686 MB / 0.6444 GB, free: 1.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.83e-07/1.457, allocations: 0 / 0.6444 GB, free: 1.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005506/1.462, allocations: 1.007 MB / 0.6454 GB, free: 0.8672 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.0005503/1.463, allocations: 195.9 kB / 0.6456 GB, free: 0.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/1.476, allocations: 5.898 MB / 0.6514 GB, free: 10.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.476, allocations: 4 kB / 0.6514 GB, free: 10.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005963/1.482, allocations: 2.546 MB / 0.6538 GB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.484, allocations: 394.1 kB / 0.6542 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2631/1.747, allocations: 9.277 MB / 0.6633 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007585/1.755, allocations: 3.592 MB / 0.6668 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00729/1.762, allocations: 2.084 MB / 0.6688 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.764, allocations: 241.1 kB / 0.6691 GB, free: 101.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/1.764, allocations: 1.125 kB / 0.6691 GB, free: 101.1 MB / 442.7 MB Notification: Performance of Templates: time 0.08331/1.847, allocations: 31.14 MB / 0.6995 GB, free: 99.84 MB / 442.7 MB