Notification: Performance of FrontEnd - loaded program: time 9.847e-06/9.988e-06, allocations: 1.156 kB / 439.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 78.98 MB / 0.5065 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5193, allocations: 114.7 MB / 0.6185 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5197, allocations: 74.47 kB / 0.6185 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of FrontEnd: time 0.203/0.7227, allocations: 66.24 MB / 0.6832 GB, free: 59.85 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0001288/0.7229, allocations: 112 kB / 0.6833 GB, free: 59.74 MB / 0.5138 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.01017/0.7332, allocations: 5.622 MB / 0.6888 GB, free: 54.04 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7333, allocations: 12.03 kB / 0.6888 GB, free: 54.03 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.7347, allocations: 0.6443 MB / 0.6895 GB, free: 53.38 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/0.7395, allocations: 1.854 MB / 0.6913 GB, free: 51.46 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.7397, allocations: 24.55 kB / 0.6913 GB, free: 51.44 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008153/0.7405, allocations: 376 kB / 0.6916 GB, free: 51.07 MB / 0.5138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003658/0.741, allocations: 135 kB / 0.6918 GB, free: 50.94 MB / 0.5138 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.0005133/0.7415, allocations: 304.4 kB / 0.6921 GB, free: 50.62 MB / 0.5138 GB Error: pre-optimization module clockPartitioning (simulation) failed.