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.001466/0.001465, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001657/0.001657, allocations: 191 kB / 18.67 MB, free: 4.438 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.444/1.444, 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.1883/0.1883, allocations: 37.99 MB / 309.9 MB, free: 5.961 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.001377/0.001377, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1003, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009431/0.1097, allocations: 6.987 MB / 494.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.1144, allocations: 2.416 MB / 497.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007059/0.1152, allocations: 31.81 kB / 497.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.117, allocations: 0.5209 MB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.1188, allocations: 0.595 MB / 498.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1201, allocations: 0.5029 MB / 498.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002409/0.1226, allocations: 1.992 MB / 0.4891 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.1241, allocations: 0.916 MB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.1257, allocations: 0.7867 MB / 0.4908 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.1276, allocations: 0.9351 MB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005231/0.1281, allocations: 156 kB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.1297, allocations: 0.6669 MB / 0.4925 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1308, allocations: 0.6393 MB / 0.4931 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1323, allocations: 0.6886 MB / 0.4938 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.1351, allocations: 2.069 MB / 0.4958 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1351, allocations: 0 / 0.4958 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1351, allocations: 0 / 0.4958 GB, free: 4.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.709e-05/0.1352, allocations: 0 / 0.4958 GB, free: 4.367 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.005138/0.1403, allocations: 1.881 MB / 0.4976 GB, free: 2.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1404, allocations: 15.89 kB / 0.4976 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.1414, allocations: 179.5 kB / 0.4978 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.1436, allocations: 0.9282 MB / 0.4987 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006966/0.1443, allocations: 0.5067 MB / 0.4992 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/0.1447, allocations: 107.9 kB / 0.4993 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004622/0.1494, allocations: 2.047 MB / 0.5013 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.1494, allocations: 4 kB / 0.5013 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.1496, allocations: 35.98 kB / 0.5013 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.1498, allocations: 93.94 kB / 0.5014 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005224/0.1551, allocations: 2.252 MB / 0.5036 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.1653, allocations: 5.738 MB / 0.5092 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.1695, allocations: 1.599 MB / 0.5108 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.1722, allocations: 1.121 MB / 0.5119 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.1723, allocations: 14.25 kB / 0.5119 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002964/0.1753, allocations: 1.32 MB / 0.5132 GB, free: 2.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.847e-06/0.1753, allocations: 0 / 0.5132 GB, free: 2.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02821/0.2036, allocations: 8.583 MB / 0.5216 GB, free: 9.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.2037, allocations: 106 kB / 0.5217 GB, free: 9.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.2044, allocations: 0.5105 MB / 0.5222 GB, free: 8.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.2046, allocations: 53.7 kB / 0.5222 GB, free: 8.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.205, allocations: 408.2 kB / 0.5226 GB, free: 8.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.2055, allocations: 390.4 kB / 0.523 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.206, allocations: 222.8 kB / 0.5232 GB, free: 7.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2062, allocations: 386.8 kB / 0.5236 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.2082, allocations: 0.9823 MB / 0.5245 GB, free: 6.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.2104, allocations: 1.158 MB / 0.5257 GB, free: 5.113 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.01237/0.2228, allocations: 5.022 MB / 0.5306 GB, free: 20 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.2228, allocations: 0 / 0.5306 GB, free: 20 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.2307/0.4536, allocations: 4.353 MB / 0.5348 GB, free: 51.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.4537, allocations: 61.22 kB / 0.5349 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.002214/0.4559, allocations: 1.05 MB / 0.5359 GB, free: 51.41 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated