Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.119e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4361, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.6237, allocations: 96.47 MB / 456.4 MB, free: 448 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.6241, allocations: 75.97 kB / 456.4 MB, free: 372 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166/1.79, allocations: 196.7 MB / 0.6378 GB, free: 51.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.79, allocations: 0 / 0.6378 GB, free: 51.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004853/1.79, allocations: 167.9 kB / 0.638 GB, free: 50.95 MB / 458.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.06575/1.856, allocations: 9.567 MB / 0.6473 GB, free: 41.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.856, allocations: 8.031 kB / 0.6473 GB, free: 41.29 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00917/1.865, allocations: 1.663 MB / 0.6489 GB, free: 39.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09024/1.956, allocations: 12.05 MB / 0.6607 GB, free: 27.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04316/1.999, allocations: 11.89 MB / 0.6723 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008441/2, allocations: 0.6294 MB / 0.6729 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005866/2.006, allocations: 0.8393 MB / 0.6738 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0686/2.074, allocations: 21.43 MB / 0.6947 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006769/2.075, allocations: 79.27 kB / 0.6948 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00559/2.081, allocations: 383.7 kB / 0.6951 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006419/2.087, allocations: 2.462 MB / 0.6975 GB, free: 4.695 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7558/2.843, allocations: 20.63 MB / 0.7177 GB, free: 74.84 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1758/3.019, allocations: 80.97 MB / 0.7967 GB, free: 35.29 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03056/3.049, allocations: 9.649 MB / 0.8062 GB, free: 31.08 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01349/3.063, allocations: 6.363 MB / 0.8124 GB, free: 28.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007789/3.064, allocations: 77.81 kB / 0.8125 GB, free: 28.48 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.609e-05/3.064, allocations: 87.22 kB / 0.8125 GB, free: 28.41 MB / 474.8 MB Notification: Performance of pre-optimization done (n=583): time 1.11e-05/3.064, allocations: 0 / 0.8125 GB, free: 28.41 MB / 474.8 MB Notification: Performance of matching and sorting (n=611): time 0.1308/3.195, allocations: 34.87 MB / 0.8466 GB, free: 2.836 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007436/3.202, allocations: 6.116 MB / 0.8526 GB, free: 12.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04109/3.243, allocations: 5.651 MB / 0.8581 GB, free: 7.492 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001915/3.245, allocations: 104.6 kB / 0.8582 GB, free: 7.387 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01495/3.26, allocations: 5.84 MB / 0.8639 GB, free: 2.199 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.01136/3.272, allocations: 2.248 MB / 0.8661 GB, free: 212 kB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002614/3.275, allocations: 239.3 kB / 0.8663 GB, free: 0 / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001454/3.276, allocations: 0.854 MB / 0.8671 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01806/3.294, allocations: 6.254 MB / 0.8733 GB, free: 9.668 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02496/3.319, allocations: 12.38 MB / 0.8853 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02277/3.342, allocations: 8.899 MB / 0.894 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003042/3.342, allocations: 63.94 kB / 0.8941 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.4867/3.829, allocations: 21.18 MB / 0.9148 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/3.829, allocations: 99.31 kB / 0.9149 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04764/3.877, allocations: 13.23 MB / 0.9278 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02535/3.902, allocations: 3.565 MB / 0.9313 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02036/3.923, allocations: 2.921 MB / 0.9341 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/3.941, allocations: 12.15 MB / 0.946 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01843/3.959, allocations: 1.1 MB / 0.9471 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003891/3.963, allocations: 0.6709 MB / 0.9477 GB, free: 102 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * 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 (1489): * Single equations (assignments): 1455 * 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.006376/3.97, allocations: 0.9562 MB / 0.9487 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003287/3.973, allocations: 0.6592 MB / 0.9493 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05321/4.026, allocations: 14.56 MB / 0.9635 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04581/4.072, allocations: 13.01 MB / 0.9762 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.613e-05/4.072, allocations: 6.188 kB / 0.9762 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001677/4.073, allocations: 25.44 kB / 0.9763 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1051/4.178, allocations: 33.31 MB / 1.009 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001041/4.178, allocations: 10.02 kB / 1.009 GB, free: 78.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01148/4.189, allocations: 1.131 MB / 1.01 GB, free: 77.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02385/4.213, allocations: 3.608 MB / 1.013 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001969/4.215, allocations: 153.5 kB / 1.014 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02158/4.237, allocations: 13.61 MB / 1.027 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004811/4.242, allocations: 5.886 MB / 1.033 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06657/4.308, allocations: 23.58 MB / 1.056 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/4.311, allocations: 0.6879 MB / 1.056 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003709/4.315, allocations: 125.7 kB / 1.056 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01054/4.326, allocations: 0.597 MB / 1.057 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002523/4.328, allocations: 377.8 kB / 1.057 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001911/4.33, allocations: 165.6 kB / 1.058 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01157/4.342, allocations: 3.91 MB / 1.061 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.192e-06/4.342, allocations: 0 / 1.061 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01806/4.36, allocations: 2.539 MB / 1.064 GB, free: 25.96 MB / 0.5105 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.4711/4.831, allocations: 26.18 MB / 1.089 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04409/4.875, allocations: 16.32 MB / 1.105 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/4.875, allocations: 6.25 kB / 1.105 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02174/4.897, allocations: 8.072 MB / 1.113 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007902/4.905, allocations: 0.8725 MB / 1.114 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08199/4.987, allocations: 26.51 MB / 1.14 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01844/5.006, allocations: 6.825 MB / 1.147 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02143/5.027, allocations: 4.794 MB / 1.151 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01264/5.04, allocations: 4.349 MB / 1.156 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of SimCode: time 2.395e-06/5.04, allocations: 0 / 1.156 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7757/5.815, allocations: 174.2 MB / 1.326 GB, free: 99.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/5.816, allocations: 173.3 kB / 1.326 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.812/14.63, allocations: 0 / 1.326 GB, free: 98.98 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat