Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001319/0.00132, allocations: 115.6 kB / 17.76 MB, free: 5.207 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.001233/0.001233, allocations: 188.7 kB / 18.68 MB, free: 4.285 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.37/1.37, 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/package.mo): time 0.1897/0.1897, allocations: 38.04 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.151e-05, allocations: 2.281 kB / 458.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009001/0.009042, allocations: 7.553 MB / 466.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.01469, allocations: 4.163 MB / 470.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.01522, allocations: 15.94 kB / 470.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.01796, allocations: 1.035 MB / 471.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.02085, allocations: 1.109 MB / 472.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00097/0.02191, allocations: 303.2 kB / 472.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.02413, allocations: 1.5 MB / 474.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.02502, allocations: 478.7 kB / 474.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.02624, allocations: 0.5679 MB / 475.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.02713, allocations: 450.1 kB / 475.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.02725, allocations: 32 kB / 476 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.02906, allocations: 0.8491 MB / 476.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001151/0.03023, allocations: 1.037 MB / 477.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009953/0.03123, allocations: 0.7268 MB / 478.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.03152, allocations: 87.75 kB / 478.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001282/0.03165, allocations: 8 kB / 478.7 MB, free: 2.914 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.003051/0.03471, allocations: 2.732 MB / 481.4 MB, free: 60 kB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001199/0.03484, allocations: 99.83 kB / 481.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001216/0.03606, allocations: 1.184 MB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001341/0.03621, allocations: 91.86 kB / 482.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Alias: time 0.001457/0.03767, allocations: 1.34 MB / 484.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplify2: time 7.05e-05/0.03776, allocations: 79.88 kB / 484.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002846/0.03805, allocations: 270.7 kB / 484.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of Events: time 7.039e-05/0.03813, allocations: 71.91 kB / 484.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004346/0.03857, allocations: 458 kB / 485 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Causalize: time 0.002185/0.04076, allocations: 2.114 MB / 487.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007026/0.04147, allocations: 0.7961 MB / 487.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of Inline: time 0.001382/0.04286, allocations: 1.448 MB / 489.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of Partitioning: time 9.348e-05/0.04297, allocations: 87.59 kB / 489.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of Cleanup: time 6.409e-05/0.04304, allocations: 63.88 kB / 489.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of Causalize: time 0.004311/0.04735, allocations: 3.813 MB / 493.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of Tearing: time 0.002489/0.04986, allocations: 2.174 MB / 495.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of Initialization: time 8.72e-07/0.04987, allocations: 0 / 495.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of Tearing: time 0.002503/0.05238, allocations: 2.167 MB / 497.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of Categorize: time 2.706e-05/0.05242, allocations: 4 kB / 497.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of Solve: time 0.00041/0.05284, allocations: 238.2 kB / 497.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Jacobian: time 3.747e-06/0.05285, 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 5.059e-05/0.0529, allocations: 32.31 kB / 497.9 MB, free: 15.06 MB / 382.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false