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.00131/0.00131, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001353/0.001353, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1751/0.1751, allocations: 38.05 MB / 330.6 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.89 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.335, allocations: 58.06 MB / 0.5048 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008111/0.3431, allocations: 6.988 MB / 0.5116 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.3478, allocations: 2.372 MB / 0.5139 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008241/0.3486, allocations: 34.72 kB / 0.5139 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.3503, allocations: 0.5251 MB / 0.5144 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.3521, allocations: 0.6047 MB / 0.515 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.3537, allocations: 0.5002 MB / 0.5155 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.3565, allocations: 1.998 MB / 0.5175 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.3583, allocations: 0.9158 MB / 0.5184 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.3605, allocations: 0.8129 MB / 0.5192 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.363, allocations: 0.9368 MB / 0.5201 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009883/0.3641, allocations: 159.4 kB / 0.5202 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.3668, allocations: 0.6548 MB / 0.5209 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.3687, allocations: 0.643 MB / 0.5215 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.371, allocations: 0.692 MB / 0.5222 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.3764, allocations: 2.063 MB / 0.5242 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3765, allocations: 1.375 kB / 0.5242 GB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3765, allocations: 0 / 0.5242 GB, free: 12.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.835e-05/0.3766, allocations: 0 / 0.5242 GB, free: 12.93 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.007612/0.3842, allocations: 1.876 MB / 0.526 GB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3843, allocations: 18.08 kB / 0.526 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.3857, allocations: 174.1 kB / 0.5262 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.3887, allocations: 0.9331 MB / 0.5271 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/0.3898, allocations: 0.4996 MB / 0.5276 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006343/0.3905, allocations: 103.4 kB / 0.5277 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006103/0.3966, allocations: 2.051 MB / 0.5297 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.3966, allocations: 7.094 kB / 0.5297 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.3968, allocations: 37.31 kB / 0.5298 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/0.3971, allocations: 91.25 kB / 0.5298 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/0.403, allocations: 2.252 MB / 0.532 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.415, allocations: 5.753 MB / 0.5377 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/0.4199, allocations: 1.61 MB / 0.5392 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.4229, allocations: 1.12 MB / 0.5403 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.4231, allocations: 10.56 kB / 0.5403 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003387/0.4265, allocations: 1.32 MB / 0.5416 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 5.881e-06/0.4265, allocations: 0 / 0.5416 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02955/0.456, allocations: 8.575 MB / 0.55 GB, free: 9.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4562, allocations: 106 kB / 0.5501 GB, free: 9.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.4571, allocations: 0.5221 MB / 0.5506 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004535/0.4575, allocations: 49.7 kB / 0.5507 GB, free: 9.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.458, allocations: 408.2 kB / 0.551 GB, free: 8.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007338/0.4587, allocations: 390.5 kB / 0.5514 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007595/0.4595, allocations: 226.8 kB / 0.5516 GB, free: 8.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.4597, allocations: 386.8 kB / 0.552 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.4619, allocations: 0.9863 MB / 0.553 GB, free: 6.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.4642, allocations: 1.154 MB / 0.5541 GB, free: 5.496 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.01334/0.4776, allocations: 5.01 MB / 0.559 GB, free: 420 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4776, allocations: 3.938 kB / 0.559 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01394/0.4916, allocations: 4.356 MB / 0.5632 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.4917, allocations: 61.67 kB / 0.5633 GB, free: 11.96 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.002843/0.4946, allocations: 1.05 MB / 0.5643 GB, free: 10.91 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated