Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank") translateModel(Buildings.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.004/2.004, allocations: 387.2 MB / 394.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 185.3 kB / 487 MB, free: 5.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 95.81 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.683e-06/6.703e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.272, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9969/1.269, allocations: 474.4 MB / 1.669 GB, free: 14.87 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.269, allocations: 96.66 kB / 1.669 GB, free: 14.82 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.749/4.018, allocations: 0.7748 GB / 2.443 GB, free: 132.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001678/4.018, allocations: 56.45 kB / 2.444 GB, free: 132.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.005807/4.024, allocations: 2.837 MB / 2.446 GB, free: 129.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/4.024, allocations: 12.03 kB / 2.446 GB, free: 129.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/4.028, allocations: 0.6799 MB / 2.447 GB, free: 128.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/4.033, allocations: 2.299 MB / 2.449 GB, free: 126.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/4.033, allocations: 189.2 kB / 2.449 GB, free: 126 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/4.033, allocations: 84 kB / 2.449 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002588/4.036, allocations: 1.813 MB / 2.451 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/4.038, allocations: 1.734 MB / 2.453 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/4.038, allocations: 7.938 kB / 2.453 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/4.038, allocations: 4 kB / 2.453 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/4.038, allocations: 39.89 kB / 2.453 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/4.05, allocations: 8.339 MB / 2.461 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/4.051, allocations: 0.9793 MB / 2.462 GB, free: 112.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/4.052, allocations: 0.9056 MB / 2.463 GB, free: 111.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/4.053, allocations: 0.5108 MB / 2.463 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/4.054, allocations: 1.079 MB / 2.465 GB, free: 110.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 3.126e-06/4.054, allocations: 0 / 2.465 GB, free: 110.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.004309/4.058, allocations: 2.008 MB / 2.466 GB, free: 108.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/4.058, allocations: 115.6 kB / 2.467 GB, free: 108 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/4.06, allocations: 1.651 MB / 2.468 GB, free: 106.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/4.061, allocations: 37.7 kB / 2.468 GB, free: 106.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/4.061, allocations: 0.5698 MB / 2.469 GB, free: 105.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/4.061, allocations: 283.5 kB / 2.469 GB, free: 105.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/4.061, allocations: 0 / 2.469 GB, free: 105.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/4.062, allocations: 345.9 kB / 2.469 GB, free: 105.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/4.062, allocations: 0.7832 MB / 2.47 GB, free: 104.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/4.063, allocations: 1.043 MB / 2.471 GB, free: 103.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/4.066, allocations: 0.8409 MB / 2.472 GB, free: 102.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/4.066, allocations: 4 kB / 2.472 GB, free: 102.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004239/4.07, allocations: 2.117 MB / 2.474 GB, free: 100.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004344/4.07, allocations: 1.742 MB / 2.476 GB, free: 98.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/4.07, allocations: 4 kB / 2.476 GB, free: 98.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/4.071, allocations: 88.83 kB / 2.476 GB, free: 98.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/4.072, allocations: 251.6 kB / 2.476 GB, free: 97.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005293/4.072, allocations: 0.7117 MB / 2.477 GB, free: 97.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/4.074, allocations: 203.2 kB / 2.477 GB, free: 97.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/4.075, allocations: 95.92 kB / 2.477 GB, free: 96.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/4.075, allocations: 4 kB / 2.477 GB, free: 96.92 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003608/4.078, allocations: 1.868 MB / 2.479 GB, free: 95.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/4.078, allocations: 8 kB / 2.479 GB, free: 95.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/4.078, allocations: 92.7 kB / 2.479 GB, free: 94.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/4.08, allocations: 255.9 kB / 2.479 GB, free: 94.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/4.081, allocations: 1.798 MB / 2.481 GB, free: 92.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/4.083, allocations: 199.2 kB / 2.481 GB, free: 92.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/4.084, allocations: 95.92 kB / 2.481 GB, free: 92.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition6,$PRE.TSou.nextTimeEvent,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$PRE.iceTan.tanHeaTra.SOCCalc.charged,iceTan.tanHeaTra.SOCCalc.charged,$PRE.iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.suspend,$PRE.iceTan.tanHeaTra.canFreeze.lesHys.y,iceTan.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTan.tanHeaTra.canMelt.greHys.y,iceTan.tanHeaTra.canMelt.greHys.y,TSou.nextTimeEvent,$PRE.TSou.nextTimeEventScaled,TSou.nextTimeEventScaled,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.iceTanUnc.tanHeaTra.SOCCalc.charged,iceTanUnc.tanHeaTra.SOCCalc.charged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.suspend,$PRE.iceTanUnc.tanHeaTra.canFreeze.lesHys.y,iceTanUnc.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTanUnc.tanHeaTra.canMelt.greHys.y,iceTanUnc.tanHeaTra.canMelt.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004249/4.084, allocations: 195.6 kB / 2.481 GB, free: 92.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/4.084, allocations: 193.7 kB / 2.482 GB, free: 92.11 MB / 1.151 GB Error: Too many equations, over-determined system. The model has 97 equation(s) and 95 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Interfaces/PartialTwoPortInterface.mo:23:3-26:52:writable] Warning: Equation 33 (size: 1) iceTanUnc.dp = sou.ports[2].p - iceTanUnc.vol.p is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, TSet.a, TSet.b, TSet.last, TSet.nextEvent, TSet.nextEventScaled, TSet.timeScaled Equations used to solve those variables: Equation 30 (size: 1): TSet.timeScaled = time Equation 32 (size: 6): algorithm TSet.nextEvent := pre(TSet.nextEvent); TSet.last := pre(TSet.last); TSet.nextEventScaled := pre(TSet.nextEventScaled); TSet.b := pre(TSet.b); TSet.a := pre(TSet.a); $whenCondition1 := pre($whenCondition1); assert(not (TSet.table[1,1] > 0.0 or TSet.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TSet.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(TSet.nextEvent); when {$whenCondition1, false} then (TSet.a, TSet.b, TSet.nextEventScaled, TSet.last) := Modelica.Blocks.Sources.TimeTable$TSet.getInterpolationCoefficients({{TSet.table[1,1], TSet.table[1,2]}, {TSet.table[2,1], TSet.table[2,2]}, {TSet.table[3,1], TSet.table[3,2]}, {TSet.table[4,1], TSet.table[4,2]}, {TSet.table[5,1], TSet.table[5,2]}}, TSet.offset, TSet.startTime, TSet.timeScaled, TSet.last, 1e-13, TSet.shiftTime); TSet.nextEvent := TSet.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Media/Antifreeze/PropyleneGlycolWater.mo:57:5-58:80:writable] Warning: Equation 34 (size: 1) iceTanUnc.vol.dynBal.medium.T_degC = -273.15 + iceTanUnc.vol.dynBal.medium.T is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, TSet.a, TSet.b, TSet.last, TSet.nextEvent, TSet.nextEventScaled, TSet.timeScaled Equations used to solve those variables: Equation 30 (size: 1): TSet.timeScaled = time Equation 32 (size: 6): algorithm TSet.nextEvent := pre(TSet.nextEvent); TSet.last := pre(TSet.last); TSet.nextEventScaled := pre(TSet.nextEventScaled); TSet.b := pre(TSet.b); TSet.a := pre(TSet.a); $whenCondition1 := pre($whenCondition1); assert(not (TSet.table[1,1] > 0.0 or TSet.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TSet.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(TSet.nextEvent); when {$whenCondition1, false} then (TSet.a, TSet.b, TSet.nextEventScaled, TSet.last) := Modelica.Blocks.Sources.TimeTable$TSet.getInterpolationCoefficients({{TSet.table[1,1], TSet.table[1,2]}, {TSet.table[2,1], TSet.table[2,2]}, {TSet.table[3,1], TSet.table[3,2]}, {TSet.table[4,1], TSet.table[4,2]}, {TSet.table[5,1], TSet.table[5,2]}}, TSet.offset, TSet.startTime, TSet.timeScaled, TSet.last, 1e-13, TSet.shiftTime); TSet.nextEvent := TSet.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Media/Antifreeze/PropyleneGlycolWater.mo:59:5-60:45:writable] Warning: Equation 35 (size: 1) iceTanUnc.vol.dynBal.medium.p_bar = 1e-05 * iceTanUnc.vol.p is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, TSet.a, TSet.b, TSet.last, TSet.nextEvent, TSet.nextEventScaled, TSet.timeScaled Equations used to solve those variables: Equation 30 (size: 1): TSet.timeScaled = time Equation 32 (size: 6): algorithm TSet.nextEvent := pre(TSet.nextEvent); TSet.last := pre(TSet.last); TSet.nextEventScaled := pre(TSet.nextEventScaled); TSet.b := pre(TSet.b); TSet.a := pre(TSet.a); $whenCondition1 := pre($whenCondition1); assert(not (TSet.table[1,1] > 0.0 or TSet.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TSet.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(TSet.nextEvent); when {$whenCondition1, false} then (TSet.a, TSet.b, TSet.nextEventScaled, TSet.last) := Modelica.Blocks.Sources.TimeTable$TSet.getInterpolationCoefficients({{TSet.table[1,1], TSet.table[1,2]}, {TSet.table[2,1], TSet.table[2,2]}, {TSet.table[3,1], TSet.table[3,2]}, {TSet.table[4,1], TSet.table[4,2]}, {TSet.table[5,1], TSet.table[5,2]}}, TSet.offset, TSet.startTime, TSet.timeScaled, TSet.last, 1e-13, TSet.shiftTime); TSet.nextEvent := TSet.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Media/Antifreeze/PropyleneGlycolWater.mo:87:5-87:33:writable] Warning: Equation 36 (size: 1) iceTanUnc.vol.ports[2].h_outflow = 3857.004010495233 * iceTanUnc.vol.dynBal.medium.T_degC is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, TSet.a, TSet.b, TSet.last, TSet.nextEvent, TSet.nextEventScaled, TSet.timeScaled Equations used to solve those variables: Equation 30 (size: 1): TSet.timeScaled = time Equation 32 (size: 6): algorithm TSet.nextEvent := pre(TSet.nextEvent); TSet.last := pre(TSet.last); TSet.nextEventScaled := pre(TSet.nextEventScaled); TSet.b := pre(TSet.b); TSet.a := pre(TSet.a); $whenCondition1 := pre($whenCondition1); assert(not (TSet.table[1,1] > 0.0 or TSet.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TSet.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(TSet.nextEvent); when {$whenCondition1, false} then (TSet.a, TSet.b, TSet.nextEventScaled, TSet.last) := Modelica.Blocks.Sources.TimeTable$TSet.getInterpolationCoefficients({{TSet.table[1,1], TSet.table[1,2]}, {TSet.table[2,1], TSet.table[2,2]}, {TSet.table[3,1], TSet.table[3,2]}, {TSet.table[4,1], TSet.table[4,2]}, {TSet.table[5,1], TSet.table[5,2]}}, TSet.offset, TSet.startTime, TSet.timeScaled, TSet.last, 1e-13, TSet.shiftTime); TSet.nextEvent := TSet.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Interfaces/ConservationEquation.mo:261:5-261:19:writable] Warning: Equation 37 (size: 1) iceTanUnc.vol.dynBal.U = iceTanUnc.vol.dynBal.m * iceTanUnc.vol.ports[2].h_outflow is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, TSet.a, TSet.b, TSet.last, TSet.nextEvent, TSet.nextEventScaled, TSet.timeScaled Equations used to solve those variables: Equation 30 (size: 1): TSet.timeScaled = time Equation 32 (size: 6): algorithm TSet.nextEvent := pre(TSet.nextEvent); TSet.last := pre(TSet.last); TSet.nextEventScaled := pre(TSet.nextEventScaled); TSet.b := pre(TSet.b); TSet.a := pre(TSet.a); $whenCondition1 := pre($whenCondition1); assert(not (TSet.table[1,1] > 0.0 or TSet.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TSet.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(TSet.nextEvent); when {$whenCondition1, false} then (TSet.a, TSet.b, TSet.nextEventScaled, TSet.last) := Modelica.Blocks.Sources.TimeTable$TSet.getInterpolationCoefficients({{TSet.table[1,1], TSet.table[1,2]}, {TSet.table[2,1], TSet.table[2,2]}, {TSet.table[3,1], TSet.table[3,2]}, {TSet.table[4,1], TSet.table[4,2]}, {TSet.table[5,1], TSet.table[5,2]}}, TSet.offset, TSet.startTime, TSet.timeScaled, TSet.last, 1e-13, TSet.shiftTime); TSet.nextEvent := TSet.nextEventScaled; end when; Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/4.088, allocations: 1.663 MB / 2.483 GB, free: 90.45 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.