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.381/2.381, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.936e-05/2.945e-05, allocations: 4 kB / 299.5 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.386, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5673, allocations: 95.8 MB / 450.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5677, allocations: 75.97 kB / 450.2 MB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162/1.729, allocations: 193.3 MB / 0.6285 GB, free: 12.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.185e-06/1.729, allocations: 3.938 kB / 0.6285 GB, free: 12.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005824/1.73, allocations: 164.1 kB / 0.6286 GB, free: 11.99 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.06976/1.8, allocations: 9.57 MB / 0.638 GB, free: 2.328 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.8, allocations: 8.031 kB / 0.638 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09977/1.9, allocations: 12.04 MB / 0.6497 GB, free: 6.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06217/1.962, allocations: 11.89 MB / 0.6613 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009374/1.963, allocations: 271.9 kB / 0.6616 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006855/1.97, allocations: 0.4959 MB / 0.6621 GB, free: 9.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.391/2.361, allocations: 15.16 MB / 0.6769 GB, free: 80.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05796/2.419, allocations: 20.04 MB / 0.6965 GB, free: 77.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006114/2.42, allocations: 74.53 kB / 0.6965 GB, free: 77.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004969/2.425, allocations: 32.52 kB / 0.6966 GB, free: 77.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005463/2.43, allocations: 2.462 MB / 0.699 GB, free: 77.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1932/2.623, allocations: 76.63 MB / 0.7738 GB, free: 39.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/2.64, allocations: 10.07 MB / 0.7836 GB, free: 34.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/2.652, allocations: 6.263 MB / 0.7898 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/2.653, allocations: 78.75 kB / 0.7898 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.728e-05/2.653, allocations: 86.25 kB / 0.7899 GB, free: 31.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=587): time 1.24e-05/2.653, allocations: 0 / 0.7899 GB, free: 31.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=615): time 0.1127/2.766, allocations: 35.15 MB / 0.8242 GB, free: 2.812 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/2.766, allocations: 262.8 kB / 0.8245 GB, free: 2.508 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/2.783, allocations: 5.558 MB / 0.8299 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001455/2.785, allocations: 28.33 kB / 0.8299 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006999/2.792, allocations: 5.997 MB / 0.8358 GB, free: 9.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004618/2.796, allocations: 2.204 MB / 0.838 GB, free: 7.098 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002478/2.799, allocations: 0 / 0.838 GB, free: 7.098 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001511/2.8, allocations: 0.8774 MB / 0.8388 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01649/2.817, allocations: 6.146 MB / 0.8448 GB, free: 0.875 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4262/3.243, allocations: 14.5 MB / 0.859 GB, free: 83.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02172/3.265, allocations: 8.948 MB / 0.8677 GB, free: 83.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004517/3.266, allocations: 65.5 kB / 0.8678 GB, free: 83.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.06821/3.334, allocations: 20.64 MB / 0.8879 GB, free: 82.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/3.334, allocations: 105.5 kB / 0.888 GB, free: 82.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04361/3.378, allocations: 12.93 MB / 0.9007 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02434/3.402, allocations: 3.533 MB / 0.9041 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02075/3.423, allocations: 3.083 MB / 0.9071 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/3.439, allocations: 11.75 MB / 0.9186 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/3.456, allocations: 0.8855 MB / 0.9195 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003644/3.46, allocations: 0.7139 MB / 0.9202 GB, free: 74.18 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.006221/3.466, allocations: 0.6947 MB / 0.9208 GB, free: 73.82 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04893/3.515, allocations: 13.08 MB / 0.9336 GB, free: 71.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003684/3.519, allocations: 0.6438 MB / 0.9342 GB, free: 71.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06562/3.585, allocations: 14.18 MB / 0.9481 GB, free: 67.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04205/3.627, allocations: 12.73 MB / 0.9605 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.429e-05/3.627, allocations: 8 kB / 0.9605 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001428/3.627, allocations: 27.7 kB / 0.9605 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09221/3.719, allocations: 31.75 MB / 0.9916 GB, free: 31.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-05/3.719, allocations: 12 kB / 0.9916 GB, free: 31.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01111/3.73, allocations: 1.143 MB / 0.9927 GB, free: 30.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02314/3.754, allocations: 3.556 MB / 0.9962 GB, free: 27.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001702/3.755, allocations: 75.53 kB / 0.9962 GB, free: 27.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/3.776, allocations: 13.36 MB / 1.009 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004288/3.78, allocations: 5.652 MB / 1.015 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4457/4.226, allocations: 23.35 MB / 1.038 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/4.228, allocations: 0.668 MB / 1.038 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003682/4.232, allocations: 53.41 kB / 1.038 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/4.242, allocations: 0.5233 MB / 1.039 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002521/4.245, allocations: 378.6 kB / 1.039 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001358/4.246, allocations: 161.2 kB / 1.039 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01059/4.257, allocations: 3.587 MB / 1.043 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.214e-06/4.257, allocations: 0 / 1.043 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0181/4.275, allocations: 2.308 MB / 1.045 GB, free: 90.5 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.06287/4.338, allocations: 26.05 MB / 1.071 GB, free: 84.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03883/4.377, allocations: 16.29 MB / 1.086 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/4.377, allocations: 0 / 1.086 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02137/4.398, allocations: 7.983 MB / 1.094 GB, free: 81.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007829/4.406, allocations: 0.6475 MB / 1.095 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08254/4.489, allocations: 26.07 MB / 1.12 GB, free: 72.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01716/4.506, allocations: 6.82 MB / 1.127 GB, free: 69.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02359/4.53, allocations: 5.064 MB / 1.132 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01236/4.542, allocations: 4.403 MB / 1.136 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/4.542, allocations: 0 / 1.136 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7778/5.32, allocations: 167.4 MB / 1.3 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/5.32, allocations: 132.1 kB / 1.3 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/14.1, allocations: 4 kB / 1.3 GB, free: 93.89 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