Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001067/0.001067, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.001049/0.001049, allocations: 196.5 kB / 18.69 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1551/0.1551, allocations: 37.98 MB / 309.9 MB, free: 5.945 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.683e-05, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.00349/0.003515, allocations: 3.831 MB / 436.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.005224, allocations: 1.395 MB / 437.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.005474, allocations: 15.94 kB / 437.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.005842, allocations: 95.09 kB / 437.8 MB, free: 10.35 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000364/0.006226, allocations: 162.8 kB / 438 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.006697, allocations: 343.1 kB / 438.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.007189, allocations: 0.7413 MB / 439 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.007522, allocations: 235.2 kB / 439.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.007914, allocations: 266.9 kB / 439.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.008156, allocations: 254.7 kB / 439.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.008231, allocations: 56 kB / 439.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.008398, allocations: 120 kB / 440 MB, free: 8.195 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004198/0.008824, allocations: 0.8299 MB / 440.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001844/0.009015, allocations: 0.5388 MB / 441.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.009113, allocations: 87.69 kB / 441.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001004/0.009218, allocations: 35.73 kB / 441.4 MB, free: 6.688 MB / 318.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.001756/0.01098, allocations: 2.508 MB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.399e-05/0.01105, allocations: 83.86 kB / 444 MB, free: 3.977 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007848/0.01184, allocations: 1.159 MB / 445.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simplify1: time 6.198e-05/0.01191, allocations: 75.89 kB / 445.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of Alias: time 0.001728/0.01364, allocations: 2.15 MB / 447.4 MB, free: 304 kB / 318.1 MB Notification: Performance of simplify2: time 4.708e-05/0.0137, allocations: 63.92 kB / 447.5 MB, free: 240 kB / 318.1 MB Notification: Performance of Events: time 0.000255/0.01396, allocations: 244.2 kB / 447.7 MB, free: 0 / 318.1 MB Notification: Performance of Detect States: time 0.0004274/0.01439, allocations: 374.6 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0003553/0.01476, allocations: 356.7 kB / 448.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Causalize: time 0.001547/0.01632, allocations: 1.383 MB / 449.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008918/0.01722, allocations: 0.9634 MB / 450.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Inline: time 0.001875/0.0191, allocations: 1.775 MB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001001/0.01921, allocations: 87.61 kB / 452.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001819/0.0194, allocations: 211.6 kB / 452.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Causalize: time 0.007935/0.02734, allocations: 7.321 MB / 460.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Tearing: time 1.521e-05/0.02737, allocations: 0 / 460.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Initialization: time 6.01e-07/0.02738, allocations: 0 / 460.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Tearing: time 5.591e-06/0.02739, allocations: 4 kB / 460.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Categorize: time 1.431e-05/0.02741, allocations: 3.938 kB / 460.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of Solve: time 0.0004304/0.02784, allocations: 279 kB / 460.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0006431/0.02849, allocations: 0.6541 MB / 461.1 MB, free: 2.391 MB / 334.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: ......... 2 (generic: 2, 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: ......... 2 (generic: 2, 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: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001466/0.02865, allocations: 65.81 kB / 461.2 MB, free: 2.324 MB / 334.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false