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.495/3.495, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.476e-05, allocations: 7.938 kB / 0.499 GB, free: 13.4 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.508, allocations: 92.69 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.7156, allocations: 126.2 MB / 0.7128 GB, free: 148 kB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004222/0.7161, allocations: 75.95 kB / 0.7128 GB, free: 72 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09453/0.8106, allocations: 22.4 MB / 0.7347 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.009e-06/0.8107, allocations: 8.188 kB / 0.7347 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000101/0.8108, allocations: 67.94 kB / 0.7348 GB, free: 9.523 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.006549/0.8174, allocations: 3.51 MB / 0.7382 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.8174, allocations: 8.031 kB / 0.7382 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/0.8182, allocations: 355.7 kB / 0.7386 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.8208, allocations: 1.092 MB / 0.7396 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.8211, allocations: 244 kB / 0.7399 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005642/0.8217, allocations: 360 kB / 0.7402 GB, free: 3.859 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.0009334/0.8226, allocations: 395 kB / 0.7406 GB, free: 3.449 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.