Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled.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.NetworkControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.|turbine1.tau|turbine2.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.|turbine1.tau|turbine2.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 113.1 kB / 17.75 MB, free: 5.309 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.001293/0.001293, allocations: 192.6 kB / 18.68 MB, free: 4.387 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1672/0.1672, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/2.898e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.009841/0.009878, allocations: 9.505 MB / 468.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007465/0.01737, allocations: 5.401 MB / 473.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.01797, allocations: 31.88 kB / 473.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.0208, allocations: 1.128 MB / 474.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.02442, allocations: 1.366 MB / 476.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.02624, allocations: 0.604 MB / 476.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002599/0.02885, allocations: 2.195 MB / 479 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.03022, allocations: 0.9737 MB / 480 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.03174, allocations: 0.8403 MB / 480.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008481/0.0326, allocations: 0.7158 MB / 481.5 MB, free: 52 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.03275, allocations: 96.05 kB / 481.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.03586, allocations: 1.286 MB / 482.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001564/0.03744, allocations: 1.922 MB / 484.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008122/0.03826, allocations: 1.266 MB / 486.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.0387, allocations: 183.4 kB / 486.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0002698/0.03898, allocations: 43.8 kB / 486.3 MB, free: 11.22 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 (233) * Number of variables: 298 (211) Notification: Performance of Bindings: time 0.005807/0.04479, allocations: 5.282 MB / 491.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002179/0.04502, allocations: 223.6 kB / 491.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of Early Inline: time 0.003762/0.04879, allocations: 3.463 MB / 495.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simplify1: time 0.0003306/0.04913, allocations: 259.6 kB / 495.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Alias: time 0.004056/0.0532, allocations: 3.507 MB / 499.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simplify2: time 0.0002493/0.05346, allocations: 227.7 kB / 499.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Events: time 0.0003664/0.05383, allocations: 396.6 kB / 499.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Detect States: time 0.0007519/0.05459, allocations: 0.7932 MB / 0.4887 GB, free: 12.52 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001063/0.05567, allocations: 1.041 MB / 0.4897 GB, free: 11.44 MB / 382.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: impedance1.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) impedance1.p = {impedance1.v * impedance1.i, -{-impedance1.v[2], impedance1.v[1]} * impedance1.i} ($RES_BND_198)