Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.SineInput,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_Validation_SineInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.372/4.372, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.455e-05, allocations: 4 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8296/1.075, allocations: 139.1 MB / 0.8137 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.075, allocations: 85.36 kB / 0.8138 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0814/1.157, allocations: 23.3 MB / 0.8365 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.335e-06/1.157, allocations: 0 / 0.8365 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.399e-05/1.157, allocations: 64.09 kB / 0.8366 GB, free: 5.336 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1093 * Number of variables: 1093 Notification: Performance of Generate backend data structure: time 0.006867/1.164, allocations: 3.578 MB / 0.8401 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.164, allocations: 12.03 kB / 0.8401 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007525/1.164, allocations: 495.1 kB / 0.8406 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/1.165, allocations: 355.7 kB / 0.8409 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/1.168, allocations: 1.107 MB / 0.842 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/1.168, allocations: 246.5 kB / 0.8422 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005425/1.169, allocations: 358.5 kB / 0.8426 GB, free: 1.367 MB / 0.6355 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.0009889/1.17, allocations: 441.9 kB / 0.843 GB, free: 0.9727 MB / 0.6355 GB Error: pre-optimization module clockPartitioning (simulation) failed.