Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.613/2.613, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.773e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.5726, allocations: 72.1 MB / 366.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.573, allocations: 71.97 kB / 366.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08126/0.6543, allocations: 13.29 MB / 379.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6543, allocations: 0 / 379.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.326e-05/0.6544, allocations: 12 kB / 379.8 MB, free: 12.3 MB / 330.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.001845/0.6562, allocations: 1.022 MB / 380.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.6563, allocations: 8.031 kB / 380.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.6565, allocations: 74.97 kB / 380.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02152/0.6781, allocations: 3.688 MB / 384.6 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.6781, allocations: 4 kB / 384.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.6782, allocations: 4 kB / 384.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001583/0.6798, allocations: 0.779 MB / 385.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.6815, allocations: 0.849 MB / 386.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6816, allocations: 7.922 kB / 386.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.6817, allocations: 4 kB / 386.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.6817, allocations: 0 / 386.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.6823, allocations: 290.4 kB / 386.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.6854, allocations: 2.078 MB / 388.6 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.6886, allocations: 2.071 MB / 390.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.6886, allocations: 7.922 kB / 390.6 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002217/0.6909, allocations: 1.112 MB / 391.8 MB, free: 136 kB / 330.7 MB Notification: Performance of pre-optimization done (n=246): time 5.41e-06/0.6909, allocations: 0 / 391.8 MB, free: 136 kB / 330.7 MB Notification: Performance of matching and sorting (n=246): time 0.01169/0.7026, allocations: 2 MB / 393.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004991/0.7032, allocations: 428.5 kB / 394.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.7035, allocations: 163.3 kB / 394.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004429/0.704, allocations: 161.6 kB / 394.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.7041, allocations: 108.2 kB / 394.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.7056, allocations: 0.9602 MB / 395.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.7059, allocations: 0 / 395.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000447/0.7064, allocations: 475.4 kB / 396 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/0.7095, allocations: 0.9877 MB / 397 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/0.7146, allocations: 2.688 MB / 399.7 MB, free: 7.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004622/0.7192, allocations: 1.521 MB / 401.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.221e-05/0.7193, allocations: 16 kB / 401.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01171/0.7311, allocations: 3.438 MB / 404.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.7312, allocations: 54.67 kB / 404.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.7314, allocations: 60 kB / 404.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.7316, allocations: 96 kB / 404.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/0.7354, allocations: 0.565 MB / 405.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001737/0.7356, allocations: 123.6 kB / 405.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.7384, allocations: 244.8 kB / 405.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004918/0.739, allocations: 196 kB / 406 MB, free: 0.9453 MB / 346.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.001468/0.7404, allocations: 0.6499 MB / 406.6 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01481/0.7553, allocations: 3.042 MB / 409.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.7557, allocations: 119 kB / 409.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.7558, allocations: 18.25 kB / 409.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.7558, allocations: 0 / 409.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7558, allocations: 3.938 kB / 409.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7558, allocations: 4.031 kB / 409.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.7567, allocations: 454.3 kB / 410.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7567, allocations: 3.984 kB / 410.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-06/0.7567, allocations: 7.953 kB / 410.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.7567, allocations: 0 / 410.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.7569, allocations: 48 kB / 410.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.7569, allocations: 3.984 kB / 410.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.7569, allocations: 0 / 410.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.7719, allocations: 3.146 MB / 413.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.7722, allocations: 183.5 kB / 413.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.7726, allocations: 71.91 kB / 413.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.7733, allocations: 32 kB / 413.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.7735, allocations: 31.98 kB / 413.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/0.7737, allocations: 68 kB / 413.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.7739, allocations: 124.3 kB / 414 MB, free: 8.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.7739, allocations: 0 / 414 MB, free: 8.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003757/0.7777, allocations: 455.9 kB / 414.4 MB, free: 8.41 MB / 362.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.01513/0.7929, allocations: 5.957 MB / 420.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2972/1.09, allocations: 3.188 MB / 423.6 MB, free: 112.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.09, allocations: 1.078 kB / 423.6 MB, free: 112.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0543/1.145, allocations: 59.41 MB / 483 MB, free: 64.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/1.145, allocations: 34.08 kB / 483 MB, free: 64.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/1.152, allocations: 2.14 MB / 485.2 MB, free: 61.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/1.152, allocations: 1.018 MB / 486.2 MB, free: 60.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006377/1.153, allocations: 213.4 kB / 486.4 MB, free: 60.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.154, allocations: 263.4 kB / 486.6 MB, free: 60.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.775e-06/1.154, allocations: 0 / 486.6 MB, free: 60.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/1.274, allocations: 20.82 MB / 0.4956 GB, free: 39.86 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002838/1.275, allocations: 187.2 kB / 0.4957 GB, free: 39.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.337/5.612, allocations: 4.031 kB / 0.4957 GB, free: 39.66 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat