Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.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.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 106.2 kB / 17.16 MB, free: 6.348 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.0009976/0.0009976, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.04 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.98 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1085, allocations: 58.07 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009567/0.1182, allocations: 8.223 MB / 465 MB, free: 300 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.1234, allocations: 2.785 MB / 467.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.1242, allocations: 51.69 kB / 467.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.1257, allocations: 0.4918 MB / 468.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.127, allocations: 0.5525 MB / 468.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1281, allocations: 463.3 kB / 469.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.1304, allocations: 2.487 MB / 471.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.1315, allocations: 0.7799 MB / 472.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.1325, allocations: 0.6618 MB / 473.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1337, allocations: 0.9427 MB / 474.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.1339, allocations: 84 kB / 474.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1349, allocations: 0.6395 MB / 474.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.1355, allocations: 0.5651 MB / 475.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.1361, allocations: 0.6261 MB / 476.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1374, allocations: 1.587 MB / 477.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1374, allocations: 0 / 477.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1374, allocations: 0 / 477.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1374, allocations: 0 / 477.7 MB, free: 3.543 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004103/0.1415, allocations: 1.885 MB / 479.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1416, allocations: 12.03 kB / 479.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008267/0.1424, allocations: 175.5 kB / 479.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.1443, allocations: 0.8892 MB / 480.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/0.1449, allocations: 0.5028 MB / 481.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.1452, allocations: 103.9 kB / 481.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.1491, allocations: 2.047 MB / 483.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.1492, allocations: 0 / 483.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.1493, allocations: 43.86 kB / 483.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/0.1496, allocations: 89.95 kB / 483.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004634/0.1542, allocations: 2.248 MB / 485.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009097/0.1633, allocations: 5.77 MB / 491.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.1673, allocations: 1.608 MB / 493.1 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.1696, allocations: 1.121 MB / 494.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1697, allocations: 13 kB / 494.2 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002639/0.1724, allocations: 1.308 MB / 495.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 2.755e-06/0.1724, allocations: 3.938 kB / 495.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02495/0.1974, allocations: 8.579 MB / 0.4923 GB, free: 8.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.1975, allocations: 98.09 kB / 0.4924 GB, free: 8.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007888/0.1983, allocations: 0.5182 MB / 0.4929 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002798/0.1986, allocations: 49.7 kB / 0.4929 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.199, allocations: 412.2 kB / 0.4933 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.1994, allocations: 394.4 kB / 0.4937 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.1998, allocations: 218.8 kB / 0.4939 GB, free: 6.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2, allocations: 394.7 kB / 0.4943 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.2019, allocations: 0.9823 MB / 0.4953 GB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.204, allocations: 1.158 MB / 0.4964 GB, free: 4.309 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2144/0.4185, allocations: 5.006 MB / 0.5013 GB, free: 56.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4185, allocations: 1.281 kB / 0.5013 GB, free: 56.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01269/0.4312, allocations: 4.361 MB / 0.5055 GB, free: 55.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-05/0.4314, allocations: 63.58 kB / 0.5056 GB, free: 55.57 MB / 382.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002172/0.4335, allocations: 1.055 MB / 0.5066 GB, free: 55.2 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated