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_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.431e-05/4.445e-05, allocations: 4 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 50.41 MB / 343.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5228, allocations: 78.07 MB / 421.1 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5232, allocations: 73.94 kB / 421.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06701/0.5902, allocations: 13.72 MB / 434.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.148e-06/0.5902, allocations: 0 / 434.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.5903, allocations: 11.78 kB / 434.9 MB, free: 4.848 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.0009183/0.5912, allocations: 1.028 MB / 436 MB, free: 4.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5913, allocations: 11.53 kB / 436 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.5914, allocations: 77.48 kB / 436.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.6053, allocations: 3.744 MB / 439.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.6053, allocations: 7.844 kB / 439.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.6054, allocations: 11.25 kB / 439.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.6064, allocations: 0.858 MB / 440.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.221e-06/0.6064, allocations: 0 / 440.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.6065, allocations: 7.906 kB / 440.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-06/0.6065, allocations: 7.891 kB / 440.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.6073, allocations: 0.7709 MB / 441.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.6077, allocations: 411.2 kB / 441.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.6093, allocations: 2.083 MB / 443.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.6108, allocations: 2.068 MB / 446 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.19e-06/0.6108, allocations: 0 / 446 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6119, allocations: 1.116 MB / 447.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=246): time 3.884e-06/0.6119, allocations: 0 / 447.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=246): time 0.007446/0.6194, allocations: 2.217 MB / 449.3 MB, free: 1.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/0.6197, allocations: 432.1 kB / 449.8 MB, free: 1.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.6198, allocations: 167.7 kB / 449.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.6201, allocations: 205.1 kB / 450.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.6202, allocations: 103.5 kB / 450.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/0.6208, allocations: 0.9692 MB / 451.2 MB, free: 288 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.621, allocations: 85.19 kB / 451.3 MB, free: 284 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.6212, allocations: 482.4 kB / 451.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.6231, allocations: 1.063 MB / 452.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.6265, allocations: 2.769 MB / 455.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.6296, allocations: 1.628 MB / 457.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/0.6296, allocations: 20 kB / 457.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008039/0.6377, allocations: 3.78 MB / 461 MB, free: 7.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.6378, allocations: 57.7 kB / 461.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.023e-05/0.6379, allocations: 56 kB / 461.1 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.6381, allocations: 96.77 kB / 461.2 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.6402, allocations: 0.565 MB / 461.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/0.6404, allocations: 127.6 kB / 461.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.6428, allocations: 328.7 kB / 462.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/0.6432, allocations: 196 kB / 462.4 MB, free: 6.371 MB / 346.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.001269/0.6445, allocations: 0.7267 MB / 463.2 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.6447, allocations: 115 kB / 463.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.6448, allocations: 17.94 kB / 463.3 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6448, allocations: 0 / 463.3 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6448, allocations: 11.88 kB / 463.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-06/0.6448, allocations: 0 / 463.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.6456, allocations: 0.5679 MB / 463.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-06/0.6456, allocations: 0 / 463.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-06/0.6456, allocations: 7.984 kB / 463.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.597e-06/0.6456, allocations: 0 / 463.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.6458, allocations: 44 kB / 463.9 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.238e-06/0.6458, allocations: 0 / 463.9 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.587e-06/0.6458, allocations: 7.984 kB / 463.9 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03124/0.677, allocations: 22.22 MB / 486.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.6773, allocations: 175.6 kB / 486.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.6776, allocations: 67.95 kB / 486.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.678, allocations: 36.03 kB / 486.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.6781, allocations: 27.98 kB / 486.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.6783, allocations: 79.98 kB / 486.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.6785, allocations: 132.3 kB / 486.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.6785, allocations: 0 / 486.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002693/0.6812, allocations: 0.523 MB / 487.2 MB, free: 13.5 MB / 378.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.0012/0.6825, allocations: 425.8 kB / 487.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006434/0.6889, allocations: 3.314 MB / 490.9 MB, free: 9.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.689, allocations: 4.75 kB / 490.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06014/0.7491, allocations: 59.45 MB / 0.5375 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.7495, allocations: 44.08 kB / 0.5375 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.7531, allocations: 1.944 MB / 0.5394 GB, free: 12.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008247/0.754, allocations: 1.015 MB / 0.5404 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005972/0.7546, allocations: 206 kB / 0.5406 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.7549, allocations: 87.38 kB / 0.5407 GB, free: 10.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.747e-06/0.7549, allocations: 0 / 0.5407 GB, free: 10.99 MB / 442.7 MB Notification: Performance of Templates: time 0.3167/1.072, allocations: 13.64 MB / 0.554 GB, free: 152.2 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],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