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.001104/0.001104, allocations: 111.9 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.001724/0.001724, allocations: 179.1 kB / 18.66 MB, free: 4.441 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.286/1.286, 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.1812/0.1812, allocations: 37.97 MB / 309.9 MB, free: 5.969 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.001357/0.001358, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09372, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01187/0.1056, allocations: 10.18 MB / 498 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006319/0.112, allocations: 3.755 MB / 0.49 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009502/0.113, allocations: 35.81 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.1164, allocations: 1.213 MB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003366/0.1198, allocations: 1.14 MB / 0.4923 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.122, allocations: 0.7289 MB / 0.493 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.1264, allocations: 2.421 MB / 0.4954 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.1282, allocations: 1.036 MB / 0.4964 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.1301, allocations: 1.074 MB / 0.4974 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.1323, allocations: 1.375 MB / 0.4988 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005913/0.133, allocations: 171.9 kB / 0.4989 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.1347, allocations: 0.7099 MB / 0.4996 GB, free: 412 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.1359, allocations: 0.9586 MB / 0.5006 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.138, allocations: 1.011 MB / 0.5016 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0038/0.1418, allocations: 2.601 MB / 0.5041 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1418, allocations: 0 / 0.5041 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1419, allocations: 0 / 0.5041 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.852e-05/0.1419, allocations: 0 / 0.5041 GB, free: 11.82 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.004742/0.1467, allocations: 2.317 MB / 0.5064 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1467, allocations: 15.89 kB / 0.5064 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.1485, allocations: 342.3 kB / 0.5067 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.1507, allocations: 1.126 MB / 0.5078 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1508, allocations: 127.1 kB / 0.5079 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.1512, allocations: 203.8 kB / 0.5081 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/0.1559, allocations: 2.465 MB / 0.5105 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.156, allocations: 7.938 kB / 0.5105 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.1561, allocations: 71.97 kB / 0.5106 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004672/0.1566, allocations: 158.9 kB / 0.5107 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.1598, allocations: 2.162 MB / 0.5129 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.1713, allocations: 9.194 MB / 0.5218 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.1739, allocations: 2.127 MB / 0.5239 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.1754, allocations: 1.178 MB / 0.5251 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-05/0.1755, allocations: 21.3 kB / 0.5251 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.1773, allocations: 1.407 MB / 0.5265 GB, free: 4.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.517e-06/0.1773, allocations: 4 kB / 0.5265 GB, free: 4.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.2315/0.4088, allocations: 6.87 MB / 0.5332 GB, free: 50.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.4089, allocations: 274.1 kB / 0.5334 GB, free: 50.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4101, allocations: 0.9316 MB / 0.5343 GB, free: 50.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.4103, allocations: 71.58 kB / 0.5344 GB, free: 50.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.4107, allocations: 0.7284 MB / 0.5351 GB, free: 49.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.4112, allocations: 0.6633 MB / 0.5358 GB, free: 49.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/0.4117, allocations: 407.8 kB / 0.5362 GB, free: 49.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.4118, allocations: 306.3 kB / 0.5365 GB, free: 48.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.4132, allocations: 0.9651 MB / 0.5374 GB, free: 48.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.4148, allocations: 1.521 MB / 0.5389 GB, free: 47.54 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.01325/0.428, allocations: 6.229 MB / 0.545 GB, free: 45.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.4281, allocations: 4.719 kB / 0.545 GB, free: 45.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007358/0.4354, allocations: 4.114 MB / 0.549 GB, free: 43.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.4355, allocations: 65.3 kB / 0.549 GB, free: 43.49 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.001407/0.4369, allocations: 0.979 MB / 0.55 GB, free: 43.1 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated