Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 116.2 kB / 17.14 MB, free: 5.758 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.001035/0.001035, allocations: 198.6 kB / 18.07 MB, free: 4.867 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.316/1.316, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05068/0.05068, allocations: 8.105 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.5e-05, allocations: 2.281 kB / 415.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003624/0.00366, allocations: 3.854 MB / 419 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.006755, allocations: 1.96 MB / 420.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.007, allocations: 8 kB / 420.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.007545, allocations: 234.5 kB / 421.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000776/0.00838, allocations: 385.5 kB / 421.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.0104, allocations: 1.322 MB / 422.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.01135, allocations: 0.9919 MB / 423.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.0117, allocations: 253.5 kB / 424.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.01195, allocations: 338.5 kB / 424.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.01236, allocations: 453.9 kB / 424.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.01246, allocations: 60 kB / 424.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.01297, allocations: 291.8 kB / 425.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006643/0.01365, allocations: 1.39 MB / 426.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003053/0.01396, allocations: 0.9048 MB / 427.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.01406, allocations: 103.7 kB / 427.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.163e-05/0.01413, allocations: 16 kB / 427.6 MB, free: 9.184 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: 126 (107) * Number of variables: 126 (126) Notification: Performance of Bindings: time 0.002696/0.01683, allocations: 4.591 MB / 432.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001662/0.017, allocations: 223.5 kB / 432.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00377/0.02078, allocations: 5.245 MB / 437.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simplify1: time 0.0003064/0.0211, allocations: 351.6 kB / 438 MB, free: 14.58 MB / 318.1 MB Notification: Performance of Alias: time 0.0007171/0.02182, allocations: 0.6703 MB / 438.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002761/0.02211, allocations: 347.7 kB / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of Events: time 0.0004991/0.02261, allocations: 489.8 kB / 439.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of Detect States: time 0.0007312/0.02335, allocations: 0.7712 MB / 440.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001282/0.02464, allocations: 1.161 MB / 441.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Causalize: time 0.006122/0.03077, allocations: 4.884 MB / 446.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.002755/0.03354, allocations: 3.041 MB / 449.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of Inline: time 0.006048/0.0396, allocations: 6.127 MB / 455.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0003134/0.03996, allocations: 191.6 kB / 455.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Cleanup: time 0.000404/0.04037, allocations: 251.7 kB / 455.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Causalize: time 0.008579/0.04896, allocations: 6.848 MB / 462.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Tearing: time 0.003432/0.05242, allocations: 3.341 MB / 466.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of Initialization: time 1.853e-06/0.05244, allocations: 3.938 kB / 466.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of Tearing: time 0.003413/0.05586, allocations: 3.36 MB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Categorize: time 5.149e-05/0.05593, allocations: 8 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Solve: time 0.0008633/0.0568, allocations: 375 kB / 469.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Jacobian: time 4.078e-06/0.05681, allocations: 0 / 469.9 MB, free: 14.23 MB / 350.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: ................. 17 (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: ........... 75 (scalar:75, 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: ........... 123 (scalar:123, 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 7.406e-05/0.05689, allocations: 43.38 kB / 469.9 MB, free: 14.19 MB / 350.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_11