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_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.119e-05, allocations: 7.234 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5411, allocations: 78.3 MB / 421.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.5414, allocations: 71.34 kB / 421.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05939/0.6008, allocations: 13.58 MB / 435 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6008, allocations: 0 / 435 MB, free: 4.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.6008, allocations: 8 kB / 435 MB, free: 4.402 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.00124/0.6021, allocations: 0.9718 MB / 436 MB, free: 3.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6021, allocations: 12.03 kB / 436 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.6023, allocations: 71.02 kB / 436.1 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/0.6174, allocations: 3.735 MB / 439.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6174, allocations: 4 kB / 439.8 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.6175, allocations: 15.75 kB / 439.8 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6187, allocations: 0.7809 MB / 440.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-06/0.6187, allocations: 0 / 440.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.6187, allocations: 8 kB / 440.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.002e-06/0.6187, allocations: 3.953 kB / 440.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.6196, allocations: 0.7032 MB / 441.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.6202, allocations: 399.8 kB / 441.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.6218, allocations: 1.804 MB / 443.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.6239, allocations: 1.805 MB / 445.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.6239, allocations: 0 / 445.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.6254, allocations: 1.025 MB / 446.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 2.812e-06/0.6254, allocations: 0 / 446.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.007953/0.6333, allocations: 2.041 MB / 448.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003872/0.6338, allocations: 400.5 kB / 448.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.634, allocations: 165.8 kB / 449 MB, free: 8.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.6344, allocations: 189.6 kB / 449.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.6345, allocations: 107.9 kB / 449.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.6355, allocations: 0.9216 MB / 450.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.6357, allocations: 72.03 kB / 450.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003427/0.636, allocations: 466.7 kB / 450.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.6381, allocations: 0.9948 MB / 451.7 MB, free: 5.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00351/0.6416, allocations: 2.554 MB / 454.2 MB, free: 2.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.6446, allocations: 1.519 MB / 455.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.727e-05/0.6447, allocations: 16 kB / 455.8 MB, free: 1.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.00809/0.6528, allocations: 3.503 MB / 459.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.653, allocations: 57.7 kB / 459.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-05/0.6531, allocations: 52 kB / 459.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.6532, allocations: 84 kB / 459.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.6552, allocations: 0.5183 MB / 460 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001409/0.6554, allocations: 111.6 kB / 460.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.6572, allocations: 305 kB / 460.4 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.6576, allocations: 180 kB / 460.6 MB, free: 12.32 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.00105/0.6587, allocations: 0.6552 MB / 461.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.6589, allocations: 107.1 kB / 461.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.6589, allocations: 17.16 kB / 461.3 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-06/0.659, allocations: 0 / 461.3 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.886e-06/0.659, allocations: 3.938 kB / 461.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-06/0.659, allocations: 3.984 kB / 461.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.6597, allocations: 0.5368 MB / 461.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-06/0.6597, allocations: 0 / 461.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-06/0.6597, allocations: 0 / 461.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.097e-06/0.6597, allocations: 0 / 461.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.6599, allocations: 47.98 kB / 461.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6599, allocations: 0 / 461.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-06/0.6599, allocations: 0 / 461.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03004/0.6899, allocations: 21.75 MB / 483.7 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.6902, allocations: 175.6 kB / 483.9 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.6905, allocations: 47.97 kB / 483.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.6908, allocations: 36 kB / 483.9 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.691, allocations: 20 kB / 484 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.6911, allocations: 67.98 kB / 484 MB, free: 4.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.6913, allocations: 132.3 kB / 484.2 MB, free: 4.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.6913, allocations: 4.031 kB / 484.2 MB, free: 4.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002468/0.6938, allocations: 492 kB / 484.6 MB, free: 4.129 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.001112/0.6949, allocations: 403.1 kB / 485 MB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005824/0.7008, allocations: 3.07 MB / 488.1 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.579e-06/0.7008, allocations: 3.938 kB / 488.1 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3527/1.054, allocations: 52.35 MB / 0.5278 GB, free: 155.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/1.054, allocations: 38.23 kB / 0.5278 GB, free: 155.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/1.06, allocations: 1.823 MB / 0.5296 GB, free: 155.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009337/1.061, allocations: 0.9925 MB / 0.5306 GB, free: 154.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007484/1.061, allocations: 195.5 kB / 0.5308 GB, free: 154.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/1.062, allocations: 68.92 kB / 0.5308 GB, free: 154.5 MB / 442.7 MB Notification: Performance of SimCode: time 4.321e-06/1.062, allocations: 0 / 0.5308 GB, free: 154.5 MB / 442.7 MB Notification: Performance of Templates: time 0.03563/1.097, allocations: 12.72 MB / 0.5432 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