Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 114.8 kB / 17.14 MB, free: 5.914 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.0009794/0.0009794, allocations: 198.5 kB / 18.08 MB, free: 4.992 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.357/1.357, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05207/0.05207, allocations: 8.098 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.434e-05, allocations: 9.453 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004978/0.005011, allocations: 5.901 MB / 421 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.009737, allocations: 2.341 MB / 423.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.01008, allocations: 24 kB / 423.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.0107, allocations: 309.9 kB / 423.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.01176, allocations: 0.6132 MB / 424.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.01397, allocations: 1.445 MB / 425.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.0152, allocations: 1.627 MB / 427.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.01564, allocations: 401 kB / 427.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.01598, allocations: 0.5523 MB / 428.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005471/0.01654, allocations: 0.7271 MB / 429 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01666, allocations: 103.9 kB / 429.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.01716, allocations: 347.8 kB / 429.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009997/0.01816, allocations: 2.283 MB / 431.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005222/0.01869, allocations: 1.486 MB / 433.3 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.01885, allocations: 175.4 kB / 433.4 MB, free: 3.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.724e-05/0.01894, allocations: 20 kB / 433.4 MB, free: 3.309 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 (175) * Number of variables: 206 (206) Notification: Performance of Bindings: time 0.005413/0.02436, allocations: 7.385 MB / 440.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000342/0.02471, allocations: 367.3 kB / 441.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00745/0.03217, allocations: 8.368 MB / 449.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simplify1: time 0.000495/0.03268, allocations: 0.5346 MB / 450.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Alias: time 0.001196/0.03389, allocations: 1.051 MB / 451.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of simplify2: time 0.0004284/0.03432, allocations: 0.5385 MB / 451.7 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of Events: time 0.0007538/0.03508, allocations: 0.8067 MB / 452.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Detect States: time 0.001032/0.03613, allocations: 1.235 MB / 453.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Partitioning: time 0.001923/0.03806, allocations: 1.831 MB / 455.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Causalize: time 0.009142/0.04721, allocations: 7.872 MB / 463.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.00473/0.05196, allocations: 4.876 MB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Inline: time 0.009829/0.06181, allocations: 10.05 MB / 478.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003934/0.06223, allocations: 309.5 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0003478/0.06258, allocations: 395.6 kB / 479 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Causalize: time 0.0125/0.07509, allocations: 11.19 MB / 490.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of Tearing: time 0.005358/0.08046, allocations: 5.417 MB / 495.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of Initialization: time 2.184e-06/0.08048, allocations: 0 / 495.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of Tearing: time 0.006053/0.08654, allocations: 5.433 MB / 0.4893 GB, free: 14.68 MB / 382.1 MB Notification: Performance of Categorize: time 8.383e-05/0.08664, allocations: 11.98 kB / 0.4893 GB, free: 14.67 MB / 382.1 MB Notification: Performance of Solve: time 0.001183/0.08782, allocations: 0.5665 MB / 0.4899 GB, free: 14.09 MB / 382.1 MB Notification: Performance of Jacobian: time 3.247e-06/0.08784, allocations: 4 kB / 0.4899 GB, free: 14.08 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 29 (29) {$SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $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} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:119, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 199 (scalar:199, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 8.133e-05/0.08793, allocations: 59.03 kB / 0.49 GB, free: 14.03 MB / 382.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_25