Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, 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.001184/0.001184, 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.303/1.303, 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.1628/0.1628, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.065e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01038/0.01042, allocations: 9.256 MB / 468 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.01708, allocations: 3.241 MB / 471.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.0181, allocations: 43.81 kB / 471.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.01962, allocations: 421.2 kB / 471.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.02195, allocations: 0.7888 MB / 472.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.02306, allocations: 490.2 kB / 473 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.02553, allocations: 2.089 MB / 475.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.02675, allocations: 0.9274 MB / 476 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.02773, allocations: 0.7666 MB / 476.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000794/0.02854, allocations: 0.6847 MB / 477.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.0287, allocations: 116 kB / 477.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.02999, allocations: 487.3 kB / 478 MB, free: 3.547 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.00166/0.03167, allocations: 1.941 MB / 480 MB, free: 1.586 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008708/0.03255, allocations: 1.245 MB / 481.2 MB, free: 332 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.0329, allocations: 195.4 kB / 481.4 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd: time 0.0003487/0.03325, allocations: 35.81 kB / 481.5 MB, free: 100 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 (199) * Number of variables: 274 (195) Notification: Performance of Bindings: time 0.005729/0.03899, allocations: 5.575 MB / 487 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.000546/0.03955, allocations: 479.1 kB / 487.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of Early Inline: time 0.002895/0.04245, allocations: 2.935 MB / 490.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simplify1: time 0.0003081/0.04278, allocations: 215.7 kB / 490.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of Alias: time 0.004933/0.04772, allocations: 4.036 MB / 494.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simplify2: time 0.0002278/0.04796, allocations: 167.8 kB / 494.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of Events: time 0.0002224/0.04819, allocations: 216.5 kB / 495.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of Detect States: time 0.0008521/0.04905, allocations: 0.7927 MB / 495.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of Partitioning: time 0.001043/0.0501, allocations: 0.8757 MB / 496.7 MB, free: 168 kB / 366.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {PMgen.inverter.AC.i[1], PMgen.inverter.AC.i[2], PMgen.inverter.AC.i[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: PMgen.inverter.AC.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) PMgen.inverter.iDC1 + PMgen.inverter.switch_dq0 * PMgen.inverter.AC.i = 0.0 ($RES_SIM_57)