Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.642e-05, allocations: 4 kB / 273.2 MB, free: 120 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 48.69 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.574, allocations: 89.78 MB / 411.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.5744, allocations: 71.97 kB / 411.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129/1.703, allocations: 196.5 MB / 0.594 GB, free: 64.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.703, allocations: 0 / 0.594 GB, free: 64.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005712/1.704, allocations: 160 kB / 0.5942 GB, free: 63.95 MB / 426.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.06736/1.771, allocations: 9.575 MB / 0.6035 GB, free: 54.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.771, allocations: 11.97 kB / 0.6035 GB, free: 54.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01005/1.781, allocations: 1.655 MB / 0.6051 GB, free: 52.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09143/1.873, allocations: 12 MB / 0.6168 GB, free: 40.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04397/1.917, allocations: 11.86 MB / 0.6284 GB, free: 28.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008905/1.918, allocations: 0.6216 MB / 0.629 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006268/1.924, allocations: 0.8393 MB / 0.6299 GB, free: 27.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09679/2.021, allocations: 21.45 MB / 0.6508 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008565/2.022, allocations: 79.27 kB / 0.6509 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006075/2.028, allocations: 379.7 kB / 0.6512 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005664/2.034, allocations: 2.462 MB / 0.6536 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6801/2.714, allocations: 20.63 MB / 0.6738 GB, free: 63.36 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1688/2.883, allocations: 80.95 MB / 0.7528 GB, free: 22.04 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02968/2.913, allocations: 9.633 MB / 0.7623 GB, free: 17.85 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/2.926, allocations: 6.367 MB / 0.7685 GB, free: 15.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/2.927, allocations: 80.28 kB / 0.7686 GB, free: 15.14 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.301e-05/2.927, allocations: 88.56 kB / 0.7686 GB, free: 15.05 MB / 426.8 MB Notification: Performance of pre-optimization done (n=583): time 1.179e-05/2.927, allocations: 0 / 0.7686 GB, free: 15.05 MB / 426.8 MB Notification: Performance of matching and sorting (n=611): time 0.1505/3.077, allocations: 35.24 MB / 0.803 GB, free: 2.031 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008594/3.086, allocations: 6.121 MB / 0.809 GB, free: 11.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02073/3.107, allocations: 5.657 MB / 0.8145 GB, free: 6.543 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00158/3.108, allocations: 109.6 kB / 0.8147 GB, free: 6.434 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007332/3.116, allocations: 5.84 MB / 0.8204 GB, free: 1.215 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.3302/3.446, allocations: 2.237 MB / 0.8225 GB, free: 92.62 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003191/3.449, allocations: 239.9 kB / 0.8228 GB, free: 92.62 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.00182/3.451, allocations: 0.8508 MB / 0.8236 GB, free: 92.29 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01776/3.469, allocations: 6.239 MB / 0.8297 GB, free: 92.26 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02299/3.492, allocations: 12.36 MB / 0.8418 GB, free: 84.52 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02171/3.514, allocations: 8.892 MB / 0.8504 GB, free: 84.44 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004667/3.514, allocations: 64.62 kB / 0.8505 GB, free: 84.44 MB / 458.8 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.06615/3.58, allocations: 20.56 MB / 0.8706 GB, free: 83.37 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/3.581, allocations: 97.34 kB / 0.8707 GB, free: 83.37 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04274/3.623, allocations: 12.89 MB / 0.8833 GB, free: 79.53 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02152/3.645, allocations: 3.23 MB / 0.8864 GB, free: 79.04 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02656/3.672, allocations: 2.985 MB / 0.8893 GB, free: 78.72 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/3.687, allocations: 10.48 MB / 0.8996 GB, free: 70.08 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02379/3.711, allocations: 1.103 MB / 0.9006 GB, free: 69.89 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004143/3.715, allocations: 0.667 MB / 0.9013 GB, free: 69.8 MB / 458.8 MB 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 (1501): * Single equations (assignments): 1467 * 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 {1,1,1,1} * 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.006487/3.722, allocations: 0.965 MB / 0.9022 GB, free: 69.15 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002508/3.724, allocations: 0.6562 MB / 0.9029 GB, free: 69.14 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05272/3.777, allocations: 14.56 MB / 0.9171 GB, free: 62.46 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0427/3.82, allocations: 13.02 MB / 0.9298 GB, free: 51.72 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.691e-05/3.82, allocations: 14.08 kB / 0.9298 GB, free: 51.71 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001484/3.82, allocations: 30.3 kB / 0.9299 GB, free: 51.71 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1008/3.921, allocations: 33.3 MB / 0.9624 GB, free: 24.73 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-05/3.921, allocations: 11.44 kB / 0.9624 GB, free: 24.72 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01118/3.932, allocations: 1.137 MB / 0.9635 GB, free: 23.86 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02346/3.956, allocations: 3.604 MB / 0.967 GB, free: 21.53 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001752/3.957, allocations: 151.8 kB / 0.9672 GB, free: 21.41 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/3.978, allocations: 13.6 MB / 0.9804 GB, free: 7.078 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004233/3.982, allocations: 5.886 MB / 0.9862 GB, free: 0.6367 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4088/4.391, allocations: 23.57 MB / 1.009 GB, free: 92.6 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007282/4.398, allocations: 1.736 MB / 1.011 GB, free: 92.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003368/4.402, allocations: 129.4 kB / 1.011 GB, free: 92.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009922/4.412, allocations: 0.5933 MB / 1.012 GB, free: 92.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002404/4.414, allocations: 382.8 kB / 1.012 GB, free: 92.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/4.415, allocations: 156.6 kB / 1.012 GB, free: 92.5 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01153/4.427, allocations: 3.913 MB / 1.016 GB, free: 92.26 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.32e-07/4.427, allocations: 3.094 kB / 1.016 GB, free: 92.26 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01761/4.444, allocations: 2.519 MB / 1.018 GB, free: 92.26 MB / 474.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 (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.06777/4.512, allocations: 26.18 MB / 1.044 GB, free: 85.74 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.04013/4.552, allocations: 15.79 MB / 1.059 GB, free: 80.52 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/4.553, allocations: 6.688 kB / 1.059 GB, free: 80.52 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02238/4.575, allocations: 8.068 MB / 1.067 GB, free: 77.08 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008478/4.583, allocations: 0.8656 MB / 1.068 GB, free: 76.73 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07991/4.663, allocations: 26.5 MB / 1.094 GB, free: 59.48 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01603/4.68, allocations: 6.826 MB / 1.101 GB, free: 54.46 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0194/4.699, allocations: 4.802 MB / 1.105 GB, free: 51.32 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01113/4.71, allocations: 4.355 MB / 1.11 GB, free: 47.29 MB / 474.8 MB Notification: Performance of SimCode: time 1.273e-06/4.71, allocations: 0 / 1.11 GB, free: 47.29 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7528/5.463, allocations: 171.6 MB / 1.277 GB, free: 37.73 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/5.463, allocations: 181.8 kB / 1.277 GB, free: 37.5 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.913/14.38, allocations: 7.938 kB / 1.277 GB, free: 37.5 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat