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.589/3.589, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.563e-05, allocations: 11.92 kB / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4884, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.6831, allocations: 126.2 MB / 0.7128 GB, free: 144 kB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/0.6835, allocations: 75.95 kB / 0.7129 GB, free: 68 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0775/0.7611, allocations: 22.41 MB / 0.7348 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.466e-06/0.7611, allocations: 4 kB / 0.7348 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001041/0.7612, allocations: 68 kB / 0.7348 GB, free: 9.512 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.006584/0.7678, allocations: 3.51 MB / 0.7382 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.7679, allocations: 8.031 kB / 0.7383 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.7686, allocations: 351.7 kB / 0.7386 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.7712, allocations: 1.1 MB / 0.7397 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.7714, allocations: 240 kB / 0.7399 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005444/0.772, allocations: 356 kB / 0.7402 GB, free: 3.852 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.0009492/0.773, allocations: 405.2 kB / 0.7406 GB, free: 3.43 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.