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_cpp_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.892e-05, allocations: 3.938 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.375, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.08775/0.4628, allocations: 56.22 MB / 419.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03704/0.4999, allocations: 12.19 MB / 431.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01336/0.5133, allocations: 295.2 kB / 431.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.5251, allocations: 3.08 MB / 434.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03113/0.5563, allocations: 8.395 MB / 443 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.5612, allocations: 0.7645 MB / 443.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05479/0.6161, allocations: 18.16 MB / 462 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.6268, allocations: 4.895 MB / 466.8 MB, free: 5.574 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.6317, allocations: 1.761 MB / 468.6 MB, free: 3.809 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/0.6384, allocations: 2.876 MB / 471.5 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.6429, allocations: 1.057 MB / 472.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00292/0.6459, allocations: 248 kB / 472.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006795/0.6528, allocations: 3.308 MB / 476.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003122/0.656, allocations: 0.5195 MB / 476.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/0.6758, allocations: 11.45 MB / 488.1 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.6758, allocations: 7.938 kB / 488.1 MB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6758, allocations: 0 / 488.1 MB, free: 312 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005725/0.6764, allocations: 0 / 488.1 MB, free: 312 kB / 410.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.03005/0.7065, allocations: 8.16 MB / 496.2 MB, free: 8.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.7066, allocations: 8.031 kB / 496.2 MB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9999/1.707, allocations: 20.9 MB / 0.505 GB, free: 112.2 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02609/1.733, allocations: 6.678 MB / 0.5115 GB, free: 107.1 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008521/1.734, allocations: 434 kB / 0.512 GB, free: 106.8 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007429/1.741, allocations: 0.9034 MB / 0.5128 GB, free: 106 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07249/1.814, allocations: 22.97 MB / 0.5353 GB, free: 82.37 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004972/1.814, allocations: 75.36 kB / 0.5353 GB, free: 82.3 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004061/1.818, allocations: 267.5 kB / 0.5356 GB, free: 82.12 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01782/1.836, allocations: 5.194 MB / 0.5407 GB, free: 76.95 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06241/1.899, allocations: 21.84 MB / 0.562 GB, free: 55.05 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1751/2.074, allocations: 81.15 MB / 0.6412 GB, free: 4.168 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03371/2.108, allocations: 9.868 MB / 0.6509 GB, free: 9.996 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000894/2.109, allocations: 83.92 kB / 0.651 GB, free: 9.914 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.751e-05/2.109, allocations: 82.56 kB / 0.651 GB, free: 9.824 MB / 474.8 MB Notification: Performance of pre-optimization done (n=585): time 1.064e-05/2.109, allocations: 0 / 0.651 GB, free: 9.824 MB / 474.8 MB Notification: Performance of matching and sorting (n=613): time 0.4831/2.592, allocations: 43.59 MB / 0.6936 GB, free: 152.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004955/2.597, allocations: 6.191 MB / 0.6997 GB, free: 146.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/2.611, allocations: 6.249 MB / 0.7058 GB, free: 144.5 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001652/2.613, allocations: 105.9 kB / 0.7059 GB, free: 144.4 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004674/2.617, allocations: 5.652 MB / 0.7114 GB, free: 140 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003853/2.621, allocations: 2.256 MB / 0.7136 GB, free: 138.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/2.624, allocations: 242.5 kB / 0.7138 GB, free: 138.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001132/2.625, allocations: 0.8587 MB / 0.7146 GB, free: 137.6 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0162/2.641, allocations: 6.641 MB / 0.7211 GB, free: 135.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01992/2.661, allocations: 12.81 MB / 0.7336 GB, free: 124 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02007/2.681, allocations: 9.238 MB / 0.7427 GB, free: 115.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/2.681, allocations: 60 kB / 0.7427 GB, free: 115.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=1641) (initialization): time 0.1103/2.792, allocations: 25.84 MB / 0.768 GB, free: 89.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/2.792, allocations: 96 kB / 0.7681 GB, free: 89.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08797/2.88, allocations: 17.58 MB / 0.7852 GB, free: 72.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07845/2.958, allocations: 8.085 MB / 0.7931 GB, free: 63.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01913/2.978, allocations: 2.952 MB / 0.796 GB, free: 61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04992/3.028, allocations: 21.46 MB / 0.817 GB, free: 38.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/3.044, allocations: 1.107 MB / 0.818 GB, free: 37.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003084/3.047, allocations: 0.6722 MB / 0.8187 GB, free: 36.96 MB / 490.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): 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.01284/3.06, allocations: 4.428 MB / 0.823 GB, free: 32.52 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00279/3.063, allocations: 0.6555 MB / 0.8237 GB, free: 31.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04996/3.113, allocations: 14.87 MB / 0.8382 GB, free: 16.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04541/3.158, allocations: 13.31 MB / 0.8512 GB, free: 3.562 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.878e-05/3.158, allocations: 8 kB / 0.8512 GB, free: 3.555 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001552/3.159, allocations: 27.84 kB / 0.8512 GB, free: 3.527 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.445/3.604, allocations: 33.7 MB / 0.8841 GB, free: 134.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-05/3.604, allocations: 7.688 kB / 0.8841 GB, free: 134.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0112/3.615, allocations: 1.188 MB / 0.8853 GB, free: 134 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02383/3.639, allocations: 3.689 MB / 0.8889 GB, free: 133.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001797/3.641, allocations: 147.7 kB / 0.889 GB, free: 133.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/3.663, allocations: 13.93 MB / 0.9026 GB, free: 122.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004976/3.668, allocations: 5.952 MB / 0.9085 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06446/3.733, allocations: 24.02 MB / 0.9319 GB, free: 92.56 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/3.735, allocations: 0.7176 MB / 0.9326 GB, free: 92.18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00365/3.739, allocations: 129.6 kB / 0.9327 GB, free: 92.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009634/3.748, allocations: 0.6047 MB / 0.9333 GB, free: 91.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002463/3.751, allocations: 375.9 kB / 0.9337 GB, free: 91.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001631/3.753, allocations: 163.2 kB / 0.9338 GB, free: 90.93 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01035/3.763, allocations: 4.391 MB / 0.9381 GB, free: 86.55 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.082e-06/3.763, allocations: 0 / 0.9381 GB, free: 86.55 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0165/3.78, allocations: 2.65 MB / 0.9407 GB, free: 83.91 MB / 490.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.002436/3.782, allocations: 330 kB / 0.941 GB, free: 83.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.04209/3.824, allocations: 17.39 MB / 0.958 GB, free: 66.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/3.824, allocations: 0 / 0.958 GB, free: 66.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02228/3.847, allocations: 8.293 MB / 0.9661 GB, free: 57.51 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008107/3.855, allocations: 0.8888 MB / 0.967 GB, free: 56.63 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06934/3.924, allocations: 31.58 MB / 0.9978 GB, free: 24.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/3.945, allocations: 6.838 MB / 1.005 GB, free: 17.99 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008048/3.954, allocations: 0.6086 MB / 1.005 GB, free: 17.38 MB / 490.8 MB Notification: Performance of SimCode: time 1.663e-06/3.954, allocations: 0 / 1.005 GB, free: 17.38 MB / 490.8 MB Notification: Performance of Templates: time 2.743/6.696, allocations: 0.6646 GB / 1.67 GB, free: 148.2 MB / 0.5262 GB