Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.964e-05/6.011e-05, allocations: 11.92 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.9 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5662/0.7031, allocations: 104.6 MB / 0.5029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.7035, allocations: 79.95 kB / 0.503 GB, free: 15.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19/1.893, allocations: 199.8 MB / 0.6981 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/1.893, allocations: 3.969 kB / 0.6981 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004942/1.894, allocations: 160.5 kB / 0.6983 GB, free: 103.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3305 * Number of variables: 3305 Notification: Performance of Generate backend data structure: time 0.06879/1.963, allocations: 9.567 MB / 0.7076 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/1.963, allocations: 8.031 kB / 0.7076 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01058/1.973, allocations: 1.659 MB / 0.7092 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0939/2.067, allocations: 12.04 MB / 0.721 GB, free: 83.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04372/2.111, allocations: 11.3 MB / 0.732 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008659/2.112, allocations: 0.6254 MB / 0.7326 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006175/2.118, allocations: 0.8381 MB / 0.7335 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06757/2.186, allocations: 21.46 MB / 0.7544 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006706/2.187, allocations: 83.22 kB / 0.7545 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005635/2.192, allocations: 383.7 kB / 0.7549 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005638/2.198, allocations: 2.466 MB / 0.7573 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06175/2.26, allocations: 20.64 MB / 0.7774 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6026/2.862, allocations: 80.95 MB / 0.8565 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04647/2.909, allocations: 9.641 MB / 0.8659 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/2.923, allocations: 6.361 MB / 0.8721 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/2.924, allocations: 80.16 kB / 0.8722 GB, free: 63.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.135e-05/2.924, allocations: 82.56 kB / 0.8723 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=583): time 1.187e-05/2.924, allocations: 3.875 kB / 0.8723 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=611): time 0.1298/3.054, allocations: 34.68 MB / 0.9061 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005053/3.059, allocations: 6.124 MB / 0.9121 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/3.075, allocations: 5.631 MB / 0.9176 GB, free: 47.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001677/3.077, allocations: 106.1 kB / 0.9177 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005838/3.083, allocations: 5.847 MB / 0.9234 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004202/3.087, allocations: 2.248 MB / 0.9256 GB, free: 41.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002908/3.09, allocations: 238.5 kB / 0.9258 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001509/3.092, allocations: 0.853 MB / 0.9267 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01633/3.108, allocations: 6.265 MB / 0.9328 GB, free: 39.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02133/3.129, allocations: 12.39 MB / 0.9449 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02133/3.151, allocations: 8.907 MB / 0.9536 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003002/3.151, allocations: 67.03 kB / 0.9537 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.07126/3.222, allocations: 20.99 MB / 0.9742 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/3.223, allocations: 100 kB / 0.9742 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.046/3.269, allocations: 13.22 MB / 0.9872 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02719/3.296, allocations: 3.686 MB / 0.9908 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02209/3.318, allocations: 2.931 MB / 0.9936 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/3.339, allocations: 12.16 MB / 1.005 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01862/3.358, allocations: 1.103 MB / 1.007 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003907/3.362, allocations: 0.6748 MB / 1.007 GB, free: 308 kB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 48 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1492): * Single equations (assignments): 1458 * 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.007174/3.369, allocations: 0.9901 MB / 1.008 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003525/3.372, allocations: 0.6515 MB / 1.009 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05648/3.429, allocations: 14.56 MB / 1.023 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4854/3.914, allocations: 13.21 MB / 1.036 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000136/3.915, allocations: 7.844 kB / 1.036 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001707/3.915, allocations: 24.09 kB / 1.036 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1074/4.022, allocations: 33.3 MB / 1.068 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001069/4.022, allocations: 12.42 kB / 1.069 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01138/4.034, allocations: 1.139 MB / 1.07 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02373/4.058, allocations: 3.606 MB / 1.073 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001859/4.06, allocations: 144.6 kB / 1.073 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/4.08, allocations: 13.6 MB / 1.087 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004498/4.085, allocations: 5.882 MB / 1.092 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06358/4.149, allocations: 23.58 MB / 1.115 GB, free: 98.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/4.151, allocations: 0.6903 MB / 1.116 GB, free: 98.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003525/4.155, allocations: 125.6 kB / 1.116 GB, free: 98.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01025/4.165, allocations: 0.5963 MB / 1.117 GB, free: 98.33 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002361/4.168, allocations: 382.5 kB / 1.117 GB, free: 98.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001666/4.169, allocations: 159.8 kB / 1.117 GB, free: 98.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01093/4.18, allocations: 3.897 MB / 1.121 GB, free: 96.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.91e-07/4.181, allocations: 0 / 1.121 GB, free: 96.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01715/4.198, allocations: 2.54 MB / 1.124 GB, free: 96.68 MB / 0.5573 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.0649/4.263, allocations: 26.17 MB / 1.149 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03915/4.302, allocations: 16.35 MB / 1.165 GB, free: 64.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/4.302, allocations: 0 / 1.165 GB, free: 64.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02253/4.324, allocations: 8.069 MB / 1.173 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009198/4.334, allocations: 0.8772 MB / 1.174 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0821/4.416, allocations: 26.48 MB / 1.2 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0172/4.433, allocations: 6.815 MB / 1.206 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02083/4.454, allocations: 4.803 MB / 1.211 GB, free: 23.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01123/4.465, allocations: 4.346 MB / 1.215 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/4.465, allocations: 0 / 1.215 GB, free: 18.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.794/5.259, allocations: 174.1 MB / 1.385 GB, free: 37.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/5.26, allocations: 188 kB / 1.385 GB, free: 37.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/14.29, allocations: 0 / 1.385 GB, free: 37.24 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat