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 1.988/1.988, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.451e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/0.6074, allocations: 89.76 MB / 411.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.6078, allocations: 71.97 kB / 411.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113/1.721, allocations: 196.5 MB / 0.594 GB, free: 64.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.721, allocations: 4 kB / 0.594 GB, free: 64.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005139/1.722, allocations: 163.9 kB / 0.5941 GB, free: 63.98 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.06624/1.788, allocations: 9.571 MB / 0.6035 GB, free: 54.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/1.788, allocations: 8.031 kB / 0.6035 GB, free: 54.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009941/1.798, allocations: 1.667 MB / 0.6051 GB, free: 52.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1249/1.923, allocations: 11.99 MB / 0.6168 GB, free: 40.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04923/1.972, allocations: 11.86 MB / 0.6284 GB, free: 28.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008262/1.973, allocations: 0.6216 MB / 0.629 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005916/1.979, allocations: 0.847 MB / 0.6298 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0646/2.044, allocations: 21.54 MB / 0.6509 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/2.044, allocations: 79.2 kB / 0.6509 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004427/2.049, allocations: 379.7 kB / 0.6513 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005323/2.054, allocations: 2.47 MB / 0.6537 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3883/2.442, allocations: 20.88 MB / 0.6741 GB, free: 64.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.17/2.612, allocations: 80.95 MB / 0.7532 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02953/2.642, allocations: 9.679 MB / 0.7626 GB, free: 19.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01321/2.655, allocations: 6.366 MB / 0.7688 GB, free: 16.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008242/2.656, allocations: 79.78 kB / 0.7689 GB, free: 16.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.07e-05/2.656, allocations: 90.5 kB / 0.769 GB, free: 16.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=583): time 1.13e-05/2.656, allocations: 0 / 0.769 GB, free: 16.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=611): time 0.1313/2.788, allocations: 34.97 MB / 0.8031 GB, free: 2.984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006637/2.794, allocations: 6.132 MB / 0.8091 GB, free: 12.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01703/2.811, allocations: 5.657 MB / 0.8147 GB, free: 7.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001586/2.813, allocations: 105.5 kB / 0.8148 GB, free: 7.395 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007272/2.82, allocations: 5.841 MB / 0.8205 GB, free: 2.176 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00475/2.825, allocations: 2.248 MB / 0.8227 GB, free: 192 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002739/2.828, allocations: 250.5 kB / 0.8229 GB, free: 0 / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3269/3.155, allocations: 0.848 MB / 0.8237 GB, free: 93.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01846/3.173, allocations: 6.24 MB / 0.8298 GB, free: 93.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02416/3.198, allocations: 12.42 MB / 0.8419 GB, free: 85.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02235/3.22, allocations: 8.888 MB / 0.8506 GB, free: 85.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000393/3.22, allocations: 63.34 kB / 0.8507 GB, free: 85.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.06657/3.287, allocations: 21.16 MB / 0.8714 GB, free: 84.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/3.287, allocations: 97.16 kB / 0.8714 GB, free: 84.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04157/3.329, allocations: 12.89 MB / 0.884 GB, free: 80.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02676/3.356, allocations: 3.228 MB / 0.8872 GB, free: 80.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02102/3.377, allocations: 2.985 MB / 0.8901 GB, free: 79.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/3.388, allocations: 10.5 MB / 0.9004 GB, free: 71.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01703/3.405, allocations: 1.098 MB / 0.9014 GB, free: 71.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003389/3.409, allocations: 0.6667 MB / 0.9021 GB, free: 70.96 MB / 458.7 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.005134/3.414, allocations: 0.9615 MB / 0.903 GB, free: 70.31 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/3.416, allocations: 0.6556 MB / 0.9037 GB, free: 70.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04842/3.465, allocations: 14.56 MB / 0.9179 GB, free: 64.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04339/3.508, allocations: 13.03 MB / 0.9306 GB, free: 53.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-05/3.508, allocations: 11.89 kB / 0.9306 GB, free: 53.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/3.508, allocations: 22.27 kB / 0.9306 GB, free: 53.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1077/3.616, allocations: 33.33 MB / 0.9632 GB, free: 26.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.851e-05/3.616, allocations: 8.844 kB / 0.9632 GB, free: 26.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01103/3.627, allocations: 1.133 MB / 0.9643 GB, free: 25.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0234/3.651, allocations: 3.609 MB / 0.9678 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/3.652, allocations: 149.6 kB / 0.968 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/3.673, allocations: 13.61 MB / 0.9813 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004272/3.677, allocations: 5.895 MB / 0.987 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4159/4.093, allocations: 23.58 MB / 1.01 GB, free: 77.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006998/4.1, allocations: 1.731 MB / 1.012 GB, free: 76.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003217/4.103, allocations: 129.6 kB / 1.012 GB, free: 76.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009606/4.113, allocations: 0.598 MB / 1.012 GB, free: 76.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00235/4.115, allocations: 377.3 kB / 1.013 GB, free: 76.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001213/4.116, allocations: 157.1 kB / 1.013 GB, free: 76.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01088/4.127, allocations: 3.915 MB / 1.017 GB, free: 76.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.52e-07/4.127, allocations: 2.938 kB / 1.017 GB, free: 76.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01582/4.143, allocations: 2.521 MB / 1.019 GB, free: 76.71 MB / 458.7 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.06576/4.209, allocations: 26.18 MB / 1.045 GB, free: 69.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03782/4.247, allocations: 16.13 MB / 1.061 GB, free: 64.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/4.247, allocations: 3.812 kB / 1.061 GB, free: 64.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02066/4.268, allocations: 8.135 MB / 1.069 GB, free: 60.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007731/4.275, allocations: 0.8734 MB / 1.069 GB, free: 60.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07325/4.349, allocations: 26.57 MB / 1.095 GB, free: 41.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01546/4.364, allocations: 6.817 MB / 1.102 GB, free: 36.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01952/4.384, allocations: 4.802 MB / 1.107 GB, free: 32.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/4.395, allocations: 4.36 MB / 1.111 GB, free: 28.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.974e-06/4.395, allocations: 0 / 1.111 GB, free: 28.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.739/5.134, allocations: 172.6 MB / 1.279 GB, free: 34.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/5.134, allocations: 188.2 kB / 1.28 GB, free: 34.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.874/14.01, allocations: 3.938 kB / 1.28 GB, free: 34.06 MB / 474.7 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