Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.781e-05/4.791e-05, allocations: 8 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5442/0.6894, allocations: 104.6 MB / 0.5029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6898, allocations: 75.97 kB / 0.503 GB, free: 15.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268/1.958, allocations: 199.8 MB / 0.6981 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/1.958, allocations: 0 / 0.6981 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004973/1.959, allocations: 162.3 kB / 0.6983 GB, free: 103.8 MB / 0.5105 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.07407/2.033, allocations: 9.57 MB / 0.7076 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/2.033, allocations: 8.031 kB / 0.7076 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008977/2.042, allocations: 1.657 MB / 0.7092 GB, free: 95.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08939/2.131, allocations: 12.04 MB / 0.721 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04118/2.173, allocations: 11.31 MB / 0.732 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007842/2.173, allocations: 0.6206 MB / 0.7326 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006025/2.18, allocations: 0.8342 MB / 0.7334 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06803/2.248, allocations: 21.46 MB / 0.7544 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006134/2.248, allocations: 91.16 kB / 0.7545 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005487/2.254, allocations: 379.7 kB / 0.7548 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005587/2.259, allocations: 2.466 MB / 0.7573 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05985/2.319, allocations: 20.65 MB / 0.7774 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6112/2.931, allocations: 80.95 MB / 0.8565 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03497/2.966, allocations: 9.645 MB / 0.8659 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01375/2.979, allocations: 6.36 MB / 0.8721 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000804/2.98, allocations: 75.98 kB / 0.8722 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.438e-05/2.98, allocations: 87.97 kB / 0.8723 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=583): time 1.146e-05/2.98, allocations: 0 / 0.8723 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=611): time 0.1247/3.105, allocations: 34.68 MB / 0.9061 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004801/3.11, allocations: 6.127 MB / 0.9121 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/3.123, allocations: 5.626 MB / 0.9176 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001671/3.125, allocations: 108.9 kB / 0.9177 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005395/3.13, allocations: 5.846 MB / 0.9234 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003819/3.134, allocations: 2.25 MB / 0.9256 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/3.136, allocations: 238.5 kB / 0.9258 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009602/3.137, allocations: 0.8486 MB / 0.9267 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/3.152, allocations: 6.264 MB / 0.9328 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02019/3.172, allocations: 12.39 MB / 0.9449 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02026/3.192, allocations: 8.916 MB / 0.9536 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003051/3.193, allocations: 66.31 kB / 0.9537 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.09032/3.283, allocations: 20.98 MB / 0.9741 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/3.283, allocations: 96 kB / 0.9742 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04462/3.328, allocations: 13.23 MB / 0.9872 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02695/3.355, allocations: 3.686 MB / 0.9908 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02122/3.376, allocations: 2.924 MB / 0.9936 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/3.397, allocations: 12.16 MB / 1.005 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01856/3.415, allocations: 1.103 MB / 1.007 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003905/3.419, allocations: 0.67 MB / 1.007 GB, free: 304 kB / 0.5417 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.007246/3.427, allocations: 0.9951 MB / 1.008 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002894/3.429, allocations: 0.6515 MB / 1.009 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05483/3.484, allocations: 14.56 MB / 1.023 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4805/3.965, allocations: 13.21 MB / 1.036 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001204/3.965, allocations: 7.5 kB / 1.036 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001747/3.965, allocations: 26.05 kB / 1.036 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1096/4.075, allocations: 33.29 MB / 1.068 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001087/4.075, allocations: 10.78 kB / 1.068 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01131/4.086, allocations: 1.137 MB / 1.07 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02355/4.11, allocations: 3.609 MB / 1.073 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001883/4.112, allocations: 148.8 kB / 1.073 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/4.132, allocations: 13.6 MB / 1.087 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0045/4.137, allocations: 5.876 MB / 1.092 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08331/4.22, allocations: 23.58 MB / 1.115 GB, free: 98.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/4.224, allocations: 0.6832 MB / 1.116 GB, free: 98.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004252/4.228, allocations: 129.6 kB / 1.116 GB, free: 98.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01287/4.241, allocations: 0.6006 MB / 1.117 GB, free: 98.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002323/4.243, allocations: 381.4 kB / 1.117 GB, free: 98.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001685/4.245, allocations: 159.8 kB / 1.117 GB, free: 98.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01094/4.256, allocations: 3.89 MB / 1.121 GB, free: 97.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.983e-06/4.256, allocations: 2.5 kB / 1.121 GB, free: 97.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01754/4.274, allocations: 2.538 MB / 1.123 GB, free: 96.86 MB / 0.5573 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.06562/4.339, allocations: 26.18 MB / 1.149 GB, free: 78.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03914/4.378, allocations: 16.34 MB / 1.165 GB, free: 64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/4.378, allocations: 4 kB / 1.165 GB, free: 64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02179/4.4, allocations: 8.067 MB / 1.173 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009448/4.41, allocations: 0.8779 MB / 1.174 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09116/4.501, allocations: 26.49 MB / 1.2 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01793/4.519, allocations: 6.816 MB / 1.206 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02166/4.541, allocations: 4.792 MB / 1.211 GB, free: 23.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0128/4.554, allocations: 4.346 MB / 1.215 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of SimCode: time 1.313e-06/4.554, allocations: 0 / 1.215 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8178/5.371, allocations: 174.1 MB / 1.385 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/5.372, allocations: 182.7 kB / 1.385 GB, free: 37.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.021/14.39, allocations: 0 / 1.385 GB, free: 37.24 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat