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_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.312e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5486, allocations: 104.6 MB / 0.5028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.5489, allocations: 77.14 kB / 0.5029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102/1.651, allocations: 199.8 MB / 0.698 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.225e-06/1.651, allocations: 0 / 0.698 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004725/1.651, allocations: 158.5 kB / 0.6982 GB, free: 103.9 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: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.04624/1.697, allocations: 9.567 MB / 0.7075 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.698, allocations: 8.031 kB / 0.7075 GB, free: 97.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06144/1.759, allocations: 12.04 MB / 0.7193 GB, free: 84.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03112/1.79, allocations: 11.3 MB / 0.7303 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007182/1.791, allocations: 0.6221 MB / 0.7309 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004361/1.795, allocations: 0.8399 MB / 0.7318 GB, free: 72.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05465/1.85, allocations: 21.46 MB / 0.7527 GB, free: 50 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004494/1.85, allocations: 79.27 kB / 0.7528 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003639/1.854, allocations: 379.7 kB / 0.7532 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004099/1.858, allocations: 2.47 MB / 0.7556 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04458/1.903, allocations: 20.64 MB / 0.7757 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4712/2.374, allocations: 80.95 MB / 0.8548 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02574/2.4, allocations: 9.645 MB / 0.8642 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01093/2.411, allocations: 6.359 MB / 0.8704 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/2.411, allocations: 76.78 kB / 0.8705 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.66e-05/2.412, allocations: 90.97 kB / 0.8706 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=583): time 1.35e-05/2.412, allocations: 0 / 0.8706 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=611): time 0.09468/2.506, allocations: 34.67 MB / 0.9044 GB, free: 56.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003929/2.51, allocations: 6.115 MB / 0.9104 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01411/2.524, allocations: 5.632 MB / 0.9159 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001493/2.526, allocations: 108.5 kB / 0.916 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006651/2.533, allocations: 5.852 MB / 0.9217 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004452/2.537, allocations: 2.242 MB / 0.9239 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/2.54, allocations: 241 kB / 0.9241 GB, free: 42.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002106/2.542, allocations: 0.8522 MB / 0.925 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02161/2.564, allocations: 6.258 MB / 0.9311 GB, free: 39.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01817/2.582, allocations: 12.4 MB / 0.9432 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/2.599, allocations: 8.919 MB / 0.9519 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002223/2.599, allocations: 58.97 kB / 0.952 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.05242/2.651, allocations: 20.99 MB / 0.9724 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/2.652, allocations: 99.66 kB / 0.9725 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03432/2.686, allocations: 13.22 MB / 0.9855 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02941/2.715, allocations: 3.569 MB / 0.9889 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02833/2.744, allocations: 2.932 MB / 0.9918 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/2.761, allocations: 12.15 MB / 1.004 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/2.775, allocations: 1.115 MB / 1.005 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003089/2.778, allocations: 0.671 MB / 1.005 GB, free: 1.785 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 48 (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.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],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 (1492): * Single equations (assignments): 1458 * 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.004784/2.783, allocations: 0.9651 MB / 1.006 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/2.786, allocations: 0.6478 MB / 1.007 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04421/2.83, allocations: 14.72 MB / 1.021 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4383/3.268, allocations: 13.39 MB / 1.034 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.698e-05/3.268, allocations: 7.562 kB / 1.034 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/3.269, allocations: 29.72 kB / 1.034 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08079/3.349, allocations: 33.28 MB / 1.067 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.26e-05/3.349, allocations: 13.03 kB / 1.067 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007213/3.357, allocations: 1.132 MB / 1.068 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01585/3.373, allocations: 3.606 MB / 1.072 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001347/3.374, allocations: 150.8 kB / 1.072 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/3.39, allocations: 13.6 MB / 1.085 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003791/3.394, allocations: 5.88 MB / 1.091 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04775/3.442, allocations: 23.58 MB / 1.114 GB, free: 98.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/3.444, allocations: 0.6855 MB / 1.114 GB, free: 98.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002215/3.446, allocations: 126.1 kB / 1.115 GB, free: 98.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006586/3.453, allocations: 0.593 MB / 1.115 GB, free: 98.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/3.454, allocations: 378.3 kB / 1.116 GB, free: 98.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008149/3.455, allocations: 163.7 kB / 1.116 GB, free: 98.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008223/3.463, allocations: 3.89 MB / 1.119 GB, free: 97.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.51e-07/3.464, allocations: 0 / 1.119 GB, free: 97.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01333/3.477, allocations: 2.542 MB / 1.122 GB, free: 96.91 MB / 0.5573 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.001474/3.478, allocations: 317.5 kB / 1.122 GB, free: 96.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03114/3.51, allocations: 16.34 MB / 1.138 GB, free: 89.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/3.51, allocations: 0 / 1.138 GB, free: 89.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0155/3.525, allocations: 8.067 MB / 1.146 GB, free: 81.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006363/3.532, allocations: 0.877 MB / 1.147 GB, free: 81.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07805/3.61, allocations: 23.28 MB / 1.17 GB, free: 60.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02435/3.634, allocations: 6.818 MB / 1.176 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01594/3.65, allocations: 4.795 MB / 1.181 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00335/3.653, allocations: 0.5026 MB / 1.182 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of SimCode: time 1.883e-06/3.653, allocations: 4 kB / 1.182 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.9276/4.581, allocations: 85.7 MB / 1.265 GB, free: 112.8 MB / 0.5574 GB