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_cpp_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 2.147/2.147, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.627e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3884, allocations: 48.71 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.09256/0.481, allocations: 56.22 MB / 381.1 MB, free: 7.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04116/0.5223, allocations: 12.18 MB / 393.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01416/0.5365, allocations: 295.2 kB / 393.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.548, allocations: 3.08 MB / 396.6 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03221/0.5803, allocations: 8.411 MB / 405 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.5852, allocations: 0.7685 MB / 405.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05487/0.6401, allocations: 18.17 MB / 424 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.6506, allocations: 4.89 MB / 428.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.6552, allocations: 1.765 MB / 430.6 MB, free: 5.566 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006123/0.6613, allocations: 2.868 MB / 433.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.6655, allocations: 1.046 MB / 434.5 MB, free: 1.645 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002355/0.6679, allocations: 248 kB / 434.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00585/0.6738, allocations: 3.308 MB / 438.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.6768, allocations: 0.5156 MB / 438.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.6952, allocations: 11.45 MB / 450 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6952, allocations: 0 / 450 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6952, allocations: 0 / 450 MB, free: 2.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005061/0.6957, allocations: 0 / 450 MB, free: 2.094 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.02856/0.7243, allocations: 8.16 MB / 458.2 MB, free: 9.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.7244, allocations: 12.03 kB / 458.2 MB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2885/1.013, allocations: 20.8 MB / 479 MB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.544/1.557, allocations: 6.649 MB / 485.7 MB, free: 120.9 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007503/1.558, allocations: 432.7 kB / 486.1 MB, free: 120.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00625/1.564, allocations: 0.8979 MB / 487 MB, free: 120.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06235/1.626, allocations: 22.97 MB / 0.498 GB, free: 111.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004687/1.627, allocations: 75.03 kB / 0.4981 GB, free: 111.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003283/1.63, allocations: 274 kB / 0.4983 GB, free: 111.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01334/1.644, allocations: 5.189 MB / 0.5034 GB, free: 109.9 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05966/1.703, allocations: 21.84 MB / 0.5247 GB, free: 88.11 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1654/1.869, allocations: 81.03 MB / 0.6039 GB, free: 6.086 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03283/1.902, allocations: 9.863 MB / 0.6135 GB, free: 11.93 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.903, allocations: 74.28 kB / 0.6136 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.903, allocations: 90.5 kB / 0.6137 GB, free: 11.76 MB / 426.8 MB Notification: Performance of pre-optimization done (n=585): time 1.166e-05/1.903, allocations: 0 / 0.6137 GB, free: 11.76 MB / 426.8 MB Notification: Performance of matching and sorting (n=613): time 0.4525/2.356, allocations: 43.6 MB / 0.6562 GB, free: 129.9 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005366/2.361, allocations: 6.189 MB / 0.6623 GB, free: 123.9 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01602/2.377, allocations: 6.252 MB / 0.6684 GB, free: 121.7 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001685/2.379, allocations: 105.3 kB / 0.6685 GB, free: 121.6 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00505/2.384, allocations: 5.665 MB / 0.674 GB, free: 117.2 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004136/2.388, allocations: 2.247 MB / 0.6762 GB, free: 115.5 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002396/2.391, allocations: 240.8 kB / 0.6764 GB, free: 115.3 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001225/2.392, allocations: 0.8531 MB / 0.6773 GB, free: 114.8 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01699/2.409, allocations: 6.524 MB / 0.6837 GB, free: 112.7 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02166/2.431, allocations: 12.7 MB / 0.6961 GB, free: 102.4 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/2.452, allocations: 9.126 MB / 0.705 GB, free: 98.89 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000216/2.452, allocations: 58.38 kB / 0.705 GB, free: 98.89 MB / 442.8 MB Notification: Performance of matching and sorting (n=1641) (initialization): time 0.08275/2.535, allocations: 22.15 MB / 0.7266 GB, free: 79.84 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/2.535, allocations: 96 kB / 0.7267 GB, free: 79.75 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07278/2.608, allocations: 13.89 MB / 0.7403 GB, free: 65.82 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02454/2.633, allocations: 4.143 MB / 0.7443 GB, free: 61.63 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01937/2.652, allocations: 2.952 MB / 0.7472 GB, free: 58.68 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/2.672, allocations: 13.25 MB / 0.7602 GB, free: 44.64 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/2.689, allocations: 1.094 MB / 0.7612 GB, free: 43.54 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003068/2.692, allocations: 0.6731 MB / 0.7619 GB, free: 42.87 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.01298/2.705, allocations: 4.423 MB / 0.7662 GB, free: 38.44 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003064/2.708, allocations: 0.6594 MB / 0.7669 GB, free: 37.77 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0499/2.758, allocations: 14.86 MB / 0.7814 GB, free: 22.84 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04536/2.803, allocations: 13.31 MB / 0.7944 GB, free: 9.484 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-05/2.803, allocations: 11.98 kB / 0.7944 GB, free: 9.473 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001488/2.803, allocations: 31.86 kB / 0.7944 GB, free: 9.441 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4229/3.226, allocations: 33.69 MB / 0.8273 GB, free: 111.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-05/3.226, allocations: 7.812 kB / 0.8273 GB, free: 111.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01139/3.238, allocations: 1.183 MB / 0.8285 GB, free: 111.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02375/3.262, allocations: 3.688 MB / 0.8321 GB, free: 111.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001883/3.264, allocations: 148.5 kB / 0.8322 GB, free: 111.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/3.286, allocations: 13.94 MB / 0.8458 GB, free: 101.7 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004826/3.291, allocations: 5.952 MB / 0.8517 GB, free: 95.89 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06519/3.356, allocations: 24.03 MB / 0.8751 GB, free: 79.35 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007079/3.363, allocations: 1.773 MB / 0.8768 GB, free: 77.91 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003724/3.367, allocations: 126.2 kB / 0.877 GB, free: 77.79 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009666/3.377, allocations: 0.6063 MB / 0.8776 GB, free: 77.18 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002282/3.379, allocations: 383 kB / 0.8779 GB, free: 76.82 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001557/3.381, allocations: 162 kB / 0.8781 GB, free: 76.66 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01036/3.391, allocations: 4.395 MB / 0.8824 GB, free: 72.28 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.21e-07/3.391, allocations: 0 / 0.8824 GB, free: 72.28 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01557/3.407, allocations: 2.569 MB / 0.8849 GB, free: 69.72 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.002359/3.409, allocations: 322 kB / 0.8852 GB, free: 69.42 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04054/3.45, allocations: 17.16 MB / 0.9019 GB, free: 52.11 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/3.45, allocations: 0 / 0.9019 GB, free: 52.11 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0216/3.471, allocations: 8.287 MB / 0.91 GB, free: 43.58 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008654/3.48, allocations: 0.8954 MB / 0.9109 GB, free: 42.69 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.068/3.548, allocations: 31.55 MB / 0.9417 GB, free: 10.96 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01501/3.563, allocations: 6.83 MB / 0.9484 GB, free: 4.094 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006069/3.569, allocations: 0.6125 MB / 0.949 GB, free: 3.484 MB / 442.8 MB Notification: Performance of SimCode: time 2.615e-06/3.569, allocations: 4 kB / 0.949 GB, free: 3.48 MB / 442.8 MB Notification: Performance of Templates: time 2.389/5.958, allocations: 0.6611 GB / 1.61 GB, free: 60.3 MB / 490.8 MB