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.532/2.532, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.922e-05, allocations: 4 kB / 305 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.6092, allocations: 96.46 MB / 456.3 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.6096, allocations: 71.97 kB / 456.4 MB, free: 372 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128/1.738, allocations: 196.7 MB / 0.6378 GB, free: 51.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.738, allocations: 0 / 0.6378 GB, free: 51.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005166/1.738, allocations: 159.9 kB / 0.6379 GB, free: 50.94 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.06633/1.805, allocations: 9.578 MB / 0.6473 GB, free: 41.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.805, allocations: 8.031 kB / 0.6473 GB, free: 41.27 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009507/1.814, allocations: 1.655 MB / 0.6489 GB, free: 39.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1115/1.926, allocations: 12.04 MB / 0.6607 GB, free: 27.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05011/1.976, allocations: 11.9 MB / 0.6723 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/1.977, allocations: 0.6255 MB / 0.6729 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00728/1.985, allocations: 0.8354 MB / 0.6737 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08251/2.067, allocations: 21.54 MB / 0.6948 GB, free: 7.488 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00063/2.068, allocations: 75.27 kB / 0.6948 GB, free: 7.414 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006015/2.074, allocations: 383.7 kB / 0.6952 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006724/2.081, allocations: 2.466 MB / 0.6976 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4634/2.544, allocations: 20.88 MB / 0.718 GB, free: 76.58 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1934/2.737, allocations: 80.97 MB / 0.7971 GB, free: 36.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03033/2.768, allocations: 9.687 MB / 0.8065 GB, free: 32.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01322/2.781, allocations: 6.363 MB / 0.8127 GB, free: 30.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/2.782, allocations: 72.41 kB / 0.8128 GB, free: 30.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.336e-05/2.782, allocations: 92.62 kB / 0.8129 GB, free: 30.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=583): time 1.13e-05/2.782, allocations: 0 / 0.8129 GB, free: 30.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=611): time 0.1267/2.909, allocations: 34.86 MB / 0.8469 GB, free: 4.539 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005104/2.914, allocations: 6.126 MB / 0.8529 GB, free: 14.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/2.93, allocations: 5.655 MB / 0.8585 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001534/2.931, allocations: 113.4 kB / 0.8586 GB, free: 9.062 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006767/2.938, allocations: 5.836 MB / 0.8643 GB, free: 3.879 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004491/2.943, allocations: 2.25 MB / 0.8665 GB, free: 1.887 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/2.945, allocations: 237.9 kB / 0.8667 GB, free: 1.656 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001587/2.947, allocations: 0.8454 MB / 0.8675 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04824/2.995, allocations: 8.157 MB / 0.8755 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02417/3.019, allocations: 12.45 MB / 0.8876 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4785/3.498, allocations: 8.901 MB / 0.8963 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003045/3.498, allocations: 61.03 kB / 0.8964 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.0923/3.59, allocations: 21.57 MB / 0.9175 GB, free: 94.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/3.591, allocations: 97.59 kB / 0.9175 GB, free: 94.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05518/3.646, allocations: 13.22 MB / 0.9305 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0381/3.684, allocations: 3.572 MB / 0.9339 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02897/3.713, allocations: 2.919 MB / 0.9368 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/3.73, allocations: 12.17 MB / 0.9487 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01731/3.747, allocations: 1.103 MB / 0.9497 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003428/3.751, allocations: 0.6676 MB / 0.9504 GB, free: 85.66 MB / 0.4948 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.007/3.758, allocations: 0.9613 MB / 0.9513 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002978/3.761, allocations: 0.6529 MB / 0.952 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05027/3.811, allocations: 14.57 MB / 0.9662 GB, free: 80.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04447/3.856, allocations: 13.02 MB / 0.9789 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-05/3.856, allocations: 7.969 kB / 0.9789 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001483/3.856, allocations: 27.12 kB / 0.979 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1003/3.956, allocations: 33.35 MB / 1.012 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001087/3.957, allocations: 8 kB / 1.012 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01143/3.968, allocations: 1.132 MB / 1.013 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02361/3.992, allocations: 3.612 MB / 1.016 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001711/3.993, allocations: 148 kB / 1.016 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/4.013, allocations: 13.61 MB / 1.03 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004281/4.018, allocations: 5.891 MB / 1.035 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06209/4.08, allocations: 23.58 MB / 1.058 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/4.082, allocations: 0.6956 MB / 1.059 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00327/4.086, allocations: 130.7 kB / 1.059 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009959/4.096, allocations: 0.5905 MB / 1.06 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002319/4.098, allocations: 376.2 kB / 1.06 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008895/4.099, allocations: 160.8 kB / 1.06 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01082/4.11, allocations: 3.917 MB / 1.064 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.01e-07/4.11, allocations: 4 kB / 1.064 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01659/4.127, allocations: 2.538 MB / 1.067 GB, free: 14.98 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.4744/4.601, allocations: 26.16 MB / 1.092 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04524/4.646, allocations: 16.7 MB / 1.108 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-05/4.646, allocations: 3.906 kB / 1.108 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02287/4.669, allocations: 8.14 MB / 1.116 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008516/4.678, allocations: 0.874 MB / 1.117 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08256/4.76, allocations: 26.56 MB / 1.143 GB, free: 96.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01722/4.778, allocations: 6.824 MB / 1.15 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02156/4.799, allocations: 4.792 MB / 1.155 GB, free: 94.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01236/4.812, allocations: 4.345 MB / 1.159 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.154e-06/4.812, allocations: 7.219 kB / 1.159 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9113/5.723, allocations: 175.3 MB / 1.33 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/5.723, allocations: 189 kB / 1.33 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.203/14.93, allocations: 6.078 kB / 1.33 GB, free: 84.27 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