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.541/2.541, allocations: 316.1 MB / 321.3 MB, free: 15.73 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 5.739e-06/5.765e-06, allocations: 0 / 396 MB, free: 5.051 MB / 328.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 72.37 MB / 468.3 MB, free: 4.473 MB / 376.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.4277, allocations: 111.9 MB / 0.5666 GB, free: 4.395 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.428, allocations: 76.12 kB / 0.5667 GB, free: 4.316 MB / 488.6 MB Notification: Performance of FrontEnd: time 0.3997/0.8277, allocations: 67.01 MB / 0.6321 GB, free: 115.6 MB / 0.5084 GB Notification: Performance of Transformations before backend: time 0.0001133/0.8279, allocations: 118.5 kB / 0.6323 GB, free: 115.5 MB / 0.5084 GB Notification: Performance of Generate backend data structure: time 0.01093/0.8388, allocations: 5.63 MB / 0.6378 GB, free: 111.2 MB / 0.5084 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8389, allocations: 15.81 kB / 0.6378 GB, free: 111.2 MB / 0.5084 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.8406, allocations: 0.6188 MB / 0.6384 GB, free: 110.5 MB / 0.5084 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.8451, allocations: 1.813 MB / 0.6401 GB, free: 108.8 MB / 0.5084 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.8452, allocations: 12 kB / 0.6402 GB, free: 108.8 MB / 0.5084 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/0.8461, allocations: 377.4 kB / 0.6405 GB, free: 108.4 MB / 0.5084 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000595/0.8467, allocations: 285.9 kB / 0.6408 GB, free: 108.2 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.0006573/0.8474, allocations: 484.3 kB / 0.6412 GB, free: 107.7 MB / 0.5084 GB Error: pre-optimization module clockPartitioning (simulation) failed.