Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.392/2.392, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/3.003e-05, allocations: 3.562 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6564, allocations: 72.09 MB / 366.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.6567, allocations: 71.86 kB / 366.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1076/0.7643, allocations: 13.13 MB / 379.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7644, allocations: 4 kB / 379.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.7644, allocations: 11.62 kB / 379.6 MB, free: 20.99 MB / 314.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.00137/0.7658, allocations: 0.9734 MB / 380.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7659, allocations: 11.72 kB / 380.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.7661, allocations: 66.34 kB / 380.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/0.7846, allocations: 3.692 MB / 384.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.7846, allocations: 3.906 kB / 384.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.7847, allocations: 3.938 kB / 384.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/0.7859, allocations: 0.7091 MB / 385.1 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.7872, allocations: 0.7777 MB / 385.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7872, allocations: 0 / 385.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.7873, allocations: 3.875 kB / 385.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7873, allocations: 0 / 385.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.7877, allocations: 280.2 kB / 386.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.7897, allocations: 1.804 MB / 387.9 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.7918, allocations: 1.796 MB / 389.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.7919, allocations: 4 kB / 389.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/0.7938, allocations: 1.032 MB / 390.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 5.54e-06/0.7938, allocations: 0 / 390.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.01041/0.8042, allocations: 1.846 MB / 392.6 MB, free: 17.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003072/0.8046, allocations: 396.6 kB / 393 MB, free: 17.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.8048, allocations: 169.1 kB / 393.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003864/0.8052, allocations: 148.7 kB / 393.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.8053, allocations: 105.4 kB / 393.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/0.8063, allocations: 0.9033 MB / 394.3 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.8065, allocations: 0 / 394.3 MB, free: 16.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/0.8068, allocations: 466.5 kB / 394.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.8093, allocations: 0.9201 MB / 395.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.8133, allocations: 2.487 MB / 398.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/0.8173, allocations: 1.403 MB / 399.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.978e-05/0.8174, allocations: 15.19 kB / 399.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01009/0.8275, allocations: 3.188 MB / 402.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.8276, allocations: 58.55 kB / 402.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.203e-05/0.8278, allocations: 54.28 kB / 402.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.8279, allocations: 85.16 kB / 403 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.8314, allocations: 0.5206 MB / 403.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.8315, allocations: 108.7 kB / 403.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.8341, allocations: 223.4 kB / 403.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004317/0.8346, allocations: 185.5 kB / 404 MB, free: 12.3 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.001216/0.8358, allocations: 0.5907 MB / 404.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01363/0.8495, allocations: 2.806 MB / 407.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.8499, allocations: 112.7 kB / 407.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.85, allocations: 17.47 kB / 407.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.85, allocations: 0 / 407.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.85, allocations: 0 / 407.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.8501, allocations: 0 / 407.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.8509, allocations: 427.7 kB / 407.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.8509, allocations: 3.953 kB / 407.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.8509, allocations: 7.906 kB / 407.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.8509, allocations: 0 / 407.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.8511, allocations: 38.86 kB / 408 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8511, allocations: 3.875 kB / 408 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8511, allocations: 0 / 408 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.8656, allocations: 2.907 MB / 410.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.866, allocations: 175.6 kB / 411.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.8664, allocations: 47.97 kB / 411.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.867, allocations: 39.97 kB / 411.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.8673, allocations: 24 kB / 411.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/0.8675, allocations: 63.98 kB / 411.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.8677, allocations: 124.3 kB / 411.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8678, allocations: 0 / 411.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003513/0.8713, allocations: 427.7 kB / 411.8 MB, free: 6.723 MB / 314.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.01324/0.8846, allocations: 5.512 MB / 417.3 MB, free: 1.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008058/0.8927, allocations: 2.957 MB / 420.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.8927, allocations: 4.125 kB / 420.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06892/0.9617, allocations: 52.32 MB / 472.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.9623, allocations: 39.62 kB / 472.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00679/0.9691, allocations: 1.991 MB / 474.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/0.9701, allocations: 0.9911 MB / 475.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006393/0.9707, allocations: 196.9 kB / 475.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/0.9714, allocations: 243.4 kB / 476 MB, free: 6.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9714, allocations: 0 / 476 MB, free: 6.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.074, allocations: 19.27 MB / 495.3 MB, free: 3.16 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00036/1.075, allocations: 180.3 kB / 495.5 MB, free: 2.969 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.182/5.257, allocations: 3.938 kB / 495.5 MB, free: 2.965 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat does not exist to compare? outputFormat=mat