Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_3_2_2_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.32/2.32, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.93e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3462, allocations: 44.49 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4873, allocations: 72.1 MB / 366.3 MB, free: 9.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.4877, allocations: 67.97 kB / 366.4 MB, free: 9.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.083/0.5707, allocations: 13.12 MB / 379.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.751e-06/0.5708, allocations: 0 / 379.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.559e-05/0.5708, allocations: 19.94 kB / 379.5 MB, free: 12.52 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002812/0.5737, allocations: 0.9747 MB / 380.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.206e-05/0.5738, allocations: 8.031 kB / 380.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.5742, allocations: 67.06 kB / 380.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/0.5947, allocations: 3.7 MB / 384.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5947, allocations: 0 / 384.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.5948, allocations: 8 kB / 384.3 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/0.596, allocations: 0.7048 MB / 385 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5974, allocations: 0.7826 MB / 385.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5974, allocations: 4 kB / 385.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.5975, allocations: 0 / 385.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5975, allocations: 0 / 385.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.598, allocations: 274.7 kB / 386 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.6002, allocations: 1.805 MB / 387.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.6026, allocations: 1.798 MB / 389.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.6026, allocations: 0 / 389.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001601/0.6042, allocations: 1.021 MB / 390.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=225): time 3.005e-06/0.6043, allocations: 4 kB / 390.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=225): time 0.009053/0.6133, allocations: 1.844 MB / 392.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00044/0.6138, allocations: 400.5 kB / 392.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.6141, allocations: 175.2 kB / 393.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.6144, allocations: 145.5 kB / 393.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.6145, allocations: 104 kB / 393.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.6157, allocations: 0.906 MB / 394.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.6159, allocations: 0 / 394.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003632/0.6162, allocations: 466.7 kB / 394.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/0.6187, allocations: 0.9207 MB / 395.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004046/0.6228, allocations: 2.484 MB / 398.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.6265, allocations: 1.404 MB / 399.5 MB, free: 7.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.237e-05/0.6266, allocations: 12 kB / 399.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009143/0.6357, allocations: 3.2 MB / 402.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.6359, allocations: 53.7 kB / 402.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.752e-05/0.636, allocations: 56 kB / 402.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.6362, allocations: 84 kB / 402.9 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.6391, allocations: 0.5261 MB / 403.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001324/0.6392, allocations: 107.6 kB / 403.5 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.6413, allocations: 229 kB / 403.7 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/0.6417, allocations: 184.4 kB / 403.9 MB, free: 3.094 MB / 346.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.001109/0.6428, allocations: 0.5808 MB / 404.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01145/0.6543, allocations: 2.808 MB / 407.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.6546, allocations: 114.9 kB / 407.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.6547, allocations: 13.47 kB / 407.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6547, allocations: 0 / 407.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6547, allocations: 0 / 407.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6547, allocations: 0 / 407.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.6554, allocations: 426.6 kB / 407.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6554, allocations: 3.953 kB / 407.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-06/0.6554, allocations: 7.922 kB / 407.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.6555, allocations: 4.031 kB / 407.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.6556, allocations: 40 kB / 407.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6556, allocations: 4 kB / 407.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6556, allocations: 0 / 407.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.6673, allocations: 2.903 MB / 410.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.6676, allocations: 179.6 kB / 411 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.668, allocations: 43.98 kB / 411 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.6684, allocations: 32 kB / 411.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.6686, allocations: 28.02 kB / 411.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.6688, allocations: 64 kB / 411.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.669, allocations: 128.2 kB / 411.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.669, allocations: 0 / 411.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002895/0.6719, allocations: 427.9 kB / 411.7 MB, free: 11.21 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: 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.01121/0.6831, allocations: 5.517 MB / 417.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008352/0.6915, allocations: 2.958 MB / 420.2 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.6916, allocations: 0.6875 kB / 420.2 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3145/1.006, allocations: 52.31 MB / 472.5 MB, free: 74.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/1.007, allocations: 36.19 kB / 472.5 MB, free: 74.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/1.012, allocations: 1.99 MB / 474.5 MB, free: 72.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/1.012, allocations: 0.991 MB / 475.5 MB, free: 71.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005008/1.013, allocations: 201.2 kB / 475.7 MB, free: 71.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/1.013, allocations: 243.4 kB / 475.9 MB, free: 71.22 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/1.013, allocations: 0 / 475.9 MB, free: 71.22 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/1.088, allocations: 19.25 MB / 495.2 MB, free: 52.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/1.088, allocations: 172 kB / 495.4 MB, free: 51.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.445/4.533, allocations: 0 / 495.4 MB, free: 51.99 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat does not exist to compare? outputFormat=mat