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_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.547e-05, allocations: 7.906 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.001706/0.3032, allocations: 1.012 MB / 304.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3056, allocations: 0.9041 MB / 305.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3057, allocations: 0 / 305.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.3063, allocations: 65.16 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.3064, allocations: 20.86 kB / 305.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.3072, allocations: 139.8 kB / 305.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3074, allocations: 59.34 kB / 305.5 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.3074, allocations: 1.062 kB / 305.5 MB, free: 11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.3076, allocations: 47.12 kB / 305.5 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3078, allocations: 45.17 kB / 305.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.3084, allocations: 183.4 kB / 305.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.3085, allocations: 8.844 kB / 305.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3087, allocations: 199.9 kB / 306 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3088, allocations: 42.53 kB / 306 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.3096, allocations: 373.2 kB / 306.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3096, allocations: 4.875 kB / 306.4 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3096, allocations: 0 / 306.4 MB, free: 10.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.3096, allocations: 4 kB / 306.4 MB, free: 10.58 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.001281/0.3109, allocations: 1.023 MB / 307.4 MB, free: 9.531 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.311, allocations: 8.031 kB / 307.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3111, allocations: 74.97 kB / 307.5 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.3115, allocations: 269.9 kB / 307.7 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3116, allocations: 8 kB / 307.8 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3116, allocations: 8 kB / 307.8 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.3128, allocations: 0.9115 MB / 308.7 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3128, allocations: 3.938 kB / 308.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3128, allocations: 8 kB / 308.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3128, allocations: 0 / 308.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3139, allocations: 0.8571 MB / 309.5 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.3145, allocations: 399.9 kB / 309.9 MB, free: 6.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.3168, allocations: 2.16 MB / 312.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3168, allocations: 0 / 312.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.3183, allocations: 1.166 MB / 313.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of pre-optimization done (n=246): time 3.587e-06/0.3184, allocations: 0 / 313.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=246): time 0.008044/0.3264, allocations: 5.254 MB / 318.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004274/0.3269, allocations: 424.5 kB / 318.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.3272, allocations: 181.6 kB / 319.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004311/0.3277, allocations: 197.6 kB / 319.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3278, allocations: 178.6 kB / 319.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.3291, allocations: 0.9718 MB / 320.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3293, allocations: 80 kB / 320.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003166/0.3296, allocations: 487.4 kB / 321 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/0.3325, allocations: 1.093 MB / 322.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004461/0.337, allocations: 2.809 MB / 324.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/0.3414, allocations: 1.645 MB / 326.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.856e-05/0.3415, allocations: 20 kB / 326.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01115/0.3527, allocations: 3.99 MB / 330.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.3528, allocations: 57.7 kB / 330.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.3529, allocations: 63.98 kB / 330.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.3531, allocations: 92 kB / 330.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.3563, allocations: 0.565 MB / 331.3 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001649/0.3565, allocations: 119.6 kB / 331.4 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.3587, allocations: 325.2 kB / 331.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004761/0.3592, allocations: 200 kB / 332 MB, free: 15.85 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.001557/0.3608, allocations: 0.837 MB / 332.8 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.3611, allocations: 115 kB / 332.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.3612, allocations: 21.92 kB / 332.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3612, allocations: 0 / 332.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3612, allocations: 0 / 332.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3612, allocations: 0 / 332.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.362, allocations: 0.5524 MB / 333.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.362, allocations: 0 / 333.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-06/0.362, allocations: 4 kB / 333.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.362, allocations: 3.938 kB / 333.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.3622, allocations: 47.98 kB / 333.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3622, allocations: 0 / 333.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3622, allocations: 0 / 333.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/0.3914, allocations: 22.35 MB / 355.9 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.3918, allocations: 183.5 kB / 356.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.3921, allocations: 67.95 kB / 356.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.3925, allocations: 35.98 kB / 356.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.3927, allocations: 24 kB / 356.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.3928, allocations: 48.02 kB / 356.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.393, allocations: 127.2 kB / 356.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.393, allocations: 0 / 356.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002857/0.3959, allocations: 0.5117 MB / 356.9 MB, free: 6.812 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.001188/0.3971, allocations: 383.1 kB / 357.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007991/0.4051, allocations: 3.434 MB / 360.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.4052, allocations: 0 / 360.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06451/0.4697, allocations: 59.46 MB / 420.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.4703, allocations: 44.25 kB / 420.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.4756, allocations: 2.442 MB / 422.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.4765, allocations: 1.014 MB / 423.6 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.4768, allocations: 75.44 kB / 423.7 MB, free: 3.895 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4769, allocations: 4 kB / 423.7 MB, free: 3.891 MB / 362.7 MB [CodegenCppCommon.tpl:1601:11-1601:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.