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.001219/0.001219, allocations: 114.8 kB / 17.74 MB, free: 5.348 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.001208/0.001208, allocations: 188.5 kB / 18.67 MB, free: 4.426 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.224/1.224, allocations: 205.1 MB / 224.5 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.1619/0.1619, allocations: 37.98 MB / 309.9 MB, free: 5.977 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.001439/0.001439, allocations: 67.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.08054, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007592/0.08816, allocations: 6.987 MB / 494.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.09191, allocations: 2.416 MB / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004831/0.09241, allocations: 31.81 kB / 497.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.0938, allocations: 0.5248 MB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.09512, allocations: 0.5911 MB / 498.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.09613, allocations: 0.5029 MB / 498.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.09798, allocations: 1.992 MB / 0.4891 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.09899, allocations: 0.916 MB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009253/0.09993, allocations: 0.8062 MB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.101, allocations: 0.9467 MB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.1012, allocations: 156 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009396/0.1022, allocations: 0.6476 MB / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.1028, allocations: 0.6509 MB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.1034, allocations: 0.6886 MB / 0.4938 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.1051, allocations: 2.076 MB / 0.4958 GB, free: 4.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1051, allocations: 0 / 0.4958 GB, free: 4.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1051, allocations: 0 / 0.4958 GB, free: 4.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.1051, allocations: 0 / 0.4958 GB, free: 4.332 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.003723/0.1089, allocations: 1.881 MB / 0.4976 GB, free: 2.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1089, allocations: 19.83 kB / 0.4977 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/0.1097, allocations: 179.5 kB / 0.4978 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.1115, allocations: 0.9204 MB / 0.4987 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005452/0.112, allocations: 0.5106 MB / 0.4992 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.1123, allocations: 103.9 kB / 0.4993 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.1158, allocations: 2.047 MB / 0.5013 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.1158, allocations: 4 kB / 0.5013 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1159, allocations: 36 kB / 0.5014 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.1162, allocations: 89.94 kB / 0.5015 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.1204, allocations: 2.256 MB / 0.5037 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007926/0.1284, allocations: 5.738 MB / 0.5093 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.1319, allocations: 1.601 MB / 0.5108 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.1341, allocations: 1.125 MB / 0.5119 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.1342, allocations: 13 kB / 0.5119 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/0.1366, allocations: 1.312 MB / 0.5132 GB, free: 2.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 2.725e-06/0.1366, allocations: 0 / 0.5132 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02278/0.1594, allocations: 8.587 MB / 0.5216 GB, free: 9.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1595, allocations: 102.1 kB / 0.5217 GB, free: 9.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.16, allocations: 0.5144 MB / 0.5222 GB, free: 8.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.1601, allocations: 49.7 kB / 0.5223 GB, free: 8.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.1604, allocations: 412.2 kB / 0.5226 GB, free: 8.277 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.1608, allocations: 390.4 kB / 0.523 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.1611, allocations: 218.8 kB / 0.5232 GB, free: 7.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1613, allocations: 390.8 kB / 0.5236 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.163, allocations: 0.9784 MB / 0.5246 GB, free: 6.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.1647, allocations: 1.162 MB / 0.5257 GB, free: 5.082 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.184/0.3488, allocations: 5.018 MB / 0.5306 GB, free: 51.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.3488, allocations: 0 / 0.5306 GB, free: 51.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01175/0.3606, allocations: 4.353 MB / 0.5348 GB, free: 51.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.3607, allocations: 60.42 kB / 0.5349 GB, free: 51.41 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.00195/0.3627, allocations: 1.053 MB / 0.5359 GB, free: 51.12 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated