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.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.286e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08715, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.4811, allocations: 77.25 MB / 394.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004772/0.4816, allocations: 73.78 kB / 394.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09448/0.5761, allocations: 13.46 MB / 407.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.5762, allocations: 0 / 407.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.951e-05/0.5763, allocations: 8 kB / 407.7 MB, free: 15.47 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001967/0.5783, allocations: 0.9572 MB / 408.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.5783, allocations: 12.03 kB / 408.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.5786, allocations: 74.91 kB / 408.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02438/0.603, allocations: 3.704 MB / 412.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.6031, allocations: 11.19 kB / 412.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.6031, allocations: 14.77 kB / 412.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.6051, allocations: 0.7818 MB / 413.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6051, allocations: 0 / 413.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.6052, allocations: 3.938 kB / 413.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6052, allocations: 0 / 413.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.6074, allocations: 0.7089 MB / 414 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.6085, allocations: 403.5 kB / 414.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.6122, allocations: 1.803 MB / 416.2 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.6158, allocations: 1.8 MB / 418 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.6159, allocations: 3.953 kB / 418 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002859/0.6188, allocations: 1.022 MB / 419 MB, free: 8.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=225): time 6.744e-06/0.6188, allocations: 0 / 419 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=225): time 0.01793/0.6368, allocations: 2.046 MB / 421.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007792/0.6376, allocations: 401.8 kB / 421.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.6381, allocations: 174.8 kB / 421.6 MB, free: 6.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006615/0.6388, allocations: 186.4 kB / 421.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.639, allocations: 94.88 kB / 421.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001997/0.641, allocations: 0.9343 MB / 422.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003543/0.6414, allocations: 74.56 kB / 422.9 MB, free: 5.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0006201/0.6421, allocations: 466.1 kB / 423.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004663/0.6467, allocations: 0.9917 MB / 424.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007781/0.6546, allocations: 2.559 MB / 426.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.6616, allocations: 1.515 MB / 428.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.6618, allocations: 16 kB / 428.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01819/0.68, allocations: 3.499 MB / 431.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.6803, allocations: 57.66 kB / 432 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/0.6805, allocations: 56 kB / 432 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.6808, allocations: 87.98 kB / 432.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/0.6848, allocations: 0.5183 MB / 432.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001396/0.685, allocations: 112.1 kB / 432.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.6868, allocations: 297.1 kB / 433.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003492/0.6872, allocations: 184 kB / 433.2 MB, free: 10.34 MB / 346.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.001029/0.6882, allocations: 0.6435 MB / 433.9 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6885, allocations: 115 kB / 434 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.6886, allocations: 21.11 kB / 434 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-06/0.6886, allocations: 0 / 434 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.693e-06/0.6886, allocations: 0 / 434 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-06/0.6886, allocations: 0 / 434 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.6893, allocations: 0.533 MB / 434.5 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-06/0.6894, allocations: 3.938 kB / 434.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.868e-06/0.6894, allocations: 4 kB / 434.5 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.369e-06/0.6894, allocations: 3.984 kB / 434.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.6895, allocations: 36 kB / 434.6 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.6895, allocations: 7.953 kB / 434.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-06/0.6895, allocations: 0 / 434.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03024/0.7198, allocations: 21.75 MB / 456.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.72, allocations: 179.6 kB / 456.5 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.7202, allocations: 43.98 kB / 456.6 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.7206, allocations: 32.03 kB / 456.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7208, allocations: 35.94 kB / 456.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.7209, allocations: 56 kB / 456.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.7211, allocations: 136.3 kB / 456.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.7211, allocations: 4 kB / 456.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002471/0.7236, allocations: 500 kB / 457.3 MB, free: 2.137 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: 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.001057/0.7247, allocations: 381.8 kB / 457.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005837/0.7305, allocations: 3.075 MB / 460.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.587e-06/0.7306, allocations: 0 / 460.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05472/0.7853, allocations: 52.35 MB / 0.5011 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.786, allocations: 32.19 kB / 0.5011 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.7917, allocations: 1.83 MB / 0.5029 GB, free: 8.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.7931, allocations: 0.9913 MB / 0.5039 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008497/0.7939, allocations: 196.9 kB / 0.5041 GB, free: 7.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.7944, allocations: 71.44 kB / 0.5041 GB, free: 7.152 MB / 426.7 MB Notification: Performance of SimCode: time 2.796e-06/0.7944, allocations: 0 / 0.5041 GB, free: 7.152 MB / 426.7 MB Notification: Performance of Templates: time 0.2806/1.075, allocations: 12.71 MB / 0.5165 GB, free: 154.3 MB / 426.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