Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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.443/4.443, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3376/4.78, allocations: 95.02 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/5.49, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.35/11.84, allocations: 2.222 GB / 2.806 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/11.84, allocations: 105.1 kB / 2.806 GB, free: 207.2 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.6565/12.5, allocations: 147.3 MB / 2.95 GB, free: 139.1 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/12.5, allocations: 12 kB / 2.95 GB, free: 139 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/12.51, allocations: 0.9123 MB / 2.951 GB, free: 138.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008285/12.52, allocations: 2.182 MB / 2.953 GB, free: 135.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/12.52, allocations: 100 kB / 2.953 GB, free: 135.8 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/12.52, allocations: 179.9 kB / 2.954 GB, free: 135.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0135/12.53, allocations: 3.686 MB / 2.957 GB, free: 131.9 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/12.55, allocations: 4 MB / 2.961 GB, free: 127.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002256/12.55, allocations: 7.938 kB / 2.961 GB, free: 127.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/12.55, allocations: 4 kB / 2.961 GB, free: 127.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/12.55, allocations: 193.8 kB / 2.961 GB, free: 127.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04992/12.6, allocations: 14.13 MB / 2.975 GB, free: 113.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/12.61, allocations: 1.754 MB / 2.977 GB, free: 111.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/12.61, allocations: 1.211 MB / 2.978 GB, free: 110.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/12.61, allocations: 0.5584 MB / 2.979 GB, free: 109.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003217/12.61, allocations: 1.102 MB / 2.98 GB, free: 108.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=150): time 6.052e-06/12.61, allocations: 0 / 2.98 GB, free: 108.3 MB / 0.7605 GB Error: Internal error It is not possible to select continues time states because Number of Equations 35 greater than number of States 34 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode: The model Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine could not be translated to FMU