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.001309/0.001309, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001212/0.001212, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.354/1.354, 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.1686/0.1686, allocations: 38.03 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.173e-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.007821/0.00785, allocations: 7.556 MB / 466.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.01325, allocations: 4.159 MB / 470.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.01362, allocations: 15.94 kB / 470.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.01602, allocations: 1.02 MB / 471.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.01846, allocations: 1.098 MB / 472.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.01927, allocations: 303.2 kB / 472.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.02096, allocations: 1.5 MB / 474.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/0.02173, allocations: 490.7 kB / 474.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007891/0.02253, allocations: 0.56 MB / 475.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.02308, allocations: 454.1 kB / 475.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.02314, allocations: 35.94 kB / 475.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.02469, allocations: 0.8453 MB / 476.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0008175/0.02552, allocations: 1.045 MB / 477.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000537/0.02607, allocations: 0.7298 MB / 478.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.02619, allocations: 83.75 kB / 478.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.43e-05/0.02628, allocations: 8 kB / 478.7 MB, free: 2.93 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.002638/0.02892, allocations: 2.736 MB / 481.4 MB, free: 72 kB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001211/0.02906, allocations: 103.8 kB / 481.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001249/0.03031, allocations: 1.164 MB / 482.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001065/0.03043, allocations: 99.86 kB / 482.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Alias: time 0.001624/0.03206, allocations: 1.351 MB / 484.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplify2: time 7.281e-05/0.03214, allocations: 79.89 kB / 484.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of Events: time 7.113e-05/0.03222, allocations: 67.92 kB / 484.3 MB, free: 13 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003076/0.03253, allocations: 267 kB / 484.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004722/0.03301, allocations: 462.1 kB / 485 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Causalize: time 0.002341/0.03536, allocations: 2.11 MB / 487.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.000769/0.03614, allocations: 0.7883 MB / 487.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of Inline: time 0.001376/0.03753, allocations: 1.441 MB / 489.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001256/0.03766, allocations: 83.61 kB / 489.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of Cleanup: time 6.934e-05/0.03774, allocations: 71.84 kB / 489.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of Causalize: time 0.004167/0.04191, allocations: 3.79 MB / 493.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Tearing: time 0.001576/0.0435, allocations: 1.37 MB / 494.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of Initialization: time 1.784e-06/0.04351, allocations: 0 / 494.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of Tearing: time 0.001274/0.04479, allocations: 1.355 MB / 496 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of Categorize: time 2.786e-05/0.04483, allocations: 7.984 kB / 496 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of Solve: time 0.0003614/0.0452, allocations: 238.3 kB / 496.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of Jacobian: time 3.377e-06/0.04521, allocations: 0 / 496.2 MB, free: 0.7539 MB / 366.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: 0, nonlinear:1) 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: 0, nonlinear:1) Notification: Performance of backend: time 4.938e-05/0.04526, allocations: 39.16 kB / 496.2 MB, free: 0.7188 MB / 366.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false