Running command: translateModel(Buildings.Controls.Predictors.Validation.SineInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.SineInput") Notification: Performance of loadModel(Buildings): time 4.112/4.112, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.628e-05, allocations: 4 kB / 0.5731 GB, free: 5.766 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2227, allocations: 107.2 MB / 0.6777 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8107/1.033, allocations: 139.1 MB / 0.8136 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000414/1.034, allocations: 77.78 kB / 0.8137 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1181/1.152, allocations: 23.3 MB / 0.8364 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.409e-06/1.152, allocations: 0 / 0.8364 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.317e-05/1.152, allocations: 69.09 kB / 0.8365 GB, free: 5.348 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.006084/1.158, allocations: 3.577 MB / 0.84 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.158, allocations: 8.031 kB / 0.84 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/1.159, allocations: 359.7 kB / 0.8403 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/1.161, allocations: 1.101 MB / 0.8414 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/1.162, allocations: 250 kB / 0.8417 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/1.162, allocations: 363.2 kB / 0.842 GB, free: 1.867 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.0008766/1.163, allocations: 441.3 kB / 0.8424 GB, free: 1.477 MB / 0.6355 GB Error: pre-optimization module clockPartitioning (simulation) failed.