Running command: translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 270 MB / 282.7 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.592e-05, allocations: 4 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 61.88 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.4798, allocations: 104.6 MB / 0.5014 GB, free: 2.051 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4801, allocations: 75.95 kB / 0.5015 GB, free: 1.977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9594/1.44, allocations: 199.8 MB / 0.6966 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.781e-06/1.44, allocations: 0 / 0.6966 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004784/1.44, allocations: 163.9 kB / 0.6968 GB, free: 3.863 MB / 0.4948 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.04686/1.487, allocations: 9.555 MB / 0.7061 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.487, allocations: 8.031 kB / 0.7061 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6869/2.174, allocations: 12.04 MB / 0.7179 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03096/2.205, allocations: 11.29 MB / 0.7289 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/2.206, allocations: 0.6241 MB / 0.7295 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003444/2.209, allocations: 0.8407 MB / 0.7303 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04488/2.254, allocations: 21.45 MB / 0.7513 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/2.254, allocations: 81.48 kB / 0.7514 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/2.256, allocations: 384.2 kB / 0.7517 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/2.26, allocations: 2.468 MB / 0.7541 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04322/2.303, allocations: 20.64 MB / 0.7743 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1181/2.421, allocations: 80.97 MB / 0.8534 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/2.444, allocations: 9.642 MB / 0.8628 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009605/2.453, allocations: 6.357 MB / 0.869 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/2.454, allocations: 78.38 kB / 0.8691 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/2.454, allocations: 92.41 kB / 0.8692 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=583): time 1.355e-05/2.454, allocations: 0 / 0.8692 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=611): time 0.09394/2.548, allocations: 34.67 MB / 0.903 GB, free: 9.414 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006027/2.554, allocations: 6.128 MB / 0.909 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/2.568, allocations: 5.765 MB / 0.9146 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/2.569, allocations: 109.6 kB / 0.9147 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.005469/2.575, allocations: 5.669 MB / 0.9203 GB, free: 9.059 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003477/2.578, allocations: 2.248 MB / 0.9225 GB, free: 7.066 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/2.579, allocations: 239.8 kB / 0.9227 GB, free: 6.836 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0009882/2.58, allocations: 0.8513 MB / 0.9235 GB, free: 6.125 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0132/2.594, allocations: 6.261 MB / 0.9296 GB, free: 0.4961 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3553/2.949, allocations: 13.28 MB / 0.9426 GB, free: 112.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/2.965, allocations: 8.922 MB / 0.9513 GB, free: 112 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/2.965, allocations: 62.81 kB / 0.9514 GB, free: 112 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.04902/3.014, allocations: 20.79 MB / 0.9717 GB, free: 111.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/3.014, allocations: 102.3 kB / 0.9718 GB, free: 111.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03018/3.044, allocations: 13.22 MB / 0.9847 GB, free: 110.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01556/3.06, allocations: 3.57 MB / 0.9882 GB, free: 110.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/3.073, allocations: 2.926 MB / 0.991 GB, free: 110.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/3.086, allocations: 12.15 MB / 1.003 GB, free: 102.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01297/3.099, allocations: 1.101 MB / 1.004 GB, free: 102.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/3.102, allocations: 0.6726 MB / 1.005 GB, free: 102.7 MB / 0.5574 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.002914/3.105, allocations: 0.9698 MB / 1.006 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/3.106, allocations: 0.6462 MB / 1.006 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03375/3.14, allocations: 14.56 MB / 1.02 GB, free: 98.38 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02974/3.17, allocations: 13.02 MB / 1.033 GB, free: 94.61 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-05/3.17, allocations: 8.625 kB / 1.033 GB, free: 94.61 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.363e-05/3.17, allocations: 30.5 kB / 1.033 GB, free: 94.61 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07007/3.24, allocations: 33.29 MB / 1.066 GB, free: 70.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.399e-05/3.24, allocations: 12 kB / 1.066 GB, free: 70.23 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007184/3.247, allocations: 1.144 MB / 1.067 GB, free: 69.37 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01504/3.262, allocations: 3.608 MB / 1.07 GB, free: 67.07 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/3.264, allocations: 146 kB / 1.07 GB, free: 66.95 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/3.279, allocations: 13.6 MB / 1.084 GB, free: 54.28 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003562/3.282, allocations: 5.889 MB / 1.09 GB, free: 48.1 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04236/3.325, allocations: 23.58 MB / 1.113 GB, free: 27.36 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/3.327, allocations: 0.6855 MB / 1.113 GB, free: 26.67 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001868/3.329, allocations: 126.3 kB / 1.113 GB, free: 26.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00582/3.334, allocations: 0.5999 MB / 1.114 GB, free: 26.21 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/3.336, allocations: 377.8 kB / 1.114 GB, free: 25.99 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006388/3.336, allocations: 161.1 kB / 1.114 GB, free: 25.85 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007451/3.344, allocations: 3.888 MB / 1.118 GB, free: 22.45 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.092e-06/3.344, allocations: 0 / 1.118 GB, free: 22.45 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01291/3.357, allocations: 2.536 MB / 1.121 GB, free: 19.92 MB / 0.5574 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.00142/3.358, allocations: 320.9 kB / 1.121 GB, free: 19.64 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.3533/3.712, allocations: 16.35 MB / 1.137 GB, free: 114.7 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/3.712, allocations: 2.094 kB / 1.137 GB, free: 114.7 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0153/3.727, allocations: 8.09 MB / 1.145 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/3.733, allocations: 0.8668 MB / 1.146 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04875/3.781, allocations: 24.32 MB / 1.169 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/3.794, allocations: 6.824 MB / 1.176 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003968/3.798, allocations: 0.6004 MB / 1.177 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of SimCode: time 1.948e-06/3.798, allocations: 0 / 1.177 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of Templates: time 1.845/5.643, allocations: 0.6576 GB / 1.834 GB, free: 133.5 MB / 0.5887 GB