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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001303/0.001303, allocations: 112.5 kB / 16.62 MB, free: 6.949 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.001497/0.001497, allocations: 193.8 kB / 17.54 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.03 MB / 329.4 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.34 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 58.06 MB / 456.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006944/0.1114, allocations: 5.376 MB / 461.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1142, allocations: 1.605 MB / 463.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1144, allocations: 27.81 kB / 463.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1155, allocations: 382.7 kB / 463.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.1161, allocations: 254.9 kB / 464 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1166, allocations: 195.7 kB / 464.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.1172, allocations: 0.6309 MB / 464.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.1177, allocations: 317.1 kB / 465.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.1181, allocations: 278.9 kB / 465.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.1186, allocations: 338.9 kB / 465.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.1186, allocations: 32 kB / 465.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.1189, allocations: 139.8 kB / 465.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.1191, allocations: 211.4 kB / 466.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.1193, allocations: 246.8 kB / 466.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.1199, allocations: 0.5723 MB / 466.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1199, allocations: 0 / 466.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1199, allocations: 0 / 466.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1199, allocations: 3.938 kB / 466.9 MB, free: 13.79 MB / 350.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.001201/0.1211, allocations: 0.7534 MB / 467.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1212, allocations: 11.89 kB / 467.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007764/0.1219, allocations: 104.3 kB / 467.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.1226, allocations: 416.1 kB / 468.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1226, allocations: 37.11 kB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.1228, allocations: 59.83 kB / 468.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.1235, allocations: 0.4891 MB / 468.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1236, allocations: 7.938 kB / 468.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.1236, allocations: 12 kB / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.1238, allocations: 28.98 kB / 468.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.1243, allocations: 347.7 kB / 469.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.1267, allocations: 1.735 MB / 470.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.1271, allocations: 310.3 kB / 471.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.1273, allocations: 153.7 kB / 471.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1274, allocations: 4 kB / 471.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1274, allocations: 38.56 kB / 471.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.654e-06/0.1274, allocations: 0 / 471.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001993/0.1294, allocations: 1.124 MB / 472.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1295, allocations: 85.05 kB / 472.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.1299, allocations: 337.6 kB / 472.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1299, allocations: 29.7 kB / 472.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1301, allocations: 243.9 kB / 473.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.1301, allocations: 98.64 kB / 473.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1303, allocations: 77.59 kB / 473.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1304, allocations: 346.8 kB / 473.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1306, allocations: 144.3 kB / 473.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.1309, allocations: 235.2 kB / 474.1 MB, free: 6.199 MB / 350.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.002544/0.1334, allocations: 1.045 MB / 475.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1335, allocations: 0 / 475.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001303/0.1348, allocations: 0.6484 MB / 475.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1348, allocations: 11.94 kB / 475.8 MB, free: 4.422 MB / 350.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.000247/0.135, allocations: 155.8 kB / 475.9 MB, free: 4.27 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated