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.001465/0.001466, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001582/0.001582, allocations: 192 kB / 18.62 MB, free: 4.543 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.417/1.417, allocations: 222.9 MB / 242.3 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.3095/0.3095, allocations: 38.04 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.28 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1181, allocations: 58.06 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009857/0.128, allocations: 6.99 MB / 465.3 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.1325, allocations: 2.368 MB / 467.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.1329, allocations: 27.81 kB / 467.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.1344, allocations: 0.5288 MB / 468.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1356, allocations: 0.5989 MB / 468.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1366, allocations: 0.5029 MB / 469.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.1386, allocations: 1.992 MB / 471.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.1397, allocations: 0.9199 MB / 472.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1407, allocations: 0.7828 MB / 473 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1419, allocations: 0.935 MB / 474 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.1421, allocations: 160 kB / 474.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009537/0.1431, allocations: 0.6593 MB / 474.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.1437, allocations: 0.6392 MB / 475.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006861/0.1444, allocations: 0.6886 MB / 476.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.1463, allocations: 2.065 MB / 478.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1463, allocations: 0 / 478.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1463, allocations: 0 / 478.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1464, allocations: 0 / 478.2 MB, free: 3.395 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.004081/0.1504, allocations: 1.885 MB / 480.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1505, allocations: 15.89 kB / 480.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.1513, allocations: 175.5 kB / 480.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.1532, allocations: 0.9282 MB / 481.2 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006402/0.1539, allocations: 0.5028 MB / 481.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.1542, allocations: 111.8 kB / 481.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/0.1579, allocations: 2.044 MB / 483.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1579, allocations: 4 kB / 483.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.1581, allocations: 35.98 kB / 483.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.1583, allocations: 97.88 kB / 484 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004552/0.1629, allocations: 2.248 MB / 486.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008791/0.1717, allocations: 5.735 MB / 491.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.1755, allocations: 1.611 MB / 493.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.1779, allocations: 1.121 MB / 494.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.232e-05/0.178, allocations: 14.23 kB / 494.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002628/0.1806, allocations: 1.324 MB / 496 MB, free: 1.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 2.635e-06/0.1806, allocations: 0 / 496 MB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02467/0.2053, allocations: 8.572 MB / 0.4928 GB, free: 8.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.2054, allocations: 102.1 kB / 0.4929 GB, free: 8.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.2062, allocations: 0.5144 MB / 0.4934 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.2064, allocations: 53.7 kB / 0.4934 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.2067, allocations: 404.2 kB / 0.4938 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.2071, allocations: 398.4 kB / 0.4942 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.2075, allocations: 218.8 kB / 0.4944 GB, free: 6.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2077, allocations: 390.8 kB / 0.4948 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.2096, allocations: 0.9745 MB / 0.4957 GB, free: 5.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.2116, allocations: 1.166 MB / 0.4968 GB, free: 4.137 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.2494/0.461, allocations: 5.009 MB / 0.5017 GB, free: 55.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.461, allocations: 0.875 kB / 0.5017 GB, free: 55.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01382/0.4748, allocations: 4.354 MB / 0.506 GB, free: 55.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.853e-05/0.4749, allocations: 64.59 kB / 0.5061 GB, free: 55.32 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.002277/0.4772, allocations: 1.052 MB / 0.5071 GB, free: 54.95 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated