Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 113 kB / 17.75 MB, free: 5.34 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.001085/0.001085, allocations: 188.7 kB / 18.68 MB, free: 4.418 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.242/1.242, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1599/0.1599, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.182e-05, allocations: 2.281 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.0077/0.007729, allocations: 7.549 MB / 466.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005268/0.01303, allocations: 4.167 MB / 470.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.0135, allocations: 12 kB / 470.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.01596, allocations: 1.04 MB / 471.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.01846, allocations: 1.109 MB / 472.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.01928, allocations: 303.1 kB / 473 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.02117, allocations: 1.492 MB / 474.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000813/0.02199, allocations: 494.7 kB / 474.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.02309, allocations: 0.5717 MB / 475.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.02391, allocations: 446.1 kB / 475.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.02405, allocations: 36 kB / 476 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.02585, allocations: 0.8452 MB / 476.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.00116/0.02702, allocations: 1.041 MB / 477.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007601/0.02779, allocations: 0.7229 MB / 478.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.02804, allocations: 83.75 kB / 478.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.557e-05/0.02814, allocations: 8 kB / 478.7 MB, free: 2.898 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: 101 (101) * Number of variables: 101 (101) Notification: Performance of Bindings: time 0.003185/0.03133, allocations: 2.732 MB / 481.4 MB, free: 44 kB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002155/0.03156, allocations: 107.8 kB / 481.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001475/0.03304, allocations: 1.176 MB / 482.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001635/0.03321, allocations: 99.86 kB / 482.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Alias: time 0.001683/0.0349, allocations: 1.332 MB / 484.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001173/0.03503, allocations: 75.89 kB / 484.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003307/0.03537, allocations: 286.7 kB / 484.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Events: time 0.0001013/0.03548, allocations: 71.91 kB / 484.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0005199/0.03601, allocations: 454 kB / 485 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Causalize: time 0.002746/0.03876, allocations: 2.11 MB / 487.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008069/0.03958, allocations: 0.7961 MB / 487.9 MB, free: 9.25 MB / 366.1 MB Notification: Performance of Inline: time 0.002014/0.0416, allocations: 1.448 MB / 489.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000104/0.04172, allocations: 79.61 kB / 489.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001521/0.04188, allocations: 71.84 kB / 489.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of Causalize: time 0.005285/0.04717, allocations: 3.805 MB / 493.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of Tearing: time 0.002748/0.04993, allocations: 2.174 MB / 495.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of Initialization: time 2.134e-06/0.04994, allocations: 0 / 495.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of Tearing: time 0.002534/0.05248, allocations: 2.159 MB / 497.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Categorize: time 2.454e-05/0.05252, allocations: 4 kB / 497.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Solve: time 0.0004561/0.05298, allocations: 238.2 kB / 497.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Jacobian: time 4.749e-06/0.053, allocations: 0 / 497.9 MB, free: 15.09 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: .................... 1 (1) {system.initime} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 49 (scalar:22, array:27, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:23, array:27, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: 1, nonlinear:0) Notification: Performance of backend: time 7.266e-05/0.05307, allocations: 39.8 kB / 497.9 MB, free: 15.05 MB / 382.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false