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.466/2.466, allocations: 318.2 MB / 323.8 MB, free: 5.453 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.397e-05, allocations: 0 / 399 MB, free: 1.008 MB / 312.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 72.82 MB / 471.8 MB, free: 8.039 MB / 392.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.5246, allocations: 112.4 MB / 0.5705 GB, free: 9.637 MB / 456.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5249, allocations: 85.75 kB / 0.5706 GB, free: 9.594 MB / 456.6 MB Notification: Performance of FrontEnd: time 0.2299/0.7548, allocations: 66.11 MB / 0.6352 GB, free: 15.79 MB / 0.5084 GB Notification: Performance of Transformations before backend: time 0.0001923/0.755, allocations: 112 kB / 0.6353 GB, free: 15.68 MB / 0.5084 GB Notification: Performance of Generate backend data structure: time 0.01238/0.7674, allocations: 5.779 MB / 0.6409 GB, free: 10.42 MB / 0.5084 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7675, allocations: 11.98 kB / 0.6409 GB, free: 10.41 MB / 0.5084 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.7691, allocations: 0.6181 MB / 0.6415 GB, free: 9.781 MB / 0.5084 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.7745, allocations: 1.815 MB / 0.6433 GB, free: 8.047 MB / 0.5084 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.7746, allocations: 8.625 kB / 0.6433 GB, free: 8.039 MB / 0.5084 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009109/0.7755, allocations: 377 kB / 0.6437 GB, free: 7.672 MB / 0.5084 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007417/0.7762, allocations: 286.7 kB / 0.644 GB, free: 7.461 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.0008941/0.7771, allocations: 464.5 kB / 0.6444 GB, free: 7.066 MB / 0.5084 GB Error: pre-optimization module clockPartitioning (simulation) failed.