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.001522/0.00153, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001776/0.001776, allocations: 194.9 kB / 18.01 MB, free: 5.066 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.509/1.509, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1963/0.1963, allocations: 38.03 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 458.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4069, allocations: 58.05 MB / 0.5041 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008714/0.4156, allocations: 6.994 MB / 0.5109 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.4204, allocations: 2.368 MB / 0.5132 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006842/0.4211, allocations: 29.88 kB / 0.5133 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.4227, allocations: 0.5317 MB / 0.5138 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4244, allocations: 0.6021 MB / 0.5144 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.4258, allocations: 0.5034 MB / 0.5149 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.4286, allocations: 1.995 MB / 0.5168 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.4302, allocations: 0.9146 MB / 0.5177 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.4318, allocations: 0.8073 MB / 0.5185 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.4333, allocations: 0.942 MB / 0.5194 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.4336, allocations: 158.7 kB / 0.5196 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.435, allocations: 0.6592 MB / 0.5202 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008608/0.4359, allocations: 0.6421 MB / 0.5208 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.437, allocations: 0.6848 MB / 0.5215 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.4401, allocations: 2.068 MB / 0.5235 GB, free: 12.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4401, allocations: 0 / 0.5235 GB, free: 12.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4401, allocations: 0 / 0.5235 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.497e-05/0.4402, allocations: 1.5 kB / 0.5235 GB, free: 12.94 MB / 398.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.004896/0.4451, allocations: 1.876 MB / 0.5254 GB, free: 11.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4451, allocations: 17.3 kB / 0.5254 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008916/0.446, allocations: 175 kB / 0.5256 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.448, allocations: 0.9338 MB / 0.5265 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/0.4486, allocations: 0.4985 MB / 0.527 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.4489, allocations: 108.5 kB / 0.5271 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/0.4531, allocations: 2.05 MB / 0.5291 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.4531, allocations: 1.188 kB / 0.5291 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.4533, allocations: 32.72 kB / 0.5291 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.4535, allocations: 93.81 kB / 0.5292 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005217/0.4587, allocations: 2.252 MB / 0.5314 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.4687, allocations: 5.76 MB / 0.537 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.4729, allocations: 1.611 MB / 0.5386 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.4755, allocations: 1.116 MB / 0.5397 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.4756, allocations: 14.89 kB / 0.5397 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002754/0.4784, allocations: 1.314 MB / 0.541 GB, free: 2.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.336e-06/0.4784, allocations: 0 / 0.541 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02555/0.5039, allocations: 8.582 MB / 0.5493 GB, free: 9.711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5041, allocations: 102 kB / 0.5494 GB, free: 9.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5051, allocations: 0.522 MB / 0.55 GB, free: 9.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004299/0.5056, allocations: 53.7 kB / 0.55 GB, free: 9.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.5062, allocations: 408.2 kB / 0.5504 GB, free: 8.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.5067, allocations: 390.5 kB / 0.5508 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.5072, allocations: 226.8 kB / 0.551 GB, free: 7.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.5075, allocations: 390.8 kB / 0.5514 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.5096, allocations: 0.9745 MB / 0.5523 GB, free: 6.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.5115, allocations: 1.162 MB / 0.5534 GB, free: 5.398 MB / 414.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.0119/0.5234, allocations: 5.014 MB / 0.5583 GB, free: 316 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5235, allocations: 0 / 0.5583 GB, free: 316 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01179/0.5353, allocations: 4.355 MB / 0.5626 GB, free: 11.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.5354, allocations: 61.67 kB / 0.5626 GB, free: 11.87 MB / 430.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.002103/0.5375, allocations: 1.046 MB / 0.5637 GB, free: 10.81 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated