Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 113.3 kB / 17.07 MB, free: 5.969 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.001134/0.001134, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1731/0.1731, allocations: 38 MB / 309.2 MB, free: 5.941 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.001825/0.001825, allocations: 67.91 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1268, allocations: 55.24 MB / 487.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01283/0.1397, allocations: 10.19 MB / 497.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00786/0.1476, allocations: 3.759 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.1488, allocations: 35.81 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.152, allocations: 1.206 MB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.1552, allocations: 1.144 MB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.1573, allocations: 0.7173 MB / 0.4923 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.1604, allocations: 2.433 MB / 0.4947 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.1618, allocations: 1.04 MB / 0.4957 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1636, allocations: 1.066 MB / 0.4968 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.1654, allocations: 1.375 MB / 0.4981 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.1657, allocations: 164 kB / 0.4983 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.1672, allocations: 0.7138 MB / 0.499 GB, free: 396 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008906/0.1681, allocations: 0.9664 MB / 0.4999 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.1691, allocations: 1.003 MB / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.1719, allocations: 2.605 MB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1719, allocations: 0 / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.1719, allocations: 3.984 kB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.153e-05/0.172, allocations: 0 / 0.5034 GB, free: 11.79 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.004147/0.1761, allocations: 2.325 MB / 0.5057 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1762, allocations: 11.89 kB / 0.5057 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.178, allocations: 346.2 kB / 0.5061 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.1799, allocations: 1.122 MB / 0.5072 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.18, allocations: 123.1 kB / 0.5073 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004274/0.1805, allocations: 195.8 kB / 0.5075 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.1839, allocations: 2.465 MB / 0.5099 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.184, allocations: 7.938 kB / 0.5099 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.1842, allocations: 71.97 kB / 0.5099 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000463/0.1846, allocations: 158.9 kB / 0.5101 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.1878, allocations: 2.17 MB / 0.5122 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.2007, allocations: 9.194 MB / 0.5212 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.2037, allocations: 2.12 MB / 0.5233 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.2055, allocations: 1.178 MB / 0.5244 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.149e-05/0.2056, allocations: 17.31 kB / 0.5244 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.2075, allocations: 1.411 MB / 0.5258 GB, free: 4.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.751e-06/0.2075, allocations: 4 kB / 0.5258 GB, free: 4.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.2657/0.4732, allocations: 6.867 MB / 0.5325 GB, free: 50.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.4734, allocations: 280 kB / 0.5328 GB, free: 50.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.475, allocations: 0.9315 MB / 0.5337 GB, free: 50 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003449/0.4754, allocations: 70.22 kB / 0.5338 GB, free: 49.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.476, allocations: 0.7322 MB / 0.5345 GB, free: 49.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008532/0.4769, allocations: 0.6602 MB / 0.5351 GB, free: 48.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009428/0.4778, allocations: 409.4 kB / 0.5355 GB, free: 48.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.4779, allocations: 303.5 kB / 0.5358 GB, free: 48.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.4797, allocations: 0.9696 MB / 0.5367 GB, free: 48.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.4823, allocations: 1.516 MB / 0.5382 GB, free: 47.13 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.01505/0.4974, allocations: 6.233 MB / 0.5443 GB, free: 44.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.4974, allocations: 4.688 kB / 0.5443 GB, free: 44.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009328/0.5068, allocations: 4.113 MB / 0.5483 GB, free: 43.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.417e-05/0.5069, allocations: 65.27 kB / 0.5484 GB, free: 43.09 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.001599/0.5085, allocations: 0.972 MB / 0.5493 GB, free: 42.7 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated