Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.714/2.714, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.289e-05, allocations: 7.438 kB / 299.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4364, allocations: 54.85 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.6355, allocations: 95.81 MB / 450.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.6359, allocations: 75.97 kB / 450.3 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228/1.864, allocations: 193.3 MB / 0.6286 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.864, allocations: 0 / 0.6286 GB, free: 12.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006122/1.865, allocations: 160 kB / 0.6287 GB, free: 11.93 MB / 442.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.07757/1.942, allocations: 9.567 MB / 0.6381 GB, free: 2.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/1.942, allocations: 8.031 kB / 0.6381 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1124/2.055, allocations: 12.05 MB / 0.6498 GB, free: 6.184 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05373/2.109, allocations: 11.89 MB / 0.6614 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/2.109, allocations: 268 kB / 0.6617 GB, free: 9.941 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005943/2.115, allocations: 0.4959 MB / 0.6622 GB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4395/2.555, allocations: 15.16 MB / 0.677 GB, free: 80.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07254/2.628, allocations: 20.04 MB / 0.6966 GB, free: 77.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007308/2.628, allocations: 75.55 kB / 0.6966 GB, free: 77.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00543/2.634, allocations: 33.33 kB / 0.6967 GB, free: 77.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00849/2.642, allocations: 2.461 MB / 0.6991 GB, free: 77.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/2.835, allocations: 76.63 MB / 0.7739 GB, free: 39.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/2.855, allocations: 10.07 MB / 0.7837 GB, free: 34.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01384/2.869, allocations: 6.255 MB / 0.7898 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009591/2.87, allocations: 82.45 kB / 0.7899 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.205e-05/2.87, allocations: 86.66 kB / 0.79 GB, free: 31.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=587): time 1.422e-05/2.87, allocations: 0 / 0.79 GB, free: 31.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=615): time 0.127/2.997, allocations: 35.16 MB / 0.8243 GB, free: 2.812 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/2.997, allocations: 261.9 kB / 0.8246 GB, free: 2.512 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01843/3.016, allocations: 5.552 MB / 0.83 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001564/3.017, allocations: 25.7 kB / 0.83 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007532/3.025, allocations: 5.992 MB / 0.8359 GB, free: 9.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004829/3.03, allocations: 2.21 MB / 0.838 GB, free: 7.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002682/3.033, allocations: 0 / 0.838 GB, free: 7.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001684/3.034, allocations: 0.88 MB / 0.8389 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01817/3.053, allocations: 6.144 MB / 0.8449 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4838/3.536, allocations: 14.47 MB / 0.859 GB, free: 83.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03533/3.572, allocations: 8.942 MB / 0.8678 GB, free: 83.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005762/3.572, allocations: 64.47 kB / 0.8678 GB, free: 83.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.07711/3.65, allocations: 20.65 MB / 0.888 GB, free: 82.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/3.65, allocations: 104.2 kB / 0.8881 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04981/3.7, allocations: 12.93 MB / 0.9007 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0289/3.729, allocations: 3.532 MB / 0.9042 GB, free: 82.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0238/3.752, allocations: 3.081 MB / 0.9072 GB, free: 81.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/3.778, allocations: 11.75 MB / 0.9187 GB, free: 74.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02871/3.806, allocations: 0.8853 MB / 0.9195 GB, free: 74.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004763/3.811, allocations: 0.7146 MB / 0.9202 GB, free: 74.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1056 * 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 (1577): * Single equations (assignments): 1543 * 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.00685/3.818, allocations: 0.6929 MB / 0.9209 GB, free: 74.04 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06185/3.88, allocations: 13.08 MB / 0.9337 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003591/3.884, allocations: 0.6494 MB / 0.9343 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05818/3.942, allocations: 14.19 MB / 0.9482 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04882/3.991, allocations: 12.72 MB / 0.9606 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-05/3.991, allocations: 14.33 kB / 0.9606 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000191/3.991, allocations: 25.12 kB / 0.9606 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1049/4.096, allocations: 31.76 MB / 0.9916 GB, free: 31.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.352e-05/4.096, allocations: 8 kB / 0.9916 GB, free: 31.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01301/4.109, allocations: 1.15 MB / 0.9928 GB, free: 30.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0277/4.137, allocations: 3.544 MB / 0.9962 GB, free: 27.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001715/4.139, allocations: 81.11 kB / 0.9963 GB, free: 27.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02282/4.162, allocations: 13.37 MB / 1.009 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004677/4.166, allocations: 5.641 MB / 1.015 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4997/4.666, allocations: 23.35 MB / 1.038 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/4.67, allocations: 0.6722 MB / 1.038 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005118/4.675, allocations: 49.08 kB / 1.038 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01349/4.688, allocations: 0.5219 MB / 1.039 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002684/4.691, allocations: 381.8 kB / 1.039 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001902/4.693, allocations: 165.1 kB / 1.039 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01196/4.705, allocations: 3.579 MB / 1.043 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.122e-06/4.705, allocations: 2.188 kB / 1.043 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01985/4.725, allocations: 2.318 MB / 1.045 GB, free: 88.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (479): * Single equations (assignments): 453 * 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.07463/4.8, allocations: 26.06 MB / 1.071 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04392/4.844, allocations: 16.27 MB / 1.086 GB, free: 81.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/4.844, allocations: 3.656 kB / 1.086 GB, free: 81.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02516/4.869, allocations: 7.986 MB / 1.094 GB, free: 79.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008686/4.878, allocations: 0.6419 MB / 1.095 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09056/4.968, allocations: 26.08 MB / 1.12 GB, free: 70.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02015/4.988, allocations: 6.807 MB / 1.127 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02619/5.015, allocations: 5.06 MB / 1.132 GB, free: 67.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0139/5.029, allocations: 4.406 MB / 1.136 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of SimCode: time 1.894e-06/5.029, allocations: 3.375 kB / 1.136 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8649/5.893, allocations: 167.4 MB / 1.3 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003111/5.894, allocations: 136.5 kB / 1.3 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.637/15.53, allocations: 0 / 1.3 GB, free: 93.91 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat