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_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 224.7 MB / 241.1 MB, free: 1.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.02e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001758/0.1146, allocations: 1.004 MB / 346 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.1171, allocations: 0.9381 MB / 346.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.1173, allocations: 4 kB / 346.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.1178, allocations: 71.73 kB / 347 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.118, allocations: 87.86 kB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.1187, allocations: 151.5 kB / 347.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1189, allocations: 75.88 kB / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.1189, allocations: 0 / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1191, allocations: 95.86 kB / 347.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.1195, allocations: 151.8 kB / 347.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.12, allocations: 195.6 kB / 347.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.1201, allocations: 12 kB / 347.7 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1203, allocations: 195.4 kB / 347.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1204, allocations: 40 kB / 348 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.121, allocations: 355.3 kB / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.121, allocations: 0 / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.121, allocations: 0 / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.1211, allocations: 0 / 348.3 MB, free: 5.562 MB / 282.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.001152/0.1222, allocations: 0.9792 MB / 349.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1223, allocations: 8.031 kB / 349.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.1224, allocations: 74.92 kB / 349.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1228, allocations: 254.2 kB / 349.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1228, allocations: 12 kB / 349.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1228, allocations: 4 kB / 349.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1239, allocations: 0.8295 MB / 350.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1239, allocations: 0 / 350.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1239, allocations: 4 kB / 350.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1239, allocations: 4 kB / 350.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/0.1249, allocations: 0.7868 MB / 351.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.1254, allocations: 380 kB / 351.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.1274, allocations: 1.875 MB / 353.5 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1275, allocations: 4.031 kB / 353.5 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.1288, allocations: 1.072 MB / 354.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=225): time 5.58e-06/0.1288, allocations: 7.984 kB / 354.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=225): time 0.007048/0.1359, allocations: 4.676 MB / 359.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003934/0.1363, allocations: 400.5 kB / 359.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1366, allocations: 170.2 kB / 359.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003448/0.137, allocations: 185.6 kB / 360 MB, free: 9.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1371, allocations: 174.3 kB / 360.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.1381, allocations: 0.9216 MB / 361.1 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.1383, allocations: 76 kB / 361.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003067/0.1386, allocations: 466.6 kB / 361.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.1412, allocations: 1.022 MB / 362.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/0.1452, allocations: 2.596 MB / 365.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/0.1491, allocations: 1.531 MB / 366.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.391e-05/0.1492, allocations: 16 kB / 366.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009669/0.1589, allocations: 3.69 MB / 370.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.1591, allocations: 57.77 kB / 370.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.579e-05/0.1592, allocations: 56 kB / 370.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.1593, allocations: 84 kB / 370.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.1621, allocations: 0.5261 MB / 371.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001403/0.1623, allocations: 107.6 kB / 371.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.1641, allocations: 304.9 kB / 371.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.1644, allocations: 184 kB / 371.8 MB, free: 13.04 MB / 314.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.001279/0.1657, allocations: 0.7496 MB / 372.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.1659, allocations: 107.1 kB / 372.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.166, allocations: 21.16 kB / 372.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.166, allocations: 0 / 372.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.166, allocations: 0 / 372.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.166, allocations: 4 kB / 372.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.1667, allocations: 0.5173 MB / 373.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1667, allocations: 0 / 373.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-06/0.1667, allocations: 0 / 373.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1667, allocations: 4 kB / 373.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.816e-05/0.1668, allocations: 32 kB / 373.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1668, allocations: 0 / 373.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.1668, allocations: 7.984 kB / 373.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02813/0.195, allocations: 21.87 MB / 395.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.1953, allocations: 167.7 kB / 395.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.1955, allocations: 47.97 kB / 395.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.1959, allocations: 36 kB / 395.3 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.1961, allocations: 20 kB / 395.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.1962, allocations: 39.98 kB / 395.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1964, allocations: 128.3 kB / 395.5 MB, free: 5.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1964, allocations: 4.031 kB / 395.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002587/0.199, allocations: 487.9 kB / 396 MB, free: 4.688 MB / 330.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.001146/0.2002, allocations: 371.4 kB / 396.4 MB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007239/0.2075, allocations: 3.187 MB / 399.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.2075, allocations: 0 / 399.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3282/0.5357, allocations: 52.36 MB / 451.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5361, allocations: 43.47 kB / 452 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.5398, allocations: 2.294 MB / 454.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.5404, allocations: 0.9913 MB / 455.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5407, allocations: 67.44 kB / 455.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5407, allocations: 2 kB / 455.3 MB, free: 8.988 MB / 330.7 MB [CodegenCppCommon.tpl:1601:11-1601:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.