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.001697/0.001698, allocations: 114.3 kB / 17.07 MB, free: 5.965 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.001518/0.001518, allocations: 190.8 kB / 18 MB, free: 5.055 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.456/1.456, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1777/0.1777, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.411, allocations: 58.05 MB / 0.5041 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007274/0.4183, allocations: 6.988 MB / 0.5109 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004845/0.4232, allocations: 2.367 MB / 0.5132 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.424, allocations: 25.34 kB / 0.5133 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.4257, allocations: 0.5303 MB / 0.5138 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.4274, allocations: 0.6028 MB / 0.5144 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.4288, allocations: 0.495 MB / 0.5149 GB, free: 364 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.4316, allocations: 2.004 MB / 0.5168 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.4335, allocations: 0.9184 MB / 0.5177 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.4356, allocations: 0.7809 MB / 0.5185 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.4377, allocations: 0.945 MB / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009024/0.4386, allocations: 158.5 kB / 0.5195 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.4411, allocations: 0.6476 MB / 0.5202 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.4427, allocations: 0.6412 MB / 0.5208 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.444, allocations: 0.6873 MB / 0.5215 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.4488, allocations: 2.076 MB / 0.5235 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4488, allocations: 4 kB / 0.5235 GB, free: 12.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4488, allocations: 0 / 0.5235 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.613e-05/0.4489, allocations: 0 / 0.5235 GB, free: 12.88 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.009528/0.4585, allocations: 1.907 MB / 0.5254 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.468e-05/0.4586, allocations: 16.33 kB / 0.5254 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.4606, allocations: 183.2 kB / 0.5256 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.4644, allocations: 0.9319 MB / 0.5265 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.4654, allocations: 0.5032 MB / 0.527 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006856/0.4661, allocations: 107.3 kB / 0.5271 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00841/0.4746, allocations: 2.046 MB / 0.5291 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.375e-05/0.4747, allocations: 6.109 kB / 0.5291 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.475, allocations: 36.91 kB / 0.5291 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004008/0.4754, allocations: 88.3 kB / 0.5292 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/0.4838, allocations: 2.257 MB / 0.5314 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.4991, allocations: 5.757 MB / 0.537 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.5056, allocations: 1.611 MB / 0.5386 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/0.51, allocations: 1.113 MB / 0.5397 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.5102, allocations: 15.86 kB / 0.5397 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004837/0.5151, allocations: 1.313 MB / 0.541 GB, free: 2.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 1.356e-05/0.5151, allocations: 0 / 0.541 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.03361/0.5487, allocations: 8.614 MB / 0.5494 GB, free: 9.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.549, allocations: 102.1 kB / 0.5495 GB, free: 9.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/0.55, allocations: 0.5144 MB / 0.55 GB, free: 9.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004417/0.5504, allocations: 53.69 kB / 0.55 GB, free: 9.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.5509, allocations: 421.2 kB / 0.5504 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007751/0.5517, allocations: 404.6 kB / 0.5508 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008125/0.5525, allocations: 222.9 kB / 0.551 GB, free: 7.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002644/0.5528, allocations: 390.7 kB / 0.5514 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.5551, allocations: 0.9785 MB / 0.5524 GB, free: 6.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.5574, allocations: 1.164 MB / 0.5535 GB, free: 5.41 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.01332/0.5707, allocations: 5.014 MB / 0.5584 GB, free: 328 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.5708, allocations: 0 / 0.5584 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01432/0.5851, allocations: 4.356 MB / 0.5626 GB, free: 11.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.5853, allocations: 61.67 kB / 0.5627 GB, free: 11.88 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.003017/0.5883, allocations: 1.05 MB / 0.5637 GB, free: 10.82 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated