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.001565/0.001565, allocations: 113.3 kB / 17.69 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.001825/0.001825, allocations: 192 kB / 18.63 MB, free: 4.375 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.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1749/0.1749, allocations: 38.04 MB / 330.5 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.28 kB / 400.3 MB, free: 33.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1005, allocations: 58.05 MB / 458.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008841/0.1094, allocations: 6.996 MB / 465.3 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.1136, allocations: 2.372 MB / 467.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.1141, allocations: 31.81 kB / 467.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.1157, allocations: 0.5249 MB / 468.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.1171, allocations: 0.595 MB / 468.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1183, allocations: 0.5069 MB / 469.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.1204, allocations: 1.992 MB / 471.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.1218, allocations: 0.916 MB / 472.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.1231, allocations: 0.7868 MB / 473 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.1247, allocations: 0.9427 MB / 474 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004271/0.1251, allocations: 160 kB / 474.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1266, allocations: 0.6476 MB / 474.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009501/0.1275, allocations: 0.6432 MB / 475.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.1288, allocations: 0.6846 MB / 476.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.1314, allocations: 2.069 MB / 478.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1314, allocations: 0 / 478.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.1314, allocations: 4 kB / 478.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.624e-05/0.1315, allocations: 0 / 478.2 MB, free: 3.445 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.005367/0.1369, allocations: 1.877 MB / 480.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1369, allocations: 11.89 kB / 480.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/0.1379, allocations: 175.5 kB / 480.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.1402, allocations: 0.936 MB / 481.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006411/0.1408, allocations: 0.4989 MB / 481.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.1412, allocations: 115.8 kB / 481.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/0.1453, allocations: 2.044 MB / 483.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.1454, allocations: 0 / 483.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.1455, allocations: 39.98 kB / 483.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002222/0.1457, allocations: 89.94 kB / 484 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.1505, allocations: 2.256 MB / 486.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.1607, allocations: 5.739 MB / 492 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.1646, allocations: 1.607 MB / 493.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.1669, allocations: 1.121 MB / 494.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.167, allocations: 14.23 kB / 494.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002655/0.1697, allocations: 1.328 MB / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.336e-06/0.1697, allocations: 0 / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02489/0.1946, allocations: 8.564 MB / 0.4928 GB, free: 8.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.1947, allocations: 102.1 kB / 0.4929 GB, free: 8.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.1955, allocations: 0.5144 MB / 0.4934 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.1957, allocations: 61.67 kB / 0.4934 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.1961, allocations: 400.2 kB / 0.4938 GB, free: 7.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.1966, allocations: 394.4 kB / 0.4942 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/0.197, allocations: 218.8 kB / 0.4944 GB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1972, allocations: 398.7 kB / 0.4948 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.199, allocations: 0.9785 MB / 0.4957 GB, free: 5.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.201, allocations: 1.158 MB / 0.4969 GB, free: 4.191 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.2052/0.4062, allocations: 5.002 MB / 0.5017 GB, free: 56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4063, allocations: 1.875 kB / 0.5017 GB, free: 56 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01226/0.4185, allocations: 4.361 MB / 0.506 GB, free: 55.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.4186, allocations: 61.17 kB / 0.5061 GB, free: 55.44 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.002054/0.4207, allocations: 1.048 MB / 0.5071 GB, free: 55.07 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated