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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001692/0.001692, allocations: 109 kB / 17.06 MB, free: 6.02 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.002088/0.002088, allocations: 199.9 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1802/0.1802, allocations: 37.99 MB / 309.2 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01004/0.1245, allocations: 6.983 MB / 494.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.1296, allocations: 2.416 MB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.1304, allocations: 27.88 kB / 496.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.1321, allocations: 0.5287 MB / 497.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.1338, allocations: 0.595 MB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1353, allocations: 0.5107 MB / 498.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.1375, allocations: 1.984 MB / 0.4884 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.139, allocations: 0.9238 MB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.1403, allocations: 0.7828 MB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.1418, allocations: 0.9467 MB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.1421, allocations: 160 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1434, allocations: 0.6437 MB / 0.4918 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.1441, allocations: 0.647 MB / 0.4924 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009838/0.1451, allocations: 0.6886 MB / 0.4931 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.1475, allocations: 2.072 MB / 0.4951 GB, free: 4.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1475, allocations: 0 / 0.4951 GB, free: 4.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1475, allocations: 0 / 0.4951 GB, free: 4.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.1475, allocations: 0 / 0.4951 GB, free: 4.355 MB / 382.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.004393/0.1519, allocations: 1.885 MB / 0.497 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.152, allocations: 11.89 kB / 0.497 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.1529, allocations: 179.4 kB / 0.4972 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.1548, allocations: 0.9204 MB / 0.4981 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006423/0.1555, allocations: 0.5028 MB / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.1558, allocations: 107.9 kB / 0.4986 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/0.1598, allocations: 2.055 MB / 0.5007 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.1598, allocations: 0 / 0.5007 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.16, allocations: 36 kB / 0.5007 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/0.1602, allocations: 89.94 kB / 0.5008 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004784/0.165, allocations: 2.256 MB / 0.503 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009244/0.1742, allocations: 5.738 MB / 0.5086 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/0.1786, allocations: 1.593 MB / 0.5101 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/0.1811, allocations: 1.129 MB / 0.5112 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1812, allocations: 16.98 kB / 0.5113 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002725/0.184, allocations: 1.316 MB / 0.5125 GB, free: 2.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.156e-06/0.184, allocations: 0 / 0.5125 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02713/0.2111, allocations: 8.579 MB / 0.5209 GB, free: 9.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.2112, allocations: 106.1 kB / 0.521 GB, free: 9.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.2119, allocations: 0.5183 MB / 0.5215 GB, free: 8.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.2122, allocations: 49.7 kB / 0.5216 GB, free: 8.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.2126, allocations: 404.2 kB / 0.522 GB, free: 8.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.2131, allocations: 390.4 kB / 0.5223 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.2135, allocations: 222.8 kB / 0.5225 GB, free: 7.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2137, allocations: 390.8 kB / 0.5229 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.2156, allocations: 0.9745 MB / 0.5239 GB, free: 6.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.2177, allocations: 1.173 MB / 0.525 GB, free: 5.102 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.01217/0.2299, allocations: 5.01 MB / 0.5299 GB, free: 20 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.23, allocations: 0 / 0.5299 GB, free: 20 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.3112/0.5412, allocations: 4.355 MB / 0.5342 GB, free: 51.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5414, allocations: 59.64 kB / 0.5342 GB, free: 51.71 MB / 414.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.003793/0.5452, allocations: 1.058 MB / 0.5353 GB, free: 51.44 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated