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.001179/0.001178, allocations: 112.4 kB / 17.06 MB, free: 5.973 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.001209/0.001209, allocations: 200 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.376/1.376, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1729/0.1729, allocations: 37.99 MB / 309.2 MB, free: 5.938 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.001465/0.001465, allocations: 76.31 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 55.23 MB / 487.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01187/0.141, allocations: 10.19 MB / 497.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00684/0.1479, allocations: 3.759 MB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.1489, allocations: 35.81 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.1523, allocations: 1.206 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.157, allocations: 1.159 MB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.16, allocations: 0.7251 MB / 0.4924 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005845/0.1658, allocations: 2.425 MB / 0.4947 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.1684, allocations: 1.044 MB / 0.4958 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.1711, allocations: 1.066 MB / 0.4968 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.1739, allocations: 1.375 MB / 0.4981 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.1743, allocations: 171.9 kB / 0.4983 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.1764, allocations: 0.7021 MB / 0.499 GB, free: 364 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.1778, allocations: 0.9704 MB / 0.4999 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.1794, allocations: 0.9991 MB / 0.5009 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.1832, allocations: 2.605 MB / 0.5035 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1832, allocations: 0 / 0.5035 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1833, allocations: 0 / 0.5035 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.1833, allocations: 0 / 0.5035 GB, free: 11.77 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.006239/0.1895, allocations: 2.325 MB / 0.5057 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1896, allocations: 11.89 kB / 0.5057 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.1925, allocations: 342.3 kB / 0.5061 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.1954, allocations: 1.126 MB / 0.5072 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.1956, allocations: 131.1 kB / 0.5073 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006151/0.1962, allocations: 187.9 kB / 0.5075 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/0.2016, allocations: 2.469 MB / 0.5099 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.385e-05/0.2017, allocations: 7.938 kB / 0.5099 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.202, allocations: 67.97 kB / 0.51 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007085/0.2027, allocations: 158.9 kB / 0.5101 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005238/0.208, allocations: 2.17 MB / 0.5122 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.2222, allocations: 9.194 MB / 0.5212 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.225, allocations: 2.123 MB / 0.5233 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.2267, allocations: 1.17 MB / 0.5244 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.2268, allocations: 25.36 kB / 0.5244 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001903/0.2287, allocations: 1.411 MB / 0.5258 GB, free: 4.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.15e-06/0.2287, allocations: 4 kB / 0.5258 GB, free: 4.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.2979/0.5266, allocations: 6.872 MB / 0.5325 GB, free: 50.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.5268, allocations: 278.3 kB / 0.5328 GB, free: 50.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.5281, allocations: 0.9321 MB / 0.5337 GB, free: 49.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.5282, allocations: 68.66 kB / 0.5338 GB, free: 49.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006033/0.5288, allocations: 0.7264 MB / 0.5345 GB, free: 49.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005421/0.5294, allocations: 0.6623 MB / 0.5351 GB, free: 48.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006428/0.53, allocations: 409 kB / 0.5355 GB, free: 48.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.5301, allocations: 307.5 kB / 0.5358 GB, free: 48.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.5316, allocations: 0.9664 MB / 0.5368 GB, free: 48.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.5335, allocations: 1.518 MB / 0.5382 GB, free: 47.11 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.01442/0.5479, allocations: 6.229 MB / 0.5443 GB, free: 44.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-05/0.548, allocations: 4.906 kB / 0.5443 GB, free: 44.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008798/0.5568, allocations: 4.115 MB / 0.5484 GB, free: 43.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.5569, allocations: 64.28 kB / 0.5484 GB, free: 43.07 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.001605/0.5585, allocations: 0.9707 MB / 0.5494 GB, free: 42.68 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated