Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadModel(Buildings): time 3.561/3.561, allocations: 402 MB / 415.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.807e-05, allocations: 3.984 kB / 0.5003 GB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 92.7 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5908/0.7585, allocations: 126.2 MB / 0.7141 GB, free: 120 kB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.7588, allocations: 79.95 kB / 0.7142 GB, free: 40 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.09952/0.8583, allocations: 22.48 MB / 0.7361 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.347e-06/0.8584, allocations: 0 / 0.7361 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001071/0.8585, allocations: 64 kB / 0.7362 GB, free: 9.449 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.007095/0.8656, allocations: 3.522 MB / 0.7396 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8657, allocations: 12.03 kB / 0.7396 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.8665, allocations: 351.7 kB / 0.74 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.8692, allocations: 1.096 MB / 0.741 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.8695, allocations: 240 kB / 0.7413 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005998/0.8701, allocations: 356 kB / 0.7416 GB, free: 3.773 MB / 0.6042 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.0009937/0.8711, allocations: 402.5 kB / 0.742 GB, free: 3.348 MB / 0.6042 GB Error: pre-optimization module clockPartitioning (simulation) failed.