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.833/3.833, allocations: 403.9 MB / 411 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.336e-05, allocations: 7.938 kB / 0.4941 GB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6086, allocations: 92.7 MB / 0.5847 GB, free: 2.344 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.7983, allocations: 125.5 MB / 0.7073 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.7986, allocations: 83.89 kB / 0.7073 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07613/0.8748, allocations: 22.17 MB / 0.729 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.282e-06/0.8748, allocations: 0 / 0.729 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.738e-05/0.8749, allocations: 64 kB / 0.729 GB, free: 14.28 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.00691/0.8819, allocations: 3.522 MB / 0.7325 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8819, allocations: 12.03 kB / 0.7325 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.8827, allocations: 351.7 kB / 0.7328 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.8868, allocations: 1.099 MB / 0.7339 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.8869, allocations: 4 kB / 0.7339 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008485/0.8877, allocations: 212 kB / 0.7341 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006483/0.8884, allocations: 184.4 kB / 0.7343 GB, free: 8.789 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.0008967/0.8893, allocations: 347.4 kB / 0.7346 GB, free: 8.422 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.