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.00133/0.001331, allocations: 106.5 kB / 17.74 MB, free: 5.316 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.001479/0.001479, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.32/1.32, allocations: 205.1 MB / 224.6 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.1784/0.1784, allocations: 37.98 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.001501/0.001501, allocations: 75.03 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.09072, allocations: 55.24 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006337/0.0971, allocations: 4.737 MB / 492.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.09964, allocations: 1.469 MB / 494 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.09994, allocations: 15.94 kB / 494 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.1012, allocations: 402.3 kB / 494.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006788/0.1019, allocations: 278.6 kB / 494.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.1025, allocations: 219.5 kB / 494.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007626/0.1033, allocations: 0.6269 MB / 495.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.1037, allocations: 293.2 kB / 495.8 MB, free: 280 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.1043, allocations: 287 kB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.1049, allocations: 314.8 kB / 496.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.475e-05/0.105, allocations: 36 kB / 496.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.1054, allocations: 151.7 kB / 496.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.1056, allocations: 203.5 kB / 496.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.106, allocations: 250.7 kB / 497 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.1067, allocations: 0.5685 MB / 497.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1067, allocations: 0 / 497.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1067, allocations: 7.938 kB / 497.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.1068, allocations: 0 / 497.6 MB, free: 14.48 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.001366/0.1081, allocations: 0.7417 MB / 498.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1082, allocations: 15.89 kB / 498.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008302/0.109, allocations: 100.3 kB / 498.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.1098, allocations: 444.1 kB / 498.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1099, allocations: 41.03 kB / 498.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.1101, allocations: 51.98 kB / 499 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.1108, allocations: 496.8 kB / 499.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1109, allocations: 3.906 kB / 499.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.1109, allocations: 16 kB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.1111, allocations: 24.98 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.1117, allocations: 351.7 kB / 499.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.1142, allocations: 1.727 MB / 0.4898 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1146, allocations: 306.4 kB / 0.4901 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1149, allocations: 157.7 kB / 0.4903 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1149, allocations: 4 kB / 0.4903 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1149, allocations: 38.55 kB / 0.4903 GB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.115, allocations: 0 / 0.4903 GB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.002038/0.117, allocations: 1.113 MB / 0.4914 GB, free: 8.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1171, allocations: 85.03 kB / 0.4915 GB, free: 8.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.1174, allocations: 329.6 kB / 0.4918 GB, free: 8.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1174, allocations: 29.69 kB / 0.4918 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1176, allocations: 251.9 kB / 0.4921 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.1177, allocations: 98.67 kB / 0.4921 GB, free: 7.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1178, allocations: 69.69 kB / 0.4922 GB, free: 7.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1179, allocations: 350.8 kB / 0.4925 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.1182, allocations: 144.3 kB / 0.4927 GB, free: 7.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.1185, allocations: 235 kB / 0.4929 GB, free: 6.906 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.002603/0.1211, allocations: 1.036 MB / 0.4939 GB, free: 5.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1211, allocations: 12 kB / 0.4939 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001358/0.1225, allocations: 0.6522 MB / 0.4946 GB, free: 5.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1225, allocations: 7.938 kB / 0.4946 GB, free: 5.125 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.0002546/0.1228, allocations: 160.4 kB / 0.4947 GB, free: 4.969 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Generation.Vsource could not be translated