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_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.999e-05, allocations: 7.984 kB / 292.1 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.0957, allocations: 50.41 MB / 342.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5014, allocations: 78.3 MB / 420.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.5016, allocations: 82.62 kB / 420.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06009/0.5617, allocations: 13.72 MB / 434.7 MB, free: 4.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.96e-06/0.5618, allocations: 0 / 434.7 MB, free: 4.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.5618, allocations: 8 kB / 434.7 MB, free: 4.328 MB / 346.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.001302/0.5631, allocations: 1.035 MB / 435.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5632, allocations: 8.031 kB / 435.7 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.5633, allocations: 74.92 kB / 435.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.5783, allocations: 3.745 MB / 439.5 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5784, allocations: 11.61 kB / 439.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.5785, allocations: 15.5 kB / 439.6 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5797, allocations: 0.851 MB / 440.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-06/0.5797, allocations: 7.938 kB / 440.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.5798, allocations: 4 kB / 440.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-06/0.5798, allocations: 3.953 kB / 440.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5808, allocations: 0.774 MB / 441.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.5813, allocations: 412.7 kB / 441.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.5833, allocations: 2.076 MB / 443.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.5856, allocations: 2.071 MB / 445.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.5857, allocations: 4 kB / 445.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.5872, allocations: 1.115 MB / 446.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 3.324e-06/0.5872, allocations: 0 / 446.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.008341/0.5956, allocations: 2.212 MB / 449.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004033/0.596, allocations: 428.5 kB / 449.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5963, allocations: 173.7 kB / 449.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.5967, allocations: 205.5 kB / 449.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.5968, allocations: 104.3 kB / 450 MB, free: 7.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.5978, allocations: 0.9718 MB / 450.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.598, allocations: 80 kB / 451 MB, free: 6.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003602/0.5984, allocations: 487.4 kB / 451.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.6006, allocations: 1.066 MB / 452.6 MB, free: 4.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/0.6043, allocations: 2.766 MB / 455.3 MB, free: 1.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.6076, allocations: 1.629 MB / 456.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.362e-05/0.6077, allocations: 16 kB / 457 MB, free: 15.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008867/0.6166, allocations: 3.78 MB / 460.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.6167, allocations: 58.64 kB / 460.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.592e-05/0.6168, allocations: 56 kB / 460.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.6169, allocations: 92 kB / 460.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.6191, allocations: 0.5728 MB / 461.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.6193, allocations: 119.6 kB / 461.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.6214, allocations: 324.8 kB / 462 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.6218, allocations: 196 kB / 462.1 MB, free: 10.16 MB / 378.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.00118/0.623, allocations: 0.727 MB / 462.9 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.6232, allocations: 118.9 kB / 463 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.6233, allocations: 17.94 kB / 463 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.532e-06/0.6233, allocations: 11.92 kB / 463 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-06/0.6233, allocations: 0 / 463 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-06/0.6233, allocations: 0 / 463 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.6241, allocations: 0.568 MB / 463.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-06/0.6241, allocations: 4 kB / 463.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-06/0.6241, allocations: 0 / 463.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.6241, allocations: 0 / 463.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.6243, allocations: 44 kB / 463.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.529e-06/0.6243, allocations: 7.984 kB / 463.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-06/0.6243, allocations: 0 / 463.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03083/0.6551, allocations: 22.22 MB / 485.9 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.6554, allocations: 175.6 kB / 486 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.6556, allocations: 71.98 kB / 486.1 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.656, allocations: 32 kB / 486.1 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.6562, allocations: 31.98 kB / 486.2 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.6564, allocations: 71.98 kB / 486.2 MB, free: 1.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.6566, allocations: 132.3 kB / 486.4 MB, free: 1.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.96e-07/0.6566, allocations: 0 / 486.4 MB, free: 1.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002581/0.6592, allocations: 0.5273 MB / 486.9 MB, free: 1.281 MB / 394.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.001166/0.6603, allocations: 436.4 kB / 487.3 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0062/0.6666, allocations: 3.318 MB / 490.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.139e-06/0.6666, allocations: 4.375 kB / 490.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3322/0.9988, allocations: 59.45 MB / 0.5372 GB, free: 154.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.9995, allocations: 42.2 kB / 0.5372 GB, free: 154.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/1.004, allocations: 1.946 MB / 0.5391 GB, free: 154.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/1.005, allocations: 1.014 MB / 0.5401 GB, free: 153.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007759/1.006, allocations: 214.6 kB / 0.5403 GB, free: 153.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/1.007, allocations: 73.44 kB / 0.5404 GB, free: 153.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-06/1.007, allocations: 0 / 0.5404 GB, free: 153.5 MB / 442.7 MB Notification: Performance of Templates: time 0.03766/1.044, allocations: 13.64 MB / 0.5537 GB, free: 143.1 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