Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,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.|info|y",fileNamePrefix="Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.929e-05, allocations: 4 kB / 292.1 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09508, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4809, allocations: 78.29 MB / 420.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.4812, allocations: 75.3 kB / 420.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05871/0.5399, allocations: 13.57 MB / 434.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.5399, allocations: 0 / 434.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.54, allocations: 12 kB / 434.5 MB, free: 4.438 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001272/0.5413, allocations: 0.9693 MB / 435.5 MB, free: 3.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5413, allocations: 8.031 kB / 435.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5415, allocations: 71.02 kB / 435.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/0.5565, allocations: 3.741 MB / 439.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.5566, allocations: 7.188 kB / 439.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.5566, allocations: 11.75 kB / 439.3 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5578, allocations: 0.7803 MB / 440.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.426e-06/0.5578, allocations: 0 / 440.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.5579, allocations: 4 kB / 440.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-06/0.5579, allocations: 7.953 kB / 440.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.5588, allocations: 0.702 MB / 440.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.5594, allocations: 399.3 kB / 441.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.561, allocations: 1.809 MB / 443 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.5631, allocations: 1.797 MB / 444.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5631, allocations: 0 / 444.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.5645, allocations: 1.029 MB / 445.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 2.777e-06/0.5645, allocations: 0 / 445.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.007844/0.5724, allocations: 2.041 MB / 447.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003819/0.5728, allocations: 404.4 kB / 448.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.5731, allocations: 169.8 kB / 448.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003195/0.5734, allocations: 189.5 kB / 448.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.5735, allocations: 103.9 kB / 448.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.5745, allocations: 0.9216 MB / 449.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.5747, allocations: 80.03 kB / 449.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003275/0.5751, allocations: 466.6 kB / 450.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.5772, allocations: 0.991 MB / 451.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.5808, allocations: 2.554 MB / 453.7 MB, free: 2.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.5839, allocations: 1.515 MB / 455.2 MB, free: 1.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-05/0.5839, allocations: 16 kB / 455.3 MB, free: 1.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.0105/0.5945, allocations: 3.499 MB / 458.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.5947, allocations: 57.73 kB / 458.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/0.5948, allocations: 56 kB / 458.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.5951, allocations: 84 kB / 458.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.5986, allocations: 0.5261 MB / 459.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002253/0.5989, allocations: 111.6 kB / 459.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/0.6024, allocations: 301 kB / 459.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006408/0.6031, allocations: 184 kB / 460.1 MB, free: 12.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 51 ($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 (470): * Single equations (assignments): 469 * 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.001764/0.6049, allocations: 0.6435 MB / 460.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.6054, allocations: 103.1 kB / 460.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.6055, allocations: 29.14 kB / 460.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.6055, allocations: 0 / 460.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.389e-06/0.6055, allocations: 3.938 kB / 460.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6055, allocations: 0 / 460.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.6068, allocations: 0.5329 MB / 461.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6068, allocations: 0 / 461.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-06/0.6068, allocations: 0 / 461.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.6068, allocations: 3.984 kB / 461.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.6071, allocations: 43.98 kB / 461.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.745e-06/0.6071, allocations: 0 / 461.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6071, allocations: 0 / 461.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05206/0.6592, allocations: 21.75 MB / 483.2 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.6594, allocations: 175.6 kB / 483.3 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.6597, allocations: 47.97 kB / 483.4 MB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.66, allocations: 32 kB / 483.4 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6602, allocations: 27.98 kB / 483.4 MB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.6604, allocations: 60 kB / 483.5 MB, free: 4.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.6605, allocations: 132.3 kB / 483.6 MB, free: 4.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.6605, allocations: 4.031 kB / 483.6 MB, free: 4.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002593/0.6632, allocations: 496 kB / 484.1 MB, free: 4.082 MB / 394.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: 26 ($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],info,iTick,y_buf[200]) * Number of discrete states: 26 (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.001108/0.6643, allocations: 395 kB / 484.5 MB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005723/0.67, allocations: 3.074 MB / 487.6 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.403e-06/0.6701, allocations: 3.938 kB / 487.6 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3864/1.057, allocations: 52.35 MB / 0.5273 GB, free: 155.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/1.057, allocations: 39.42 kB / 0.5273 GB, free: 155.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/1.06, allocations: 1.822 MB / 0.5291 GB, free: 155.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/1.061, allocations: 0.9966 MB / 0.5301 GB, free: 154.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004767/1.061, allocations: 193.3 kB / 0.5303 GB, free: 154.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/1.062, allocations: 68.84 kB / 0.5303 GB, free: 154.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.927e-06/1.062, allocations: 0 / 0.5303 GB, free: 154.5 MB / 442.7 MB Notification: Performance of Templates: time 0.03353/1.095, allocations: 12.72 MB / 0.5427 GB, free: 151.6 MB / 442.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],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],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