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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.647e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5484, allocations: 105.5 MB / 0.5036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.5487, allocations: 76.58 kB / 0.5037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3715/0.9202, allocations: 94.39 MB / 0.5959 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.576e-06/0.9202, allocations: 0 / 0.5959 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002219/0.9205, allocations: 87.94 kB / 0.596 GB, free: 15.39 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01755/0.938, allocations: 4.411 MB / 0.6003 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.9381, allocations: 12.03 kB / 0.6003 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/0.9578, allocations: 3.57 MB / 0.6038 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.9734, allocations: 4.635 MB / 0.6083 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005471/0.974, allocations: 345 kB / 0.6086 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.9764, allocations: 463.8 kB / 0.6091 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3198/1.296, allocations: 11.03 MB / 0.6199 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/1.296, allocations: 23.08 kB / 0.6199 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/1.298, allocations: 206.8 kB / 0.6201 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/1.3, allocations: 1.204 MB / 0.6213 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02603/1.326, allocations: 10.4 MB / 0.6314 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/1.387, allocations: 37.6 MB / 0.6681 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/1.404, allocations: 4.223 MB / 0.6723 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/1.408, allocations: 2.1 MB / 0.6743 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.409, allocations: 1.318 MB / 0.6756 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.409, allocations: 52.94 kB / 0.6757 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 8.182e-06/1.409, allocations: 0 / 0.6757 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.03881/1.448, allocations: 10.57 MB / 0.686 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.448, allocations: 77.34 kB / 0.6861 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00465/1.453, allocations: 2.566 MB / 0.6886 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/1.453, allocations: 61.39 kB / 0.6886 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/1.455, allocations: 3.033 MB / 0.6916 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.456, allocations: 0.9413 MB / 0.6925 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004918/1.457, allocations: 114.6 kB / 0.6926 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003853/1.457, allocations: 0.5544 MB / 0.6931 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/1.462, allocations: 2.268 MB / 0.6954 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/1.468, allocations: 5.437 MB / 0.7007 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006584/1.474, allocations: 3.572 MB / 0.7042 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/1.475, allocations: 35.59 kB / 0.7042 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01928/1.494, allocations: 8.136 MB / 0.7121 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/1.494, allocations: 58.66 kB / 0.7122 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.494, allocations: 116.8 kB / 0.7123 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/1.498, allocations: 1.058 MB / 0.7133 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005624/1.504, allocations: 1.328 MB / 0.7146 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/1.507, allocations: 2.475 MB / 0.7171 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/1.512, allocations: 309 kB / 0.7173 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.513, allocations: 340.6 kB / 0.7177 GB, free: 72.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,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 (721): * Single equations (assignments): 712 * 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.00126/1.515, allocations: 0.5266 MB / 0.7182 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/1.515, allocations: 296.2 kB / 0.7185 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.526, allocations: 4.921 MB / 0.7233 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.163e-05/1.526, allocations: 49.12 kB / 0.7233 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.526, allocations: 0 / 0.7233 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.796e-05/1.526, allocations: 11.72 kB / 0.7233 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/1.551, allocations: 11.51 MB / 0.7346 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.551, allocations: 8 kB / 0.7346 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.554, allocations: 410.7 kB / 0.735 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003854/1.557, allocations: 0.9051 MB / 0.7359 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004527/1.558, allocations: 55.38 kB / 0.7359 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/1.561, allocations: 2.274 MB / 0.7381 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/1.561, allocations: 11.94 kB / 0.7381 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.575, allocations: 7.978 MB / 0.7459 GB, free: 47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/1.575, allocations: 332.5 kB / 0.7462 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008509/1.576, allocations: 55.8 kB / 0.7463 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.578, allocations: 130.5 kB / 0.7464 GB, free: 46.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/1.579, allocations: 156 kB / 0.7466 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/1.579, allocations: 74.8 kB / 0.7466 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003672/1.583, allocations: 1.735 MB / 0.7483 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.15e-06/1.583, allocations: 0 / 0.7483 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007136/1.59, allocations: 1.025 MB / 0.7493 GB, free: 43.82 MB / 0.5105 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 (206): * Single equations (assignments): 197 * 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.001367/1.592, allocations: 203.9 kB / 0.7495 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02203/1.614, allocations: 5.843 MB / 0.7552 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/1.614, allocations: 0 / 0.7552 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.624, allocations: 2.501 MB / 0.7577 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/1.629, allocations: 471.3 kB / 0.7581 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03616/1.665, allocations: 9.368 MB / 0.7673 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01161/1.677, allocations: 3.676 MB / 0.7709 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00669/1.684, allocations: 2.096 MB / 0.7729 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.685, allocations: 243.4 kB / 0.7732 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.853e-06/1.685, allocations: 0 / 0.7732 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.09156/1.777, allocations: 32.36 MB / 0.8048 GB, free: 5.18 MB / 0.5261 GB