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_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.49e-05, allocations: 0 / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09696, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4753, allocations: 72.76 MB / 372.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4756, allocations: 74.25 kB / 372.7 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05393/0.5295, allocations: 13.19 MB / 385.9 MB, free: 21.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5296, allocations: 0 / 385.9 MB, free: 21.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.879e-05/0.5296, allocations: 12.34 kB / 385.9 MB, free: 21.23 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001007/0.5306, allocations: 0.9681 MB / 386.9 MB, free: 20.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5307, allocations: 10.78 kB / 386.9 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.5308, allocations: 64.53 kB / 387 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.5445, allocations: 3.714 MB / 390.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.5446, allocations: 7.344 kB / 390.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.5446, allocations: 7.719 kB / 390.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009969/0.5457, allocations: 0.7854 MB / 391.5 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.566e-06/0.5457, allocations: 0 / 391.5 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.5457, allocations: 0 / 391.5 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-06/0.5457, allocations: 0 / 391.5 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.5465, allocations: 0.7137 MB / 392.2 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.547, allocations: 397.5 kB / 392.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.5484, allocations: 1.804 MB / 394.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.5498, allocations: 1.797 MB / 396.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-06/0.5498, allocations: 3.938 kB / 396.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.5509, allocations: 1.026 MB / 397.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 3.639e-06/0.5509, allocations: 4 kB / 397.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.007487/0.5584, allocations: 2.04 MB / 399.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/0.5587, allocations: 402.4 kB / 399.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.5589, allocations: 170.5 kB / 399.8 MB, free: 19.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.5592, allocations: 186.8 kB / 400 MB, free: 19.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.5592, allocations: 109.6 kB / 400.1 MB, free: 18.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/0.5599, allocations: 0.9211 MB / 401 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.5601, allocations: 72.25 kB / 401.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5603, allocations: 474.9 kB / 401.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.562, allocations: 0.989 MB / 402.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.5643, allocations: 2.555 MB / 405.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.5669, allocations: 1.524 MB / 406.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.312e-05/0.5669, allocations: 15.59 kB / 406.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.007419/0.5744, allocations: 3.494 MB / 410.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.962e-05/0.5745, allocations: 60.77 kB / 410.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-05/0.5746, allocations: 58.78 kB / 410.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.5747, allocations: 82.03 kB / 410.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.5767, allocations: 0.5252 MB / 410.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.667e-05/0.5768, allocations: 112.2 kB / 411 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.5786, allocations: 300.8 kB / 411.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.579, allocations: 181.8 kB / 411.4 MB, free: 15.16 MB / 314.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.0008498/0.5798, allocations: 0.6507 MB / 412.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.5801, allocations: 110 kB / 412.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.5801, allocations: 16.84 kB / 412.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/0.5801, allocations: 0 / 412.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-06/0.5802, allocations: 4 kB / 412.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.441e-06/0.5802, allocations: 3.906 kB / 412.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.5807, allocations: 0.5239 MB / 412.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5807, allocations: 3.953 kB / 412.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-06/0.5807, allocations: 0 / 412.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.5807, allocations: 0 / 412.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.5808, allocations: 44.78 kB / 412.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.565e-06/0.5809, allocations: 3.938 kB / 412.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-06/0.5809, allocations: 0 / 412.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/0.6028, allocations: 21.75 MB / 434.5 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.603, allocations: 179.5 kB / 434.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.6032, allocations: 47.97 kB / 434.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.6036, allocations: 32 kB / 434.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6037, allocations: 23.98 kB / 434.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.6039, allocations: 64 kB / 434.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.604, allocations: 132.2 kB / 435 MB, free: 4.406 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.366e-06/0.604, allocations: 0 / 435 MB, free: 4.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002388/0.6064, allocations: 0.492 MB / 435.5 MB, free: 3.914 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: 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.0009048/0.6074, allocations: 371.2 kB / 435.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.612, allocations: 3.066 MB / 438.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.453e-06/0.612, allocations: 1.812 kB / 438.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05278/0.6648, allocations: 52.36 MB / 491.3 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.6653, allocations: 32.19 kB / 491.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.6689, allocations: 1.822 MB / 493.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/0.6697, allocations: 1.003 MB / 494.1 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006453/0.6704, allocations: 192.9 kB / 494.3 MB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.6707, allocations: 67.44 kB / 494.4 MB, free: 8.953 MB / 378.7 MB Notification: Performance of SimCode: time 2.119e-06/0.6707, allocations: 0 / 494.4 MB, free: 8.953 MB / 378.7 MB Notification: Performance of Templates: time 0.03087/0.7016, allocations: 12.68 MB / 0.4952 GB, free: 12.26 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],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