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_trunk_cpp_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 269 MB / 284.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.941e-05, allocations: 4 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.4366/0.5684, allocations: 58.38 MB / 469.3 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03992/0.6084, allocations: 12.64 MB / 482 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01601/0.6244, allocations: 307.2 kB / 482.3 MB, free: 152 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.6364, allocations: 3.146 MB / 485.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03426/0.6707, allocations: 8.677 MB / 494.1 MB, free: 4.289 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.6758, allocations: 0.7568 MB / 494.8 MB, free: 3.531 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1218/0.7977, allocations: 47.74 MB / 0.5299 GB, free: 3.758 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.8079, allocations: 4.891 MB / 0.5346 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/0.8126, allocations: 1.761 MB / 0.5363 GB, free: 13.06 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006235/0.8189, allocations: 2.872 MB / 0.5392 GB, free: 10.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.8232, allocations: 1.053 MB / 0.5402 GB, free: 9.125 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.8255, allocations: 247.9 kB / 0.5404 GB, free: 8.883 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005946/0.8314, allocations: 3.304 MB / 0.5436 GB, free: 5.57 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003053/0.8346, allocations: 0.5156 MB / 0.5441 GB, free: 5.055 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.8528, allocations: 11.41 MB / 0.5553 GB, free: 9.617 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8529, allocations: 0 / 0.5553 GB, free: 9.617 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.8529, allocations: 7.938 kB / 0.5553 GB, free: 9.609 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005104/0.8534, allocations: 0 / 0.5553 GB, free: 9.609 MB / 474.7 MB 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.02904/0.8825, allocations: 8.16 MB / 0.5633 GB, free: 1.363 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.8825, allocations: 8.031 kB / 0.5633 GB, free: 1.355 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.27/1.153, allocations: 20.9 MB / 0.5837 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.174, allocations: 6.062 MB / 0.5896 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006932/1.174, allocations: 430.7 kB / 0.59 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006066/1.18, allocations: 0.9012 MB / 0.5909 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7239/1.904, allocations: 22.97 MB / 0.6133 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005887/1.905, allocations: 77.33 kB / 0.6134 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003407/1.908, allocations: 271.8 kB / 0.6137 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01594/1.924, allocations: 5.197 MB / 0.6187 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06612/1.991, allocations: 21.85 MB / 0.6401 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1648/2.155, allocations: 81.18 MB / 0.7194 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03053/2.186, allocations: 9.859 MB / 0.729 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008568/2.187, allocations: 73.97 kB / 0.7291 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/2.187, allocations: 90.5 kB / 0.7291 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=585): time 1.077e-05/2.187, allocations: 0 / 0.7291 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=613): time 0.1482/2.335, allocations: 43.37 MB / 0.7715 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004842/2.34, allocations: 6.197 MB / 0.7775 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01474/2.355, allocations: 6.219 MB / 0.7836 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001727/2.357, allocations: 105.1 kB / 0.7837 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004635/2.361, allocations: 5.665 MB / 0.7893 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004166/2.366, allocations: 2.257 MB / 0.7915 GB, free: 15.35 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002565/2.368, allocations: 239.8 kB / 0.7917 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001488/2.37, allocations: 0.8518 MB / 0.7925 GB, free: 14.26 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01932/2.389, allocations: 6.653 MB / 0.799 GB, free: 7.598 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0267/2.416, allocations: 12.83 MB / 0.8115 GB, free: 7.781 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.39/2.806, allocations: 9.245 MB / 0.8206 GB, free: 166.7 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/2.806, allocations: 61.69 kB / 0.8206 GB, free: 166.7 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1644) (initialization): time 0.1181/2.924, allocations: 25.86 MB / 0.8459 GB, free: 160.6 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/2.925, allocations: 97.66 kB / 0.846 GB, free: 160.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08769/3.012, allocations: 17.59 MB / 0.8632 GB, free: 156.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07687/3.089, allocations: 8.077 MB / 0.871 GB, free: 153.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/3.108, allocations: 2.958 MB / 0.8739 GB, free: 151.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04829/3.156, allocations: 21.47 MB / 0.8949 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/3.172, allocations: 1.107 MB / 0.896 GB, free: 127.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002954/3.175, allocations: 0.6734 MB / 0.8966 GB, free: 127.3 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 971 * 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 (1496): * Single equations (assignments): 1462 * 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.01225/3.188, allocations: 4.431 MB / 0.901 GB, free: 123 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/3.19, allocations: 0.6526 MB / 0.9016 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04852/3.239, allocations: 14.86 MB / 0.9161 GB, free: 107.8 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0433/3.282, allocations: 13.32 MB / 0.9291 GB, free: 94.39 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.826e-05/3.282, allocations: 8 kB / 0.9291 GB, free: 94.38 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/3.283, allocations: 27.86 kB / 0.9292 GB, free: 94.36 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09263/3.375, allocations: 33.69 MB / 0.9621 GB, free: 60.62 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.501e-05/3.375, allocations: 12 kB / 0.9621 GB, free: 60.61 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01096/3.386, allocations: 1.182 MB / 0.9632 GB, free: 59.43 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0236/3.41, allocations: 3.694 MB / 0.9668 GB, free: 55.69 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001739/3.412, allocations: 149.7 kB / 0.967 GB, free: 55.54 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/3.433, allocations: 13.94 MB / 0.9806 GB, free: 40.89 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004529/3.438, allocations: 5.958 MB / 0.9864 GB, free: 34.41 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06309/3.501, allocations: 24.02 MB / 1.01 GB, free: 10.12 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/3.503, allocations: 0.7151 MB / 1.011 GB, free: 9.383 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00341/3.506, allocations: 130.4 kB / 1.011 GB, free: 9.258 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009169/3.516, allocations: 0.598 MB / 1.011 GB, free: 8.66 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002101/3.518, allocations: 380.2 kB / 1.012 GB, free: 8.289 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008456/3.519, allocations: 153.3 kB / 1.012 GB, free: 8.141 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.009422/3.528, allocations: 4.367 MB / 1.016 GB, free: 3.785 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.142e-06/3.528, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01459/3.543, allocations: 2.663 MB / 1.019 GB, free: 1.133 MB / 0.5418 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 (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.002152/3.545, allocations: 316.1 kB / 1.019 GB, free: 0.8242 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.433/3.978, allocations: 17.41 MB / 1.036 GB, free: 179.4 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/3.978, allocations: 2.281 kB / 1.036 GB, free: 179.4 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0238/4.002, allocations: 8.286 MB / 1.044 GB, free: 175.8 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007932/4.01, allocations: 0.8895 MB / 1.045 GB, free: 175.4 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06531/4.075, allocations: 31.55 MB / 1.076 GB, free: 159.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01491/4.09, allocations: 6.824 MB / 1.082 GB, free: 157.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005503/4.096, allocations: 0.6107 MB / 1.083 GB, free: 156.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.292e-06/4.096, allocations: 0 / 1.083 GB, free: 156.9 MB / 0.5574 GB Notification: Performance of Templates: time 2.256/6.351, allocations: 0.664 GB / 1.747 GB, free: 113.1 MB / 0.573 GB