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.001277/0.001277, allocations: 110.9 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.00131/0.00131, allocations: 184.5 kB / 18.67 MB, free: 4.398 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.311/1.311, allocations: 205.1 MB / 224.5 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.1761/0.1761, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001418/0.001418, allocations: 64.38 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09807, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005692/0.1038, allocations: 4.729 MB / 492.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1059, allocations: 1.469 MB / 494 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1061, allocations: 19.88 kB / 494 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1072, allocations: 402.8 kB / 494.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.1077, allocations: 282.6 kB / 494.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1081, allocations: 219.5 kB / 494.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.1087, allocations: 0.6191 MB / 495.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.1091, allocations: 297.2 kB / 495.8 MB, free: 304 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.1095, allocations: 286.8 kB / 496.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.1099, allocations: 319.1 kB / 496.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.11, allocations: 32 kB / 496.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.1103, allocations: 155.6 kB / 496.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.1105, allocations: 203.5 kB / 496.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.1107, allocations: 242.8 kB / 497 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.1113, allocations: 0.5763 MB / 497.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1113, allocations: 0 / 497.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1113, allocations: 0 / 497.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.1113, allocations: 0 / 497.6 MB, free: 14.5 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.001169/0.1125, allocations: 0.7495 MB / 498.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1125, allocations: 11.89 kB / 498.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.1133, allocations: 104.3 kB / 498.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.1141, allocations: 444.1 kB / 498.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1141, allocations: 33.11 kB / 498.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1143, allocations: 55.92 kB / 499 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.115, allocations: 0.489 MB / 499.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.115, allocations: 7.906 kB / 499.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.1151, allocations: 16 kB / 499.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.1153, allocations: 28.97 kB / 499.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.1158, allocations: 343.7 kB / 499.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.1181, allocations: 1.727 MB / 0.4898 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.1185, allocations: 306.3 kB / 0.4901 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1187, allocations: 157.7 kB / 0.4903 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1188, allocations: 11.92 kB / 0.4903 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1188, allocations: 34.56 kB / 0.4903 GB, free: 9.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.1188, allocations: 0 / 0.4903 GB, free: 9.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001878/0.1207, allocations: 1.105 MB / 0.4914 GB, free: 8.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1207, allocations: 85.05 kB / 0.4915 GB, free: 8.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.121, allocations: 329.6 kB / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1211, allocations: 37.69 kB / 0.4918 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1212, allocations: 247.9 kB / 0.492 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.1213, allocations: 98.62 kB / 0.4921 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1214, allocations: 73.73 kB / 0.4922 GB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1215, allocations: 346.8 kB / 0.4925 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.1218, allocations: 144.3 kB / 0.4927 GB, free: 7.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.122, allocations: 234.9 kB / 0.4929 GB, free: 6.926 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.002415/0.1245, allocations: 1.04 MB / 0.4939 GB, free: 5.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1245, allocations: 0 / 0.4939 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001268/0.1257, allocations: 0.6561 MB / 0.4946 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1258, allocations: 16 kB / 0.4946 GB, free: 5.141 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.0002487/0.126, allocations: 152.5 kB / 0.4947 GB, free: 4.992 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated