Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.001068/0.001068, allocations: 110.5 kB / 17.06 MB, free: 6.098 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.001199/0.0012, allocations: 198.9 kB / 18 MB, free: 5.172 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.185/0.185, allocations: 38.03 MB / 329.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.89 kB / 458.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3227, allocations: 58.06 MB / 0.5041 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01037/0.3331, allocations: 6.983 MB / 0.5109 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.3386, allocations: 2.37 MB / 0.5132 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006241/0.3392, allocations: 30.66 kB / 0.5133 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.341, allocations: 0.5253 MB / 0.5138 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.343, allocations: 0.6053 MB / 0.5144 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.3449, allocations: 0.4992 MB / 0.5149 GB, free: 336 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003363/0.3482, allocations: 1.995 MB / 0.5168 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.3506, allocations: 0.9252 MB / 0.5177 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.353, allocations: 0.8046 MB / 0.5185 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.3554, allocations: 0.9365 MB / 0.5194 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006279/0.3561, allocations: 162.5 kB / 0.5196 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.3581, allocations: 0.6565 MB / 0.5202 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.3599, allocations: 0.6384 MB / 0.5208 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.3623, allocations: 0.6881 MB / 0.5215 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.3679, allocations: 2.063 MB / 0.5235 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.368, allocations: 5.188 kB / 0.5235 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.368, allocations: 3.938 kB / 0.5235 GB, free: 12.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.615e-05/0.3681, allocations: 0 / 0.5235 GB, free: 12.85 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.007455/0.3755, allocations: 1.873 MB / 0.5253 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3756, allocations: 18.39 kB / 0.5254 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3769, allocations: 178.1 kB / 0.5255 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.38, allocations: 0.932 MB / 0.5264 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009677/0.381, allocations: 0.5054 MB / 0.5269 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.3814, allocations: 109 kB / 0.527 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/0.3878, allocations: 2.043 MB / 0.529 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.3879, allocations: 0 / 0.529 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.3882, allocations: 45.91 kB / 0.5291 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003375/0.3885, allocations: 87.89 kB / 0.5292 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007841/0.3964, allocations: 2.253 MB / 0.5314 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.4103, allocations: 5.755 MB / 0.537 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.4172, allocations: 1.603 MB / 0.5386 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.4218, allocations: 1.116 MB / 0.5396 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.422, allocations: 16.05 kB / 0.5397 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004896/0.4269, allocations: 1.318 MB / 0.5409 GB, free: 2.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 5.56e-06/0.4269, allocations: 0 / 0.5409 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.0442/0.4711, allocations: 8.575 MB / 0.5493 GB, free: 9.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.4713, allocations: 98.05 kB / 0.5494 GB, free: 9.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.4724, allocations: 0.5221 MB / 0.5499 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004688/0.4729, allocations: 57.69 kB / 0.55 GB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.4733, allocations: 404.2 kB / 0.5504 GB, free: 8.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000699/0.474, allocations: 394.5 kB / 0.5507 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007013/0.4747, allocations: 226.7 kB / 0.551 GB, free: 8.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4749, allocations: 394.7 kB / 0.5513 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.4773, allocations: 0.9745 MB / 0.5523 GB, free: 6.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.4796, allocations: 1.156 MB / 0.5534 GB, free: 5.449 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.01317/0.4928, allocations: 5.018 MB / 0.5583 GB, free: 364 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.4929, allocations: 4 kB / 0.5583 GB, free: 360 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01424/0.5071, allocations: 4.352 MB / 0.5626 GB, free: 11.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.5073, allocations: 65.67 kB / 0.5626 GB, free: 11.91 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.002788/0.5101, allocations: 1.054 MB / 0.5637 GB, free: 10.84 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated