Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,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.|Phii.1.|Phii.2.|Phii.3.|Phii.4.|Phii.5.|Phii.6.|Phii.7.|Phii.8.|Phii.9.|Phii.10.|Phii.11.|Phii.12.|Phii.13.|Phii.14.|Phii.15.|Phii.16.|Phii.17.|Phii.18.|Phii.19.|Phii.20.|Phii.21.|info|y",fileNamePrefix="Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.704e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2986, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.002134/0.3008, allocations: 1.019 MB / 304.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.3036, allocations: 0.8992 MB / 305.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3037, allocations: 1.094 kB / 305.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.3042, allocations: 68.72 kB / 305.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.3043, allocations: 20.86 kB / 305.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.305, allocations: 144.4 kB / 305.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3052, allocations: 58.84 kB / 305.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.3053, allocations: 1.031 kB / 305.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3055, allocations: 48.16 kB / 305.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3056, allocations: 40.47 kB / 305.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006141/0.3063, allocations: 191.1 kB / 305.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.3064, allocations: 9.156 kB / 305.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.3066, allocations: 195.8 kB / 306 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3068, allocations: 44 kB / 306 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.3077, allocations: 377.4 kB / 306.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3077, allocations: 7.938 kB / 306.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3077, allocations: 0 / 306.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3077, allocations: 0 / 306.4 MB, free: 10.5 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001633/0.3094, allocations: 1.023 MB / 307.4 MB, free: 9.422 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3094, allocations: 8.031 kB / 307.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.3096, allocations: 74.97 kB / 307.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.3101, allocations: 266 kB / 307.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3101, allocations: 4 kB / 307.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.3102, allocations: 12 kB / 307.8 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3117, allocations: 0.9115 MB / 308.7 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3118, allocations: 3.938 kB / 308.7 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3118, allocations: 4 kB / 308.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3118, allocations: 3.984 kB / 308.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3133, allocations: 0.8532 MB / 309.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.3139, allocations: 395.9 kB / 310 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.317, allocations: 2.164 MB / 312.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.317, allocations: 0 / 312.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/0.319, allocations: 1.166 MB / 313.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of pre-optimization done (n=246): time 2.565e-06/0.319, allocations: 0 / 313.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=246): time 0.01039/0.3294, allocations: 5.262 MB / 318.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003981/0.3298, allocations: 420.5 kB / 319 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.3301, allocations: 177.6 kB / 319.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004133/0.3305, allocations: 197.6 kB / 319.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.3306, allocations: 116.2 kB / 319.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.3316, allocations: 0.9718 MB / 320.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.3318, allocations: 80 kB / 320.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.3322, allocations: 487.4 kB / 321 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.3349, allocations: 1.089 MB / 322.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/0.3389, allocations: 2.821 MB / 324.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.3429, allocations: 1.641 MB / 326.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.848e-05/0.3429, allocations: 19.98 kB / 326.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01017/0.3531, allocations: 3.994 MB / 330.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/0.3533, allocations: 53.7 kB / 330.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-05/0.3533, allocations: 60 kB / 330.6 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.3535, allocations: 92 kB / 330.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.3564, allocations: 0.5657 MB / 331.3 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001419/0.3566, allocations: 127.5 kB / 331.4 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.3586, allocations: 332.7 kB / 331.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.359, allocations: 196 kB / 331.9 MB, free: 15.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$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 (512): * Single equations (assignments): 511 * 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.001384/0.3604, allocations: 0.8331 MB / 332.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.3606, allocations: 119 kB / 332.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.3607, allocations: 13.94 kB / 332.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3607, allocations: 4 kB / 332.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3607, allocations: 0 / 332.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3607, allocations: 3.984 kB / 332.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.3614, allocations: 0.5485 MB / 333.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3615, allocations: 0 / 333.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-06/0.3615, allocations: 4 kB / 333.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3615, allocations: 3.984 kB / 333.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.3616, allocations: 40 kB / 333.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3616, allocations: 0 / 333.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3616, allocations: 0 / 333.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/0.3892, allocations: 22.35 MB / 355.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3894, allocations: 179.5 kB / 356 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.3897, allocations: 67.95 kB / 356.1 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.3901, allocations: 36.03 kB / 356.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3903, allocations: 27.98 kB / 356.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.3904, allocations: 43.98 kB / 356.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3906, allocations: 127.2 kB / 356.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3906, allocations: 0 / 356.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002513/0.3931, allocations: 0.5039 MB / 356.8 MB, free: 6.777 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: 47 ($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],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],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.001055/0.3942, allocations: 394.5 kB / 357.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00723/0.4015, allocations: 3.435 MB / 360.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4015, allocations: 4.438 kB / 360.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.07612/0.4777, allocations: 59.47 MB / 420.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.4783, allocations: 36.19 kB / 420.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.4846, allocations: 2.386 MB / 422.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.4858, allocations: 1.023 MB / 423.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007871/0.4866, allocations: 206 kB / 423.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.487, allocations: 71.44 kB / 423.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.487, allocations: 0 / 423.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of Templates: time 0.2748/0.7618, allocations: 13.65 MB / 437.5 MB, free: 110.6 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],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[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],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[1],Phii[20],Phii[21],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[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