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.6/2.6, allocations: 318 MB / 323.7 MB, free: 5.465 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.368e-05, allocations: 0 / 398.7 MB, free: 1.098 MB / 312.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 72.84 MB / 471.6 MB, free: 8.125 MB / 392.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5322, allocations: 112.4 MB / 0.5703 GB, free: 10.01 MB / 456.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.5325, allocations: 78.7 kB / 0.5703 GB, free: 9.965 MB / 456.6 MB Notification: Performance of FrontEnd: time 0.1911/0.7236, allocations: 66.1 MB / 0.6349 GB, free: 176 kB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.0001456/0.7238, allocations: 123.9 kB / 0.635 GB, free: 52 kB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.01143/0.7352, allocations: 5.772 MB / 0.6406 GB, free: 10.79 MB / 0.5084 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7353, allocations: 15.98 kB / 0.6407 GB, free: 10.78 MB / 0.5084 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.7369, allocations: 0.6181 MB / 0.6413 GB, free: 10.15 MB / 0.5084 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/0.7416, allocations: 1.812 MB / 0.643 GB, free: 8.418 MB / 0.5084 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.7416, allocations: 11.94 kB / 0.643 GB, free: 8.406 MB / 0.5084 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008309/0.7425, allocations: 376.9 kB / 0.6434 GB, free: 8.039 MB / 0.5084 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006713/0.7432, allocations: 274.8 kB / 0.6437 GB, free: 7.84 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.0008139/0.744, allocations: 474.9 kB / 0.6441 GB, free: 7.434 MB / 0.5084 GB Error: pre-optimization module clockPartitioning (simulation) failed.