Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_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.001058/0.001058, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001085/0.001085, allocations: 191 kB / 18.63 MB, free: 4.508 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.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1776/0.1776, allocations: 38.05 MB / 330.5 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 62.7 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.0999, allocations: 58.06 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006714/0.1066, allocations: 4.736 MB / 463.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1091, allocations: 1.426 MB / 464.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.1094, allocations: 11.94 kB / 464.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.1105, allocations: 412.3 kB / 464.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.1112, allocations: 282.5 kB / 465.2 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1118, allocations: 219.5 kB / 465.4 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007201/0.1125, allocations: 0.6269 MB / 466 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.113, allocations: 293.2 kB / 466.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.1135, allocations: 278.8 kB / 466.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.114, allocations: 307 kB / 466.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.1141, allocations: 36 kB / 466.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.1144, allocations: 143.8 kB / 467 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1146, allocations: 211.5 kB / 467.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.1149, allocations: 250.7 kB / 467.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.1155, allocations: 0.5724 MB / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1155, allocations: 0 / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1155, allocations: 0 / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.1155, allocations: 3.938 kB / 468.1 MB, free: 13.54 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.001288/0.1168, allocations: 0.7456 MB / 468.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1169, allocations: 15.89 kB / 468.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007804/0.1177, allocations: 96.3 kB / 468.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007936/0.1185, allocations: 448 kB / 469.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.1185, allocations: 33.11 kB / 469.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.1187, allocations: 59.97 kB / 469.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.1194, allocations: 0.489 MB / 469.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1194, allocations: 7.891 kB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.1195, allocations: 12 kB / 470 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.1197, allocations: 28.98 kB / 470 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.1202, allocations: 351.7 kB / 470.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.1227, allocations: 1.719 MB / 472.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.1231, allocations: 306.4 kB / 472.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.1233, allocations: 153.7 kB / 472.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1234, allocations: 8 kB / 472.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1234, allocations: 38.5 kB / 472.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.1234, allocations: 0 / 472.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001952/0.1254, allocations: 1.128 MB / 473.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1254, allocations: 84.98 kB / 473.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1258, allocations: 329.6 kB / 474.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1258, allocations: 29.7 kB / 474.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.126, allocations: 251.9 kB / 474.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.1261, allocations: 98.64 kB / 474.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1262, allocations: 69.69 kB / 474.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1263, allocations: 346.8 kB / 474.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.1265, allocations: 148.2 kB / 475 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.1268, allocations: 231.2 kB / 475.2 MB, free: 5.945 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.002493/0.1293, allocations: 1.043 MB / 476.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1293, allocations: 4 kB / 476.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001293/0.1306, allocations: 0.6524 MB / 476.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1307, allocations: 12.27 kB / 476.9 MB, free: 4.164 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.0002624/0.1309, allocations: 160.4 kB / 477.1 MB, free: 4.008 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated