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 1.952/1.952, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.804e-05, allocations: 4 kB / 258.8 MB, free: 7.871 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3496, allocations: 44.51 MB / 303.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.002196/0.3519, allocations: 1.013 MB / 304.3 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3546, allocations: 0.8923 MB / 305.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.3547, allocations: 3.938 kB / 305.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.3553, allocations: 65.09 kB / 305.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.3554, allocations: 13.09 kB / 305.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.3561, allocations: 147 kB / 305.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3563, allocations: 55.98 kB / 305.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3564, allocations: 7.984 kB / 305.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.3566, allocations: 52.62 kB / 305.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3567, allocations: 33.25 kB / 305.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006068/0.3574, allocations: 182.4 kB / 305.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.3575, allocations: 9.594 kB / 305.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.3577, allocations: 183.7 kB / 306 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3579, allocations: 44 kB / 306 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007687/0.3587, allocations: 361.4 kB / 306.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3587, allocations: 3.938 kB / 306.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3587, allocations: 0 / 306.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.3588, allocations: 0 / 306.4 MB, free: 10.54 MB / 250.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.001555/0.3603, allocations: 0.9599 MB / 307.3 MB, free: 9.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3604, allocations: 12.02 kB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3605, allocations: 67.06 kB / 307.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3609, allocations: 258 kB / 307.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3609, allocations: 8 kB / 307.7 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.361, allocations: 12 kB / 307.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3621, allocations: 0.8373 MB / 308.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3621, allocations: 3.938 kB / 308.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3621, allocations: 4 kB / 308.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3622, allocations: 0 / 308.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/0.3631, allocations: 0.7751 MB / 309.3 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.3636, allocations: 384.1 kB / 309.7 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3657, allocations: 1.879 MB / 311.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.3657, allocations: 0 / 311.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.367, allocations: 1.072 MB / 312.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=225): time 2.605e-06/0.367, allocations: 0 / 312.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=225): time 0.00696/0.374, allocations: 4.676 MB / 317.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000359/0.3744, allocations: 396.5 kB / 317.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3746, allocations: 177.7 kB / 317.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003487/0.375, allocations: 189.6 kB / 318 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.3751, allocations: 103.9 kB / 318.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009936/0.3761, allocations: 0.9217 MB / 319.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3763, allocations: 76 kB / 319.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003388/0.3766, allocations: 466.6 kB / 319.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.3792, allocations: 1.018 MB / 320.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/0.3831, allocations: 2.604 MB / 323.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.3869, allocations: 1.527 MB / 324.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.746e-05/0.387, allocations: 16 kB / 324.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009897/0.3969, allocations: 3.704 MB / 328.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.3971, allocations: 53.7 kB / 328.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.3972, allocations: 59.94 kB / 328.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.3973, allocations: 84 kB / 328.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.4003, allocations: 0.5228 MB / 329.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001335/0.4004, allocations: 107.6 kB / 329.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.4023, allocations: 313 kB / 329.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.4026, allocations: 184 kB / 329.8 MB, free: 2.074 MB / 266.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.001264/0.4039, allocations: 0.7458 MB / 330.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.4041, allocations: 103.1 kB / 330.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.4042, allocations: 17.16 kB / 330.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4042, allocations: 3.938 kB / 330.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4042, allocations: 0 / 330.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4042, allocations: 0 / 330.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.4049, allocations: 0.5174 MB / 331.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4049, allocations: 7.953 kB / 331.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-06/0.4049, allocations: 0 / 331.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4049, allocations: 0 / 331.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4051, allocations: 35.98 kB / 331.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4051, allocations: 0 / 331.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4051, allocations: 3.984 kB / 331.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02654/0.4316, allocations: 21.86 MB / 353.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.4319, allocations: 175.6 kB / 353.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.4321, allocations: 47.97 kB / 353.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.4325, allocations: 32.03 kB / 353.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.4327, allocations: 28 kB / 353.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.4328, allocations: 31.98 kB / 353.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.433, allocations: 131.2 kB / 353.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.433, allocations: 0 / 353.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002412/0.4354, allocations: 488 kB / 354 MB, free: 9.73 MB / 298.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.001044/0.4365, allocations: 357.2 kB / 354.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006739/0.4432, allocations: 3.176 MB / 357.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.4433, allocations: 4.062 kB / 357.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05543/0.4987, allocations: 52.36 MB / 409.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.4992, allocations: 36.19 kB / 409.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.5034, allocations: 2.252 MB / 412.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.5041, allocations: 0.9913 MB / 413.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.5046, allocations: 188.9 kB / 413.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.5048, allocations: 71.44 kB / 413.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.5048, allocations: 0 / 413.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Templates: time 0.06494/0.5698, allocations: 12.71 MB / 426.1 MB, free: 1.508 MB / 362.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