Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_2_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.288/2.288, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.819e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.4798, allocations: 72.1 MB / 366.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/0.4803, allocations: 71.97 kB / 366.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07196/0.5523, allocations: 13.28 MB / 379.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.961e-06/0.5524, allocations: 3.938 kB / 379.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.5524, allocations: 15.94 kB / 379.7 MB, free: 12.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001507/0.554, allocations: 1.022 MB / 380.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.554, allocations: 8.031 kB / 380.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.5542, allocations: 74.97 kB / 380.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01708/0.5713, allocations: 3.696 MB / 384.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5714, allocations: 4 kB / 384.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.5714, allocations: 7.938 kB / 384.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001269/0.5727, allocations: 0.7751 MB / 385.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5741, allocations: 0.849 MB / 386.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5742, allocations: 0 / 386.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.5742, allocations: 4 kB / 386.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5742, allocations: 4 kB / 386.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.5748, allocations: 298.4 kB / 386.4 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.5773, allocations: 2.071 MB / 388.5 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.5799, allocations: 2.071 MB / 390.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.58, allocations: 0 / 390.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.5817, allocations: 1.111 MB / 391.7 MB, free: 276 kB / 330.7 MB Notification: Performance of pre-optimization done (n=246): time 3.827e-06/0.5818, allocations: 4 kB / 391.7 MB, free: 272 kB / 330.7 MB Notification: Performance of matching and sorting (n=246): time 0.009268/0.5911, allocations: 1.992 MB / 393.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004079/0.5915, allocations: 432.4 kB / 394.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.5918, allocations: 167.3 kB / 394.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.5922, allocations: 157.6 kB / 394.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.5922, allocations: 108.2 kB / 394.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.5935, allocations: 0.9485 MB / 395.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.5938, allocations: 0 / 395.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003977/0.5942, allocations: 487.4 kB / 395.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.5969, allocations: 0.9838 MB / 396.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/0.6013, allocations: 2.688 MB / 399.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/0.6057, allocations: 1.521 MB / 401.1 MB, free: 5.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/0.6059, allocations: 16 kB / 401.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01026/0.6162, allocations: 3.443 MB / 404.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.6164, allocations: 61.69 kB / 404.7 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.6165, allocations: 64 kB / 404.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.6166, allocations: 92 kB / 404.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/0.6199, allocations: 0.5573 MB / 405.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000154/0.6201, allocations: 127.5 kB / 405.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.6224, allocations: 248.8 kB / 405.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.6229, allocations: 200.4 kB / 405.9 MB, free: 1.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$PRE.Ai[21],Ai[21],$PRE.Ai[20],Ai[20],$PRE.Ai[19],Ai[19],$PRE.Ai[18],Ai[18],$PRE.Ai[17],Ai[17],$PRE.Ai[16],Ai[16],$PRE.Ai[15],Ai[15],$PRE.Ai[14],Ai[14],$PRE.Ai[13],Ai[13],$PRE.Ai[12],Ai[12],$PRE.Ai[11],Ai[11],$PRE.Ai[10],Ai[10],$PRE.Ai[9],Ai[9],$PRE.Ai[8],Ai[8],$PRE.Ai[7],Ai[7],$PRE.Ai[6],Ai[6],$PRE.Ai[5],Ai[5],$PRE.Ai[4],Ai[4],$PRE.Ai[3],Ai[3],$PRE.Ai[2],Ai[2],$PRE.Ai[1],Ai[1],$PRE.info,info,$PRE.y_buf[200],y_buf[200],$PRE.y,y,$PRE.iTick,iTick,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 511 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.6242, allocations: 0.6422 MB / 406.6 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01208/0.6364, allocations: 3.05 MB / 409.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.6367, allocations: 115 kB / 409.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.6368, allocations: 26.17 kB / 409.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6368, allocations: 3.984 kB / 409.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6368, allocations: 0 / 409.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6368, allocations: 0 / 409.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.6375, allocations: 454.3 kB / 410.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6375, allocations: 3.953 kB / 410.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.6376, allocations: 4 kB / 410.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.6376, allocations: 3.984 kB / 410.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.6377, allocations: 48.03 kB / 410.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6377, allocations: 0 / 410.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6377, allocations: 0 / 410.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.6496, allocations: 3.142 MB / 413.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.6499, allocations: 183.5 kB / 413.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.6503, allocations: 71.94 kB / 413.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.6508, allocations: 32 kB / 413.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.651, allocations: 28 kB / 413.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.6512, allocations: 76.02 kB / 413.8 MB, free: 9.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.6514, allocations: 128.2 kB / 413.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.165e-06/0.6514, allocations: 0 / 413.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00305/0.6544, allocations: 459.9 kB / 414.4 MB, free: 8.527 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,y,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],Ai[21],Ai[20],Ai[19],Ai[18],Ai[17],Ai[16],Ai[15],Ai[14],Ai[13],Ai[12],Ai[11],Ai[10],Ai[9],Ai[8],Ai[7],Ai[6],Ai[5],Ai[4],Ai[3],Ai[2],Ai[1],info,y_buf[200],y,iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/0.6662, allocations: 5.947 MB / 420.3 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2619/0.9282, allocations: 3.185 MB / 423.5 MB, free: 112.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.9283, allocations: 0 / 423.5 MB, free: 112.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04472/0.973, allocations: 59.41 MB / 482.9 MB, free: 64.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.9736, allocations: 36.97 kB / 482.9 MB, free: 64.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.979, allocations: 2.141 MB / 485.1 MB, free: 62.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/0.9801, allocations: 1.019 MB / 486.1 MB, free: 60.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.9811, allocations: 214.3 kB / 486.3 MB, free: 60.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008491/0.982, allocations: 263.4 kB / 486.6 MB, free: 60.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.983e-06/0.9821, allocations: 0 / 486.6 MB, free: 60.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.095, allocations: 20.83 MB / 0.4955 GB, free: 39.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/1.096, allocations: 168.4 kB / 0.4957 GB, free: 39.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/4.605, allocations: 0 / 0.4957 GB, free: 39.72 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat