Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|y",fileNamePrefix="Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.48e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07827, allocations: 44.51 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4373, allocations: 72.77 MB / 372.7 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4375, allocations: 73.77 kB / 372.7 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05511/0.4927, allocations: 13.35 MB / 386.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.475e-06/0.4927, allocations: 2.75 kB / 386.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.4928, allocations: 11.91 kB / 386.1 MB, free: 21.07 MB / 314.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.001104/0.4939, allocations: 1.016 MB / 387.1 MB, free: 20.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4939, allocations: 9.719 kB / 387.1 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.4941, allocations: 72.19 kB / 387.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.508, allocations: 3.719 MB / 390.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.508, allocations: 7.375 kB / 390.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.5081, allocations: 19.42 kB / 390.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5092, allocations: 0.8505 MB / 391.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5092, allocations: 3.984 kB / 391.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.5093, allocations: 0 / 391.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-06/0.5093, allocations: 0 / 391.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.5101, allocations: 0.7753 MB / 392.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.5106, allocations: 422.4 kB / 393 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.5122, allocations: 2.075 MB / 395 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.5139, allocations: 2.076 MB / 397.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-06/0.5139, allocations: 0 / 397.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.515, allocations: 1.115 MB / 398.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 3.135e-06/0.5151, allocations: 0 / 398.2 MB, free: 19.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.007816/0.5229, allocations: 2.212 MB / 400.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/0.5232, allocations: 428.4 kB / 400.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5234, allocations: 170.8 kB / 401 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.5236, allocations: 201.1 kB / 401.2 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.5237, allocations: 112.7 kB / 401.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006934/0.5244, allocations: 0.9689 MB / 402.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.5246, allocations: 83.72 kB / 402.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5248, allocations: 476.5 kB / 402.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.5267, allocations: 1.073 MB / 403.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.5293, allocations: 2.764 MB / 406.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.5321, allocations: 1.645 MB / 408.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/0.5322, allocations: 15.72 kB / 408.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.007708/0.5399, allocations: 3.778 MB / 412.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.5401, allocations: 61.2 kB / 412.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-05/0.5401, allocations: 59 kB / 412.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.5403, allocations: 93.8 kB / 412.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/0.5449, allocations: 0.5619 MB / 412.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002684/0.5452, allocations: 123.9 kB / 413 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/0.5503, allocations: 321.8 kB / 413.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000924/0.5512, allocations: 200.9 kB / 413.5 MB, free: 14.61 MB / 314.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.002172/0.5534, allocations: 0.7248 MB / 414.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005802/0.5541, allocations: 124.9 kB / 414.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.5541, allocations: 13.94 kB / 414.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-06/0.5542, allocations: 4 kB / 414.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-06/0.5542, allocations: 0 / 414.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.5542, allocations: 3.906 kB / 414.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.5555, allocations: 0.5587 MB / 415 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.917e-06/0.5555, allocations: 3.953 kB / 415 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-06/0.5555, allocations: 3.938 kB / 415 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.5556, allocations: 3.906 kB / 415 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006682/0.5623, allocations: 55.75 kB / 415 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.392e-06/0.5623, allocations: 0 / 415 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.346e-06/0.5624, allocations: 0 / 415 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07613/0.6385, allocations: 22.22 MB / 437.2 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.6389, allocations: 183.5 kB / 437.4 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/0.6394, allocations: 67.95 kB / 437.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.6401, allocations: 32 kB / 437.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.6404, allocations: 31.98 kB / 437.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/0.6407, allocations: 71.98 kB / 437.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.6409, allocations: 128.3 kB / 437.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.464e-06/0.6409, allocations: 3.938 kB / 437.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002912/0.6438, allocations: 0.5234 MB / 438.3 MB, free: 0.9961 MB / 314.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.0009459/0.6448, allocations: 402.6 kB / 438.7 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006049/0.6509, allocations: 3.318 MB / 442 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.109e-06/0.6509, allocations: 3.938 kB / 442 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06212/0.7131, allocations: 59.45 MB / 0.4897 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.7135, allocations: 37.38 kB / 0.4897 GB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.7172, allocations: 1.948 MB / 0.4916 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000834/0.7181, allocations: 1.015 MB / 0.4926 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005481/0.7186, allocations: 206 kB / 0.4928 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.7189, allocations: 75.44 kB / 0.4929 GB, free: 14.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.765e-06/0.7189, allocations: 0 / 0.4929 GB, free: 14.5 MB / 394.7 MB Notification: Performance of Templates: time 0.03292/0.7518, allocations: 13.61 MB / 0.5062 GB, free: 0.8672 MB / 394.7 MB "" Variables in the reference:time,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,y Variables in the result:Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[1],Ai[20],Ai[21],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[1],Phii[20],Phii[21],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],T,Ts,f1,f2,f_max,f_max_FFT,f_resolution,fi[10],fi[11],fi[12],fi[13],fi[14],fi[15],fi[16],fi[17],fi[18],fi[19],fi[1],fi[20],fi[21],fi[2],fi[3],fi[4],fi[5],fi[6],fi[7],fi[8],fi[9],info,nf,nfi,ns,time,y