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 MB / 323.2 MB, free: 13.43 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 6.758e-06/6.864e-06, allocations: 0 / 398.3 MB, free: 2.324 MB / 328.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 72.83 MB / 471.1 MB, free: 1.957 MB / 376.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.4504, allocations: 112.3 MB / 0.5698 GB, free: 1.461 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4507, allocations: 84.14 kB / 0.5698 GB, free: 1.375 MB / 488.6 MB Notification: Performance of FrontEnd: time 0.4447/0.8954, allocations: 66.24 MB / 0.6345 GB, free: 113.2 MB / 0.5084 GB Notification: Performance of Transformations before backend: time 0.0001126/0.8956, allocations: 120 kB / 0.6346 GB, free: 113.1 MB / 0.5084 GB Notification: Performance of Generate backend data structure: time 0.0105/0.9061, allocations: 5.635 MB / 0.6401 GB, free: 107.6 MB / 0.5084 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.9062, allocations: 8.031 kB / 0.6402 GB, free: 107.6 MB / 0.5084 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.9079, allocations: 0.6181 MB / 0.6408 GB, free: 107 MB / 0.5084 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.9127, allocations: 1.841 MB / 0.6426 GB, free: 105.1 MB / 0.5084 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.9128, allocations: 16 kB / 0.6426 GB, free: 105.1 MB / 0.5084 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000921/0.9137, allocations: 379.8 kB / 0.6429 GB, free: 104.7 MB / 0.5084 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005965/0.9143, allocations: 290.9 kB / 0.6432 GB, free: 104.4 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.0006575/0.915, allocations: 474.6 kB / 0.6437 GB, free: 104 MB / 0.5084 GB Error: pre-optimization module clockPartitioning (simulation) failed.