Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|loadDispatcher.hydroDispatch.1.|loadDispatcher.hydroDispatch.2.|loadDispatcher.hydroDispatch.3.|loadDispatcher.plantDispatch.1.|loadDispatcher.plantDispatch.2.|loadDispatcher.plantDispatch.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|loadDispatcher.hydroDispatch.1.|loadDispatcher.hydroDispatch.2.|loadDispatcher.hydroDispatch.3.|loadDispatcher.plantDispatch.1.|loadDispatcher.plantDispatch.2.|loadDispatcher.plantDispatch.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 111.8 kB / 17.75 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 189.8 kB / 18.68 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1647/0.1647, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.455e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.005343/0.005377, allocations: 3.823 MB / 462.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.008078, allocations: 1.465 MB / 464 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.008434, allocations: 11.94 kB / 464.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.00889, allocations: 99.09 kB / 464.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.009347, allocations: 158.9 kB / 464.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.01015, allocations: 368.4 kB / 464.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000763/0.01092, allocations: 0.7375 MB / 465.4 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.0113, allocations: 239 kB / 465.6 MB, free: 4 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.0118, allocations: 270.9 kB / 465.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.01207, allocations: 250.7 kB / 466.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.01216, allocations: 56 kB / 466.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.01241, allocations: 112 kB / 466.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005834/0.01301, allocations: 0.83 MB / 467.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003194/0.01333, allocations: 0.535 MB / 467.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.01344, allocations: 87.69 kB / 467.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001267/0.01358, allocations: 31.75 kB / 467.8 MB, free: 13.83 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 (78) * Number of variables: 86 (74) Notification: Performance of Bindings: time 0.002296/0.01588, allocations: 2.498 MB / 470.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001484/0.01604, allocations: 104.7 kB / 470.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001116/0.01716, allocations: 1.171 MB / 471.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simplify1: time 9.522e-05/0.01727, allocations: 75.89 kB / 471.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Alias: time 0.002509/0.01978, allocations: 2.143 MB / 473.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001006/0.0199, allocations: 59.92 kB / 473.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of Events: time 0.0003459/0.02026, allocations: 245.6 kB / 474.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of Detect States: time 0.0006493/0.02092, allocations: 388.6 kB / 474.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003857/0.02131, allocations: 357.6 kB / 474.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Causalize: time 0.001727/0.02305, allocations: 1.45 MB / 476.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009646/0.02402, allocations: 0.9751 MB / 477.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of Inline: time 0.001998/0.02603, allocations: 1.787 MB / 479 MB, free: 2.02 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001083/0.02615, allocations: 91.59 kB / 479.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0002126/0.02637, allocations: 211.6 kB / 479.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Causalize: time 0.008966/0.03535, allocations: 7.522 MB / 486.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Tearing: time 2.05e-05/0.03542, allocations: 4 kB / 486.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Initialization: time 1.372e-06/0.03543, allocations: 0 / 486.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Tearing: time 8.446e-06/0.03544, allocations: 0 / 486.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Categorize: time 2.236e-05/0.03547, allocations: 0 / 486.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Solve: time 0.0006639/0.03614, allocations: 287.7 kB / 487.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0007985/0.03695, allocations: 0.7395 MB / 487.9 MB, free: 9.086 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {loadDispatcher.secondaryControl.I.y} * Number of discrete states: .................... 7 (7) {system.initime, frequency.count, frequency.T_start, loadDispatcher.hydroDaily.T_start, loadDispatcher.hydroDaily.count, loadDispatcher.data.nextTimeEvent, loadDispatcher.data.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 24 (16) {$SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 41 (scalar:41, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 75 (scalar:74, array:0, record:1) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 75 (scalar:74, array:0, record:1) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001671/0.03713, allocations: 63.62 kB / 487.9 MB, free: 9.027 MB / 366.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false