Running command: translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.402e-05, allocations: 3.984 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3666, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5379, allocations: 96.48 MB / 456.3 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5382, allocations: 71.95 kB / 456.3 MB, free: 372 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9573/1.496, allocations: 196.7 MB / 0.6377 GB, free: 51.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.496, allocations: 3.938 kB / 0.6377 GB, free: 51.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003889/1.496, allocations: 160 kB / 0.6379 GB, free: 50.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.04321/1.539, allocations: 9.567 MB / 0.6472 GB, free: 41.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.539, allocations: 8.031 kB / 0.6472 GB, free: 41.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06217/1.601, allocations: 12.04 MB / 0.659 GB, free: 29.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03155/1.633, allocations: 11.9 MB / 0.6706 GB, free: 17.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000682/1.634, allocations: 0.6255 MB / 0.6712 GB, free: 16.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004096/1.638, allocations: 0.8393 MB / 0.672 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05756/1.695, allocations: 21.43 MB / 0.693 GB, free: 9.316 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/1.696, allocations: 83.25 kB / 0.693 GB, free: 9.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0026/1.699, allocations: 383.7 kB / 0.6934 GB, free: 8.859 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004808/1.703, allocations: 2.466 MB / 0.6958 GB, free: 6.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7071/2.41, allocations: 20.63 MB / 0.716 GB, free: 74.14 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1511/2.562, allocations: 80.96 MB / 0.795 GB, free: 35.23 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02303/2.585, allocations: 9.645 MB / 0.8044 GB, free: 31.02 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01065/2.595, allocations: 6.359 MB / 0.8107 GB, free: 28.44 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/2.596, allocations: 76.89 kB / 0.8107 GB, free: 28.43 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/2.596, allocations: 90.34 kB / 0.8108 GB, free: 28.36 MB / 474.8 MB Notification: Performance of pre-optimization done (n=583): time 1.215e-05/2.596, allocations: 0 / 0.8108 GB, free: 28.36 MB / 474.8 MB Notification: Performance of matching and sorting (n=611): time 0.08844/2.684, allocations: 34.86 MB / 0.8449 GB, free: 4.449 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004485/2.689, allocations: 6.126 MB / 0.8508 GB, free: 13.94 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/2.7, allocations: 5.658 MB / 0.8564 GB, free: 9.086 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/2.701, allocations: 108.8 kB / 0.8565 GB, free: 8.977 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005848/2.707, allocations: 5.837 MB / 0.8622 GB, free: 3.797 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003552/2.711, allocations: 2.247 MB / 0.8644 GB, free: 1.805 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/2.712, allocations: 239.2 kB / 0.8646 GB, free: 1.574 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001026/2.713, allocations: 0.8456 MB / 0.8654 GB, free: 0.8711 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04754/2.761, allocations: 8.193 MB / 0.8734 GB, free: 0 / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02029/2.781, allocations: 12.38 MB / 0.8855 GB, free: 1.516 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.377/3.158, allocations: 8.904 MB / 0.8942 GB, free: 95.92 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/3.158, allocations: 61.91 kB / 0.8943 GB, free: 95.92 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.1254/3.284, allocations: 20.98 MB / 0.9147 GB, free: 95.28 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/3.284, allocations: 97.69 kB / 0.9148 GB, free: 95.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05339/3.337, allocations: 13.22 MB / 0.9277 GB, free: 94.92 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01751/3.355, allocations: 3.563 MB / 0.9312 GB, free: 94.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01339/3.368, allocations: 2.92 MB / 0.9341 GB, free: 94.58 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/3.382, allocations: 12.15 MB / 0.9459 GB, free: 86.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01284/3.395, allocations: 1.103 MB / 0.947 GB, free: 86.71 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/3.398, allocations: 0.6722 MB / 0.9477 GB, free: 86.71 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1489): * Single equations (assignments): 1455 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002542/3.4, allocations: 0.9615 MB / 0.9486 GB, free: 86.38 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/3.402, allocations: 0.6491 MB / 0.9492 GB, free: 86.38 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03738/3.439, allocations: 14.56 MB / 0.9635 GB, free: 81.83 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03721/3.477, allocations: 13.02 MB / 0.9762 GB, free: 78.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.337e-05/3.477, allocations: 7.281 kB / 0.9762 GB, free: 78.04 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.672e-05/3.477, allocations: 25.92 kB / 0.9762 GB, free: 78.04 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07079/3.548, allocations: 33.31 MB / 1.009 GB, free: 51.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.447e-05/3.548, allocations: 20.19 kB / 1.009 GB, free: 51.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00709/3.555, allocations: 1.138 MB / 1.01 GB, free: 50.93 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/3.57, allocations: 3.606 MB / 1.013 GB, free: 48.59 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001278/3.571, allocations: 146 kB / 1.014 GB, free: 48.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/3.586, allocations: 13.61 MB / 1.027 GB, free: 35.76 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00353/3.59, allocations: 5.882 MB / 1.033 GB, free: 29.58 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04294/3.633, allocations: 23.58 MB / 1.056 GB, free: 6.48 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/3.635, allocations: 0.6855 MB / 1.056 GB, free: 5.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/3.636, allocations: 132 kB / 1.056 GB, free: 5.641 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006114/3.642, allocations: 0.5948 MB / 1.057 GB, free: 5.047 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/3.644, allocations: 376.5 kB / 1.057 GB, free: 4.68 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006725/3.645, allocations: 160.7 kB / 1.057 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007781/3.653, allocations: 3.917 MB / 1.061 GB, free: 0.6133 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.224e-06/3.653, allocations: 0 / 1.061 GB, free: 0.6133 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01359/3.666, allocations: 2.531 MB / 1.064 GB, free: 14.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (475): * Single equations (assignments): 449 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/3.668, allocations: 314.1 kB / 1.064 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3253/3.993, allocations: 16.33 MB / 1.08 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/3.993, allocations: 2 kB / 1.08 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01798/4.011, allocations: 8.069 MB / 1.088 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006241/4.017, allocations: 0.8702 MB / 1.089 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05199/4.069, allocations: 23.29 MB / 1.112 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/4.085, allocations: 6.826 MB / 1.118 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01651/4.102, allocations: 4.799 MB / 1.123 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003509/4.105, allocations: 0.5059 MB / 1.123 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.369e-06/4.105, allocations: 0 / 1.123 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.2176/4.323, allocations: 85.74 MB / 1.207 GB, free: 57.37 MB / 0.5105 GB