Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 111.1 kB / 17.74 MB, free: 5.332 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.001016/0.001016, allocations: 188.2 kB / 18.67 MB, free: 4.406 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.248/1.248, allocations: 205.1 MB / 224.5 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.1691/0.1691, allocations: 37.99 MB / 309.9 MB, free: 5.945 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.001574/0.001574, allocations: 71.89 kB / 432.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08669, allocations: 55.24 MB / 487.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005715/0.09245, allocations: 4.741 MB / 492.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.09482, allocations: 1.465 MB / 494 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.09514, allocations: 15.88 kB / 494 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.09638, allocations: 414.7 kB / 494.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007179/0.09711, allocations: 274.7 kB / 494.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.09767, allocations: 215.5 kB / 494.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.09842, allocations: 0.6269 MB / 495.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.09887, allocations: 297.2 kB / 495.8 MB, free: 408 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.09933, allocations: 290.8 kB / 496.1 MB, free: 116 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.09992, allocations: 310.9 kB / 496.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.1, allocations: 36 kB / 496.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.1003, allocations: 139.8 kB / 496.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1005, allocations: 207.5 kB / 496.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.1009, allocations: 254.8 kB / 497 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.1015, allocations: 0.5724 MB / 497.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1015, allocations: 0 / 497.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1015, allocations: 0 / 497.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.1016, allocations: 0 / 497.6 MB, free: 14.61 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001289/0.1028, allocations: 0.7417 MB / 498.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1029, allocations: 11.89 kB / 498.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.1037, allocations: 108.3 kB / 498.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.1045, allocations: 440.1 kB / 498.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.1045, allocations: 33.11 kB / 498.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.1047, allocations: 63.84 kB / 499 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.1054, allocations: 492.8 kB / 499.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.1054, allocations: 7.906 kB / 499.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.1055, allocations: 12 kB / 499.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.1056, allocations: 32.92 kB / 499.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.1062, allocations: 347.7 kB / 499.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.1085, allocations: 1.723 MB / 0.4898 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1088, allocations: 306.4 kB / 0.4901 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1091, allocations: 157.6 kB / 0.4903 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1091, allocations: 7.984 kB / 0.4903 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1091, allocations: 38.56 kB / 0.4903 GB, free: 9.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.814e-06/0.1091, allocations: 0 / 0.4903 GB, free: 9.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001892/0.111, allocations: 1.109 MB / 0.4914 GB, free: 8.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1111, allocations: 88.92 kB / 0.4915 GB, free: 8.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.1114, allocations: 333.6 kB / 0.4918 GB, free: 8.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1114, allocations: 33.69 kB / 0.4918 GB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1116, allocations: 247.9 kB / 0.492 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.1116, allocations: 98.64 kB / 0.4921 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1118, allocations: 69.69 kB / 0.4922 GB, free: 7.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1119, allocations: 350.7 kB / 0.4925 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1121, allocations: 144.3 kB / 0.4927 GB, free: 7.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.1123, allocations: 238.9 kB / 0.4929 GB, free: 7.027 MB / 382.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.002388/0.1147, allocations: 1.036 MB / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1147, allocations: 4 kB / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001228/0.116, allocations: 0.6598 MB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.116, allocations: 7.938 kB / 0.4946 GB, free: 5.246 MB / 382.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.0002318/0.1162, allocations: 152.8 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated