Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"dynamic"}) [: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(Buildings): time 4.552/4.552, allocations: 403.9 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.26/4.813, allocations: 95.02 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/5.388, allocations: 92.68 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.154/11.54, allocations: 2.223 GB / 2.808 GB, free: 206.9 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/11.54, allocations: 108.2 kB / 2.808 GB, free: 206.9 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.621/12.16, allocations: 136.9 MB / 2.942 GB, free: 147.3 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/12.16, allocations: 8 kB / 2.942 GB, free: 147.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/12.18, allocations: 0.9203 MB / 2.943 GB, free: 146.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/12.18, allocations: 2.031 MB / 2.945 GB, free: 144.3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/12.18, allocations: 96 kB / 2.945 GB, free: 144.2 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/12.19, allocations: 175.9 kB / 2.945 GB, free: 144 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01415/12.2, allocations: 3.651 MB / 2.948 GB, free: 140.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/12.22, allocations: 3.929 MB / 2.952 GB, free: 136.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/12.22, allocations: 7.938 kB / 2.952 GB, free: 136.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/12.22, allocations: 7.984 kB / 2.952 GB, free: 136.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004276/12.22, allocations: 177.8 kB / 2.952 GB, free: 136.1 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04554/12.26, allocations: 13.3 MB / 2.965 GB, free: 122.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/12.27, allocations: 1.699 MB / 2.967 GB, free: 120.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/12.27, allocations: 0.9457 MB / 2.968 GB, free: 119.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/12.27, allocations: 0.5545 MB / 2.969 GB, free: 119.2 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002733/12.28, allocations: 1.085 MB / 2.97 GB, free: 118 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=147): time 6.041e-06/12.28, allocations: 0 / 2.97 GB, free: 118 MB / 0.7605 GB Error: Internal error It is not possible to select continues time states because Number of Equations 33 greater than number of States 32 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N could not be translated to FMU