Running command: translateModel(Buildings.Controls.Predictors.Validation.SineInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Predictors.Validation.SineInput") Notification: Performance of loadModel(Buildings): time 3.562/3.562, allocations: 403.9 MB / 411 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.187e-05, allocations: 3.938 kB / 0.4941 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5587, allocations: 92.69 MB / 0.5847 GB, free: 2.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.7446, allocations: 126.6 MB / 0.7083 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.7449, allocations: 75.95 kB / 0.7083 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07956/0.8245, allocations: 22.95 MB / 0.7308 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.147e-06/0.8246, allocations: 8 kB / 0.7308 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001008/0.8247, allocations: 68 kB / 0.7308 GB, free: 12.49 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: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.007115/0.8318, allocations: 3.554 MB / 0.7343 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.8319, allocations: 12.03 kB / 0.7343 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007688/0.8326, allocations: 363.7 kB / 0.7347 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.8353, allocations: 1.105 MB / 0.7357 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.8354, allocations: 4 kB / 0.7357 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000455/0.8358, allocations: 216 kB / 0.7359 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005009/0.8364, allocations: 204.8 kB / 0.7361 GB, free: 6.93 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.0006637/0.837, allocations: 354.9 kB / 0.7365 GB, free: 6.559 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.