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.548/2.548, allocations: 316.1 MB / 321.3 MB, free: 15.64 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 7.3e-06/7.327e-06, allocations: 0 / 395.9 MB, free: 4.969 MB / 328.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 72.37 MB / 468.3 MB, free: 4.383 MB / 376.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.4322, allocations: 111.9 MB / 0.5666 GB, free: 4.312 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4325, allocations: 80.14 kB / 0.5667 GB, free: 4.23 MB / 488.6 MB Notification: Performance of FrontEnd: time 0.4093/0.8418, allocations: 66.24 MB / 0.6314 GB, free: 116 MB / 0.5084 GB Notification: Performance of Transformations before backend: time 0.0001295/0.842, allocations: 116 kB / 0.6315 GB, free: 115.9 MB / 0.5084 GB Notification: Performance of Generate backend data structure: time 0.01236/0.8543, allocations: 5.639 MB / 0.637 GB, free: 111.6 MB / 0.5084 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8544, allocations: 8.031 kB / 0.637 GB, free: 111.6 MB / 0.5084 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.8561, allocations: 0.627 MB / 0.6376 GB, free: 110.9 MB / 0.5084 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.8612, allocations: 1.831 MB / 0.6394 GB, free: 109.3 MB / 0.5084 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.8613, allocations: 15.94 kB / 0.6394 GB, free: 109.3 MB / 0.5084 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009601/0.8622, allocations: 376.6 kB / 0.6398 GB, free: 108.9 MB / 0.5084 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006727/0.8629, allocations: 283.6 kB / 0.64 GB, free: 108.7 MB / 0.5084 GB Error: An independent subset of the model has imbalanced number of equations (20) and variables (21). variables: integrator.y integrator.u TSam.y TSam.u TSam.firstTrigger TSam.sampleTrigger err.y err.u2 err.u1 to_degC.y to_degC.u PCon.y PCon.u2 PCon.u1 POffSet.y TOut.y baseLoad.TOut baseLoad.TOut_in_internal baseLoad.intTOut baseLoad.PPre[1] baseLoad.ECon equations: 1 : der(baseLoad.intTOut) = baseLoad.TOut_in_internal 2 : TOut.y = TOut.offset + (if time < TOut.startTime then 0.0 else if time < TOut.startTime + TOut.duration then (time - TOut.startTime) * TOut.height / TOut.duration else TOut.height) 3 : POffSet.y = POffSet.k 4 : PCon.y = PCon.k1 * PCon.u1 + PCon.k2 * PCon.u2 5 : to_degC.y = -273.15 + to_degC.u 6 : err.y = err.k1 * err.u1 + err.k2 * err.u2 7 : TSam.sampleTrigger = sample(4, TSam.startTime, TSam.samplePeriod) 8 : der(integrator.y) = integrator.k * integrator.u 9 : baseLoad.TOut = baseLoad.TOut_in_internal 10 : PCon.u1 = POffSet.y 11 : TOut.y = TSam.u 12 : TSam.y = baseLoad.TOut 13 : TSam.y = to_degC.u 14 : PCon.y = err.u2 15 : PCon.y = integrator.u 16 : baseLoad.ECon = integrator.y 17 : PCon.u2 = to_degC.y 18 : baseLoad.PPre[1] = err.u1 19 : when TSam.sampleTrigger then TSam.firstTrigger := time <= TSam.startTime + 0.5 * TSam.samplePeriod; end when; 20 : when {TSam.sampleTrigger, initial()} then TSam.y := TSam.u; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0006966/0.8636, allocations: 470.9 kB / 0.6405 GB, free: 108.2 MB / 0.5084 GB Error: pre-optimization module clockPartitioning (simulation) failed.