Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.679e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3499, allocations: 44.49 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4826, allocations: 72.1 MB / 366.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4829, allocations: 71.97 kB / 366.4 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06446/0.5474, allocations: 13.28 MB / 379.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.03e-06/0.5474, allocations: 0 / 379.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.5475, allocations: 15.94 kB / 379.7 MB, free: 12.49 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.001504/0.549, allocations: 1.026 MB / 380.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.5491, allocations: 8.031 kB / 380.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.5493, allocations: 70.97 kB / 380.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/0.5659, allocations: 3.708 MB / 384.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.566, allocations: 4 kB / 384.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.5661, allocations: 4 kB / 384.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/0.5674, allocations: 0.7673 MB / 385.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5688, allocations: 0.8568 MB / 386.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5688, allocations: 0 / 386.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.5689, allocations: 0 / 386.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5689, allocations: 4 kB / 386.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.5694, allocations: 298.3 kB / 386.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.5718, allocations: 2.075 MB / 388.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.5744, allocations: 2.067 MB / 390.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5744, allocations: 0 / 390.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/0.5761, allocations: 1.115 MB / 391.7 MB, free: 324 kB / 330.7 MB Notification: Performance of pre-optimization done (n=246): time 3.206e-06/0.5761, allocations: 0 / 391.7 MB, free: 324 kB / 330.7 MB Notification: Performance of matching and sorting (n=246): time 0.009011/0.5852, allocations: 1.996 MB / 393.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003996/0.5856, allocations: 428.4 kB / 394.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.5859, allocations: 167.3 kB / 394.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003677/0.5862, allocations: 161.6 kB / 394.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.5863, allocations: 170.7 kB / 394.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.5875, allocations: 0.9602 MB / 395.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5876, allocations: 0 / 395.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003156/0.588, allocations: 475.4 kB / 396 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.5904, allocations: 0.9877 MB / 397 MB, free: 10.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/0.5944, allocations: 2.684 MB / 399.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.5982, allocations: 1.51 MB / 401.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.939e-05/0.5983, allocations: 16 kB / 401.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009454/0.6078, allocations: 3.45 MB / 404.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.608, allocations: 57.69 kB / 404.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.6081, allocations: 60 kB / 404.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.6083, allocations: 95.98 kB / 404.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.6114, allocations: 0.5657 MB / 405.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/0.6116, allocations: 119.6 kB / 405.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.6137, allocations: 244.8 kB / 405.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/0.6141, allocations: 196 kB / 406 MB, free: 1.074 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.00121/0.6154, allocations: 0.6538 MB / 406.6 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01192/0.6273, allocations: 3.042 MB / 409.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.6277, allocations: 115 kB / 409.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.6277, allocations: 18.25 kB / 409.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6278, allocations: 3.984 kB / 409.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6278, allocations: 4 kB / 409.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6278, allocations: 0 / 409.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.6285, allocations: 454.3 kB / 410.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.6285, allocations: 11.92 kB / 410.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-06/0.6285, allocations: 4 kB / 410.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6285, allocations: 0 / 410.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.6287, allocations: 47.98 kB / 410.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.6287, allocations: 3.984 kB / 410.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6287, allocations: 0 / 410.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.6406, allocations: 3.146 MB / 413.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.6409, allocations: 183.5 kB / 413.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.6412, allocations: 67.95 kB / 413.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.6417, allocations: 40.02 kB / 413.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6419, allocations: 28 kB / 413.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.6421, allocations: 71.98 kB / 413.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.6422, allocations: 128.2 kB / 414 MB, free: 8.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6423, allocations: 0 / 414 MB, free: 8.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002857/0.6451, allocations: 451.9 kB / 414.4 MB, free: 8.531 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.01162/0.6568, allocations: 5.939 MB / 420.3 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2536/0.9105, allocations: 3.189 MB / 423.5 MB, free: 112.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.9105, allocations: 0 / 423.5 MB, free: 112.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04363/0.9542, allocations: 59.41 MB / 482.9 MB, free: 64.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.9547, allocations: 36.97 kB / 483 MB, free: 64.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.9598, allocations: 2.193 MB / 485.2 MB, free: 62.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.9605, allocations: 1.015 MB / 486.2 MB, free: 61.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008373/0.9614, allocations: 272.7 kB / 486.4 MB, free: 60.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.984e-06/0.9614, allocations: 0 / 486.4 MB, free: 60.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.178/4.139, allocations: 21.78 MB / 0.4963 GB, free: 39.26 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat