Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.506/2.506, allocations: 318.2 MB / 323.4 MB, free: 13.3 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1589/2.665, allocations: 75.15 MB / 398.6 MB, free: 2.094 MB / 328.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/2.972, allocations: 72.82 MB / 471.4 MB, free: 1.871 MB / 376.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/3.16, allocations: 111 MB / 0.5687 GB, free: 2.742 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/3.161, allocations: 76.16 kB / 0.5688 GB, free: 2.664 MB / 488.6 MB Notification: Performance of Generate backend data structure: time 0.08835/3.249, allocations: 25.24 MB / 0.5934 GB, free: 9.301 MB / 0.5084 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/3.249, allocations: 12 kB / 0.5934 GB, free: 9.289 MB / 0.5084 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007647/3.25, allocations: 347.8 kB / 0.5938 GB, free: 8.945 MB / 0.5084 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/3.254, allocations: 1.132 MB / 0.5949 GB, free: 7.77 MB / 0.5084 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/3.254, allocations: 15.89 kB / 0.5949 GB, free: 7.754 MB / 0.5084 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005168/3.254, allocations: 208 kB / 0.5951 GB, free: 7.551 MB / 0.5084 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004675/3.255, allocations: 184.4 kB / 0.5952 GB, free: 7.367 MB / 0.5084 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.0006317/3.255, allocations: 342.7 kB / 0.5956 GB, free: 7.004 MB / 0.5084 GB Error: pre-optimization module clockPartitioning (simulation) failed. Error: Internal error SimCode: The model Buildings.Controls.Predictors.Validation.ConstantInput could not be translated to FMU