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_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.901e-05, allocations: 7.938 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3734, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001988/0.3755, allocations: 1.015 MB / 304.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.3782, allocations: 0.8871 MB / 305.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.3783, allocations: 4.969 kB / 305.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.3789, allocations: 72.64 kB / 305.3 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.3789, allocations: 13.22 kB / 305.3 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.3797, allocations: 147 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3799, allocations: 59.56 kB / 305.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.38, allocations: 1.438 kB / 305.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3802, allocations: 46.97 kB / 305.5 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3803, allocations: 37.31 kB / 305.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008544/0.3889, allocations: 187.2 kB / 305.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.389, allocations: 9.281 kB / 305.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.3893, allocations: 182.9 kB / 305.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3894, allocations: 40.06 kB / 306 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.3902, allocations: 360.5 kB / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3902, allocations: 8 kB / 306.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3902, allocations: 0 / 306.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3903, allocations: 1.156 kB / 306.3 MB, free: 10.63 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001483/0.3918, allocations: 0.9545 MB / 307.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.3918, allocations: 12.03 kB / 307.3 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.392, allocations: 63.06 kB / 307.4 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.3925, allocations: 270 kB / 307.6 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004151/0.3966, allocations: 8 kB / 307.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.3967, allocations: 8 kB / 307.6 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3982, allocations: 0.845 MB / 308.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3982, allocations: 0 / 308.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.3983, allocations: 3.938 kB / 308.5 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3983, allocations: 0 / 308.5 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3996, allocations: 0.7829 MB / 309.3 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.4002, allocations: 376.1 kB / 309.6 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.4029, allocations: 1.883 MB / 311.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.4029, allocations: 0 / 311.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00963/0.4126, allocations: 1.072 MB / 312.6 MB, free: 4.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=225): time 3.887e-06/0.4126, allocations: 0 / 312.6 MB, free: 4.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=225): time 0.0135/0.4261, allocations: 4.672 MB / 317.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00052/0.4267, allocations: 404.5 kB / 317.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.4271, allocations: 173.7 kB / 317.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005088/0.4276, allocations: 189.6 kB / 318 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.4277, allocations: 174.3 kB / 318.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.009472/0.4372, allocations: 0.9255 MB / 319.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.4376, allocations: 72 kB / 319.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004265/0.438, allocations: 462.7 kB / 319.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/0.4418, allocations: 1.014 MB / 320.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/0.4477, allocations: 2.612 MB / 323.3 MB, free: 8.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/0.453, allocations: 1.52 MB / 324.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/0.4531, allocations: 16 kB / 324.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.0118/0.465, allocations: 3.701 MB / 328.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4651, allocations: 59.72 kB / 328.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.904e-05/0.4652, allocations: 52 kB / 328.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.4654, allocations: 84 kB / 328.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.4682, allocations: 0.5183 MB / 329.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.4683, allocations: 115.6 kB / 329.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.4703, allocations: 304.9 kB / 329.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.4706, allocations: 180 kB / 329.8 MB, free: 2.145 MB / 266.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.001392/0.472, allocations: 0.7461 MB / 330.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.4723, allocations: 111 kB / 330.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.4723, allocations: 17.14 kB / 330.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4723, allocations: 4 kB / 330.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4723, allocations: 0 / 330.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4723, allocations: 0 / 330.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.4731, allocations: 0.5135 MB / 331.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.4731, allocations: 3.953 kB / 331.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-06/0.4731, allocations: 4 kB / 331.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4731, allocations: 0 / 331.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.4732, allocations: 39.98 kB / 331.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4732, allocations: 0 / 331.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4732, allocations: 0 / 331.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02951/0.5028, allocations: 21.85 MB / 353.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.5031, allocations: 183.5 kB / 353.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.5034, allocations: 51.97 kB / 353.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.5038, allocations: 28 kB / 353.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.504, allocations: 27.98 kB / 353.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.5041, allocations: 36.03 kB / 353.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000182/0.5043, allocations: 127.2 kB / 353.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5043, allocations: 3.938 kB / 353.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002708/0.5071, allocations: 492 kB / 354 MB, free: 9.785 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: 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.001031/0.5081, allocations: 344.1 kB / 354.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007203/0.5153, allocations: 3.183 MB / 357.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.5154, allocations: 0 / 357.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05758/0.573, allocations: 52.36 MB / 409.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.5735, allocations: 44.19 kB / 409.9 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.578, allocations: 2.289 MB / 412.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007287/0.5788, allocations: 0.9913 MB / 413.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.5791, allocations: 67.44 kB / 413.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5791, allocations: 0 / 413.3 MB, free: 14.45 MB / 362.7 MB [CodegenCppCommon.tpl:1601:11-1601:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.