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.1_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.852e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3537, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.1139/0.4677, allocations: 56.22 MB / 381.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04991/0.5177, allocations: 12.17 MB / 393.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01767/0.5354, allocations: 295.2 kB / 393.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01431/0.5498, allocations: 3.076 MB / 396.6 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07458/0.6245, allocations: 8.411 MB / 405 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006852/0.6314, allocations: 0.7646 MB / 405.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.07263/0.7041, allocations: 18.17 MB / 424 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.7144, allocations: 4.909 MB / 428.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004804/0.7193, allocations: 1.757 MB / 430.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006611/0.726, allocations: 2.872 MB / 433.5 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.7304, allocations: 1.042 MB / 434.6 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003104/0.7336, allocations: 248 kB / 434.8 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007044/0.7407, allocations: 3.312 MB / 438.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002949/0.7437, allocations: 0.5156 MB / 438.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.7616, allocations: 11.44 MB / 450.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7617, allocations: 4 kB / 450.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7617, allocations: 0 / 450.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005078/0.7622, allocations: 0 / 450.1 MB, free: 1.984 MB / 378.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.02927/0.7915, allocations: 8.164 MB / 458.2 MB, free: 9.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.7916, allocations: 12.03 kB / 458.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2683/1.06, allocations: 20.79 MB / 479 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5829/1.643, allocations: 6.652 MB / 485.7 MB, free: 121.3 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005764/1.644, allocations: 432.2 kB / 486.1 MB, free: 121.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005673/1.649, allocations: 0.8971 MB / 487 MB, free: 121 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05493/1.704, allocations: 22.97 MB / 0.498 GB, free: 111.8 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/1.705, allocations: 74.3 kB / 0.4981 GB, free: 111.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001718/1.706, allocations: 268.2 kB / 0.4984 GB, free: 111.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01264/1.719, allocations: 5.197 MB / 0.5034 GB, free: 109.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05438/1.773, allocations: 21.84 MB / 0.5248 GB, free: 87.89 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1479/1.921, allocations: 81.04 MB / 0.6039 GB, free: 5.867 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0304/1.952, allocations: 9.855 MB / 0.6135 GB, free: 11.71 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/1.953, allocations: 75.92 kB / 0.6136 GB, free: 11.64 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.923e-05/1.953, allocations: 86.56 kB / 0.6137 GB, free: 11.54 MB / 426.8 MB Notification: Performance of pre-optimization done (n=585): time 1.098e-05/1.953, allocations: 0 / 0.6137 GB, free: 11.54 MB / 426.8 MB Notification: Performance of matching and sorting (n=613): time 0.4675/2.42, allocations: 43.6 MB / 0.6563 GB, free: 129.6 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005035/2.426, allocations: 6.19 MB / 0.6623 GB, free: 123.6 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/2.44, allocations: 6.249 MB / 0.6684 GB, free: 121.4 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00161/2.441, allocations: 111.7 kB / 0.6685 GB, free: 121.3 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004763/2.446, allocations: 5.843 MB / 0.6742 GB, free: 116.8 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004082/2.45, allocations: 2.246 MB / 0.6764 GB, free: 115.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/2.453, allocations: 242.9 kB / 0.6767 GB, free: 115 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001832/2.455, allocations: 0.8416 MB / 0.6775 GB, free: 114.5 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01838/2.474, allocations: 6.527 MB / 0.6838 GB, free: 112.3 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01997/2.494, allocations: 12.69 MB / 0.6962 GB, free: 102 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/2.513, allocations: 9.126 MB / 0.7052 GB, free: 98.55 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001778/2.514, allocations: 60.25 kB / 0.7052 GB, free: 98.55 MB / 442.8 MB Notification: Performance of matching and sorting (n=1641) (initialization): time 0.06651/2.58, allocations: 22.36 MB / 0.727 GB, free: 79.08 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/2.58, allocations: 96.62 kB / 0.7271 GB, free: 78.98 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04314/2.624, allocations: 13.88 MB / 0.7407 GB, free: 65.06 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02434/2.648, allocations: 4.139 MB / 0.7447 GB, free: 60.88 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.019/2.667, allocations: 2.956 MB / 0.7476 GB, free: 57.92 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/2.687, allocations: 13.25 MB / 0.7606 GB, free: 43.89 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01599/2.703, allocations: 1.102 MB / 0.7616 GB, free: 42.79 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002955/2.706, allocations: 0.6667 MB / 0.7623 GB, free: 42.12 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 968 * 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 (1493): * Single equations (assignments): 1459 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * 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: 0 * 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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01261/2.718, allocations: 4.432 MB / 0.7666 GB, free: 37.68 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003034/2.721, allocations: 0.6556 MB / 0.7673 GB, free: 37.02 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0505/2.772, allocations: 14.86 MB / 0.7818 GB, free: 22.09 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04413/2.816, allocations: 13.32 MB / 0.7948 GB, free: 8.723 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.025e-05/2.816, allocations: 8.656 kB / 0.7948 GB, free: 8.715 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001733/2.816, allocations: 27.86 kB / 0.7948 GB, free: 8.688 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4547/3.271, allocations: 33.69 MB / 0.8277 GB, free: 111.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-05/3.271, allocations: 11.56 kB / 0.8277 GB, free: 111.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01092/3.282, allocations: 1.185 MB / 0.8289 GB, free: 111.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02363/3.306, allocations: 3.683 MB / 0.8325 GB, free: 111.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001704/3.308, allocations: 153 kB / 0.8326 GB, free: 111 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/3.329, allocations: 13.94 MB / 0.8462 GB, free: 101.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004616/3.334, allocations: 5.946 MB / 0.852 GB, free: 95.81 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0639/3.398, allocations: 24.03 MB / 0.8755 GB, free: 78.81 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00721/3.405, allocations: 1.776 MB / 0.8772 GB, free: 77.37 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003891/3.409, allocations: 130 kB / 0.8774 GB, free: 77.25 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009853/3.419, allocations: 0.5996 MB / 0.878 GB, free: 76.65 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002267/3.421, allocations: 370.6 kB / 0.8783 GB, free: 76.29 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001209/3.423, allocations: 159.5 kB / 0.8785 GB, free: 76.14 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01169/3.434, allocations: 4.391 MB / 0.8828 GB, free: 71.76 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.412e-06/3.434, allocations: 6 kB / 0.8828 GB, free: 71.75 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01565/3.45, allocations: 2.575 MB / 0.8853 GB, free: 69.19 MB / 442.8 MB 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 (477): * Single equations (assignments): 451 * 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 {(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 Backend phase and start with SimCode phase: time 0.002463/3.452, allocations: 317 kB / 0.8856 GB, free: 68.89 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04029/3.493, allocations: 17.15 MB / 0.9023 GB, free: 51.58 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/3.493, allocations: 0 / 0.9023 GB, free: 51.58 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02151/3.514, allocations: 8.271 MB / 0.9104 GB, free: 43.06 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008218/3.523, allocations: 0.8868 MB / 0.9113 GB, free: 42.18 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06338/3.586, allocations: 30.52 MB / 0.9411 GB, free: 11.51 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01435/3.601, allocations: 6.826 MB / 0.9477 GB, free: 4.648 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.02124/3.622, allocations: 4.821 MB / 0.9524 GB, free: 15.82 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004806/3.627, allocations: 0.5188 MB / 0.9529 GB, free: 15.3 MB / 458.8 MB Notification: Performance of SimCode: time 1.433e-06/3.627, allocations: 3.938 kB / 0.953 GB, free: 15.3 MB / 458.8 MB Notification: Performance of Templates: time 0.5874/4.214, allocations: 88.99 MB / 1.04 GB, free: 87.76 MB / 458.8 MB