Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.61/2.61, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.756e-05, allocations: 0 / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.59, allocations: 102.7 MB / 485 MB, free: 5.688 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5904, allocations: 75.95 kB / 485.1 MB, free: 5.613 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.118/1.708, allocations: 197.5 MB / 0.6665 GB, free: 5.77 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.415e-06/1.708, allocations: 192 / 0.6665 GB, free: 5.77 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004857/1.709, allocations: 160 kB / 0.6667 GB, free: 5.613 MB / 458.8 MB 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.06569/1.774, allocations: 9.586 MB / 0.676 GB, free: 11.94 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.774, allocations: 11.97 kB / 0.6761 GB, free: 11.93 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009195/1.784, allocations: 1.659 MB / 0.6777 GB, free: 10.25 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09583/1.879, allocations: 12.05 MB / 0.6895 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04939/1.929, allocations: 11.9 MB / 0.7011 GB, free: 2.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/1.93, allocations: 0.6294 MB / 0.7017 GB, free: 1.547 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006382/1.936, allocations: 0.8393 MB / 0.7025 GB, free: 0.707 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4448/2.381, allocations: 21.45 MB / 0.7234 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007265/2.382, allocations: 75.19 kB / 0.7235 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005083/2.387, allocations: 384.3 kB / 0.7239 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006399/2.394, allocations: 2.463 MB / 0.7263 GB, free: 82.34 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05815/2.452, allocations: 20.65 MB / 0.7465 GB, free: 82.27 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.173/2.625, allocations: 81.07 MB / 0.8256 GB, free: 41.11 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03089/2.656, allocations: 9.638 MB / 0.835 GB, free: 36.89 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01336/2.669, allocations: 6.367 MB / 0.8413 GB, free: 34.31 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/2.67, allocations: 76.56 kB / 0.8413 GB, free: 34.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/2.67, allocations: 85.5 kB / 0.8414 GB, free: 34.22 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=583): time 1.146e-05/2.67, allocations: 3.406 kB / 0.8414 GB, free: 34.22 MB / 0.4949 GB Notification: Performance of matching and sorting (n=611): time 0.1242/2.794, allocations: 34.88 MB / 0.8755 GB, free: 6.477 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004724/2.799, allocations: 6.127 MB / 0.8815 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/2.816, allocations: 5.685 MB / 0.887 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001646/2.817, allocations: 105 kB / 0.8871 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007019/2.824, allocations: 5.855 MB / 0.8928 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004742/2.829, allocations: 2.254 MB / 0.895 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002566/2.832, allocations: 239.4 kB / 0.8953 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001392/2.833, allocations: 0.8503 MB / 0.8961 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03628/2.87, allocations: 7.414 MB / 0.9033 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0244/2.894, allocations: 12.39 MB / 0.9154 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4873/3.381, allocations: 8.914 MB / 0.9241 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/3.382, allocations: 59.12 kB / 0.9242 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1640) (initialization): time 0.07114/3.453, allocations: 21 MB / 0.9447 GB, free: 104 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/3.453, allocations: 96.25 kB / 0.9448 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04578/3.499, allocations: 13.22 MB / 0.9577 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02566/3.525, allocations: 3.571 MB / 0.9612 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02014/3.545, allocations: 2.923 MB / 0.9641 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/3.563, allocations: 12.15 MB / 0.9759 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01815/3.581, allocations: 1.1 MB / 0.977 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003528/3.584, allocations: 0.6792 MB / 0.9777 GB, free: 95.39 MB / 0.5261 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.005554/3.59, allocations: 0.963 MB / 0.9786 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00235/3.592, allocations: 0.6546 MB / 0.9792 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05178/3.644, allocations: 14.55 MB / 0.9935 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04573/3.69, allocations: 13.02 MB / 1.006 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-05/3.69, allocations: 7.312 kB / 1.006 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000153/3.69, allocations: 24.14 kB / 1.006 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1304/3.821, allocations: 33.33 MB / 1.039 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001225/3.821, allocations: 8 kB / 1.039 GB, free: 64.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01755/3.839, allocations: 1.14 MB / 1.04 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.024/3.863, allocations: 3.609 MB / 1.043 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0018/3.864, allocations: 143.8 kB / 1.044 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/3.886, allocations: 13.6 MB / 1.057 GB, free: 48.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004732/3.891, allocations: 5.88 MB / 1.063 GB, free: 42.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06497/3.956, allocations: 23.59 MB / 1.086 GB, free: 20.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/3.958, allocations: 0.6955 MB / 1.086 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003298/3.962, allocations: 135.1 kB / 1.086 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01/3.972, allocations: 0.5928 MB / 1.087 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002301/3.974, allocations: 384.3 kB / 1.087 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001106/3.975, allocations: 159.9 kB / 1.087 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01061/3.986, allocations: 3.93 MB / 1.091 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.693e-06/3.986, allocations: 4 kB / 1.091 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01684/4.003, allocations: 2.539 MB / 1.094 GB, free: 12.48 MB / 0.5261 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.4968/4.5, allocations: 26.17 MB / 1.119 GB, free: 116.8 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.04126/4.541, allocations: 16.34 MB / 1.135 GB, free: 115.3 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/4.541, allocations: 2.625 kB / 1.135 GB, free: 115.3 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02301/4.564, allocations: 8.073 MB / 1.143 GB, free: 113.8 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009046/4.573, allocations: 0.8642 MB / 1.144 GB, free: 113.7 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08701/4.66, allocations: 26.54 MB / 1.17 GB, free: 108.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01885/4.679, allocations: 6.828 MB / 1.177 GB, free: 107.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02344/4.703, allocations: 4.8 MB / 1.181 GB, free: 107.5 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01304/4.716, allocations: 4.363 MB / 1.186 GB, free: 105.1 MB / 0.5418 GB Notification: Performance of SimCode: time 2.895e-06/4.716, allocations: 0 / 1.186 GB, free: 105.1 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8777/5.593, allocations: 174.6 MB / 1.356 GB, free: 107.5 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/5.594, allocations: 189 kB / 1.356 GB, free: 107.2 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/14.47, allocations: 1.094 kB / 1.356 GB, free: 107.2 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FlyingBodies_res.mat does not exist to compare? outputFormat=mat