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_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 2.194/2.194, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.826e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.001623/0.1109, allocations: 1.012 MB / 346 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1131, allocations: 0.938 MB / 346.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.1132, allocations: 3.938 kB / 346.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.1137, allocations: 71.81 kB / 347 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1139, allocations: 87.84 kB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.1145, allocations: 155.5 kB / 347.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1146, allocations: 79.86 kB / 347.3 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.901e-05/0.1147, allocations: 3.938 kB / 347.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1149, allocations: 95.88 kB / 347.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.1153, allocations: 135.8 kB / 347.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1158, allocations: 203.7 kB / 347.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.1159, allocations: 8 kB / 347.7 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.1161, allocations: 207.4 kB / 348 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1163, allocations: 44 kB / 348 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.1169, allocations: 375.2 kB / 348.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1169, allocations: 11.94 kB / 348.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1169, allocations: 0 / 348.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.117, allocations: 0 / 348.4 MB, free: 5.516 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001254/0.1182, allocations: 1.023 MB / 349.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1183, allocations: 16.03 kB / 349.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.1184, allocations: 78.86 kB / 349.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1188, allocations: 258 kB / 349.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1188, allocations: 8 kB / 349.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.1189, allocations: 15.94 kB / 349.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1201, allocations: 0.9037 MB / 350.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1201, allocations: 0 / 350.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1201, allocations: 0 / 350.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1201, allocations: 3.953 kB / 350.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1212, allocations: 0.8532 MB / 351.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1217, allocations: 396 kB / 351.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.124, allocations: 2.157 MB / 354.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.1241, allocations: 3.938 kB / 354.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.1256, allocations: 1.166 MB / 355.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 5.431e-06/0.1256, allocations: 11.92 kB / 355.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=246): time 0.008138/0.1338, allocations: 5.254 MB / 360.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004117/0.1342, allocations: 432.5 kB / 360.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.1345, allocations: 178.1 kB / 361.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003857/0.1349, allocations: 209.5 kB / 361.3 MB, free: 8.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.135, allocations: 174.6 kB / 361.5 MB, free: 8.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.1361, allocations: 0.9757 MB / 362.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1363, allocations: 80 kB / 362.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003168/0.1366, allocations: 479.4 kB / 363 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.1395, allocations: 1.089 MB / 364.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004424/0.1439, allocations: 2.817 MB / 366.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.1481, allocations: 1.648 MB / 368.6 MB, free: 192 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.323e-05/0.1482, allocations: 16 kB / 368.6 MB, free: 176 kB / 298.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01109/0.1593, allocations: 3.994 MB / 372.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.1595, allocations: 57.7 kB / 372.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.1596, allocations: 56 kB / 372.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.1598, allocations: 92 kB / 372.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.163, allocations: 0.5689 MB / 373.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001596/0.1632, allocations: 119.6 kB / 373.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.1656, allocations: 324.8 kB / 373.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004651/0.1661, allocations: 200 kB / 374 MB, free: 10.75 MB / 314.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.001582/0.1677, allocations: 0.8255 MB / 374.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.168, allocations: 119 kB / 374.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.168, allocations: 17.94 kB / 374.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1681, allocations: 7.938 kB / 374.9 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1681, allocations: 0 / 374.9 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1681, allocations: 0 / 374.9 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.1688, allocations: 0.5523 MB / 375.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1688, allocations: 0 / 375.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.1688, allocations: 0 / 375.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1689, allocations: 4 kB / 375.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.169, allocations: 39.98 kB / 375.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.169, allocations: 0 / 375.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.169, allocations: 0 / 375.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/0.1973, allocations: 22.36 MB / 397.9 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.1976, allocations: 179.6 kB / 398.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.1979, allocations: 63.95 kB / 398.1 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.1984, allocations: 32 kB / 398.1 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.1985, allocations: 31.98 kB / 398.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.1987, allocations: 40 kB / 398.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1988, allocations: 136.2 kB / 398.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1989, allocations: 0 / 398.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002684/0.2016, allocations: 0.5156 MB / 398.9 MB, free: 1.715 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: 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.001164/0.2028, allocations: 412.8 kB / 399.3 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.2761/0.4788, allocations: 3.437 MB / 402.7 MB, free: 51.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.4789, allocations: 1.156 kB / 402.7 MB, free: 51.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04645/0.5254, allocations: 59.46 MB / 462.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.5258, allocations: 42.94 kB / 462.2 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.5301, allocations: 2.441 MB / 464.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.5309, allocations: 1.02 MB / 465.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.5313, allocations: 75.44 kB / 465.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5313, allocations: 0 / 465.7 MB, free: 14.12 MB / 346.7 MB [CodegenCppCommon.tpl:1601:11-1601:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.