Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_2_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2122/2.173, allocations: 46.83 MB / 249.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/2.263, allocations: 44.51 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/2.533, allocations: 72.03 MB / 365.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/2.534, allocations: 74.36 kB / 365.9 MB, free: 7.078 MB / 298.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.05966/2.593, allocations: 13.94 MB / 379.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/2.593, allocations: 11.66 kB / 379.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/2.594, allocations: 70 kB / 380 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/2.611, allocations: 3.68 MB / 383.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/2.611, allocations: 0 / 383.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/2.611, allocations: 11.75 kB / 383.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/2.612, allocations: 0.7932 MB / 384.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/2.613, allocations: 0.8685 MB / 385.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/2.613, allocations: 0 / 385.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/2.613, allocations: 3.875 kB / 385.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/2.614, allocations: 0 / 385.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/2.614, allocations: 295.5 kB / 385.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/2.616, allocations: 2.089 MB / 387.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/2.617, allocations: 2.078 MB / 389.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/2.617, allocations: 3.984 kB / 389.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/2.619, allocations: 1.128 MB / 390.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 3.537e-06/2.619, allocations: 0 / 390.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=246): time 0.008928/2.628, allocations: 7.373 MB / 398.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003823/2.628, allocations: 431.1 kB / 398.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/2.628, allocations: 168.4 kB / 398.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004092/2.629, allocations: 171.1 kB / 399 MB, free: 1.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/2.629, allocations: 103.9 kB / 399.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009218/2.63, allocations: 0.9609 MB / 400.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/2.63, allocations: 0 / 400.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/2.63, allocations: 479.9 kB / 400.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/2.633, allocations: 1.053 MB / 401.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004748/2.638, allocations: 2.763 MB / 404.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/2.642, allocations: 1.615 MB / 406 MB, free: 12.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.335e-05/2.642, allocations: 16 kB / 406 MB, free: 12.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01099/2.653, allocations: 3.548 MB / 409.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/2.654, allocations: 12.06 kB / 409.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/2.654, allocations: 56 kB / 409.6 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/2.654, allocations: 92 kB / 409.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/2.657, allocations: 0.5689 MB / 410.3 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001412/2.658, allocations: 123.5 kB / 410.4 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/2.66, allocations: 240.8 kB / 410.6 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005187/2.661, allocations: 200 kB / 410.8 MB, free: 7.34 MB / 314.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.001233/2.662, allocations: 0.6399 MB / 411.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/2.662, allocations: 118.9 kB / 411.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/2.662, allocations: 17.94 kB / 411.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/2.662, allocations: 4 kB / 411.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.662, allocations: 0 / 411.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/2.662, allocations: 0 / 411.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/2.663, allocations: 462.2 kB / 412.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/2.663, allocations: 0 / 412.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-06/2.663, allocations: 3.984 kB / 412.1 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/2.663, allocations: 4 kB / 412.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/2.663, allocations: 51.92 kB / 412.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/2.663, allocations: 0 / 412.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.663, allocations: 0 / 412.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0129/2.676, allocations: 8.72 MB / 420.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02139/2.698, allocations: 12.91 MB / 433.8 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/2.698, allocations: 183.5 kB / 433.9 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004137/2.698, allocations: 71.95 kB / 434 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/2.699, allocations: 36 kB / 434 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/2.699, allocations: 28.09 kB / 434.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/2.699, allocations: 75.94 kB / 434.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001671/2.7, allocations: 128.3 kB / 434.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004034/2.704, allocations: 455.9 kB / 434.7 MB, free: 15.35 MB / 346.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.001237/2.705, allocations: 385.1 kB / 435.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00764/2.713, allocations: 3.309 MB / 438.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.713, allocations: 0 / 438.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0705/2.783, allocations: 60.62 MB / 499 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/2.784, allocations: 44.09 kB / 499.1 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/2.79, allocations: 2.096 MB / 0.4894 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/2.792, allocations: 1.133 MB / 0.4905 GB, free: 11.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/2.792, allocations: 0 / 0.4905 GB, free: 11.76 MB / 410.7 MB