Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.SineInput,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Predictors_Validation_SineInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.828/3.828, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.491e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6022, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.8347, allocations: 127.2 MB / 0.7139 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.8351, allocations: 75.95 kB / 0.714 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09117/0.9263, allocations: 23.18 MB / 0.7366 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9263, allocations: 0 / 0.7366 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000113/0.9265, allocations: 68 kB / 0.7367 GB, free: 7.578 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.008454/0.9349, allocations: 3.566 MB / 0.7402 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.935, allocations: 12.03 kB / 0.7402 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009927/0.936, allocations: 0.4901 MB / 0.7406 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.9369, allocations: 355.7 kB / 0.741 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.9403, allocations: 1.101 MB / 0.7421 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.9407, allocations: 244.3 kB / 0.7423 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007297/0.9414, allocations: 364 kB / 0.7426 GB, free: 1.34 MB / 0.6198 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001137/0.9426, allocations: 423.7 kB / 0.743 GB, free: 0.9062 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.