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.686/2.686, allocations: 321 MB / 328.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.856e-05, allocations: 4 kB / 403.9 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 73.41 MB / 477.3 MB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5761, allocations: 108.3 MB / 0.5719 GB, free: 11.51 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5764, allocations: 74.52 kB / 0.572 GB, free: 11.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2303/0.8067, allocations: 66.57 MB / 0.637 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001897/0.807, allocations: 112 kB / 0.6371 GB, free: 1.137 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1839 * Number of variables: 1839 Notification: Performance of Generate backend data structure: time 0.01267/0.8196, allocations: 5.78 MB / 0.6427 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.8197, allocations: 8.031 kB / 0.6427 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.8213, allocations: 0.6181 MB / 0.6433 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/0.8268, allocations: 1.808 MB / 0.6451 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.8269, allocations: 8.625 kB / 0.6451 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000907/0.8278, allocations: 376.5 kB / 0.6455 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007505/0.8286, allocations: 284.2 kB / 0.6457 GB, free: 8.93 MB / 0.5105 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.0008834/0.8294, allocations: 473.1 kB / 0.6462 GB, free: 8.52 MB / 0.5105 GB Error: pre-optimization module clockPartitioning (simulation) failed.