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.002018/0.002018, allocations: 106.8 kB / 16.92 MB, free: 5.773 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.001876/0.001876, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.476/1.476, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1763/0.1763, allocations: 38.06 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 61.81 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1152, allocations: 58.06 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006306/0.1216, allocations: 4.739 MB / 461.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.124, allocations: 1.429 MB / 463 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.1243, allocations: 11.94 kB / 463 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.1255, allocations: 410.3 kB / 463.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006983/0.1262, allocations: 278.6 kB / 463.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1268, allocations: 219.5 kB / 463.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.1277, allocations: 0.623 MB / 464.5 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.1283, allocations: 293.2 kB / 464.8 MB, free: 64 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007337/0.129, allocations: 287 kB / 465.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009472/0.13, allocations: 314.9 kB / 465.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1301, allocations: 32 kB / 465.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.1306, allocations: 143.8 kB / 465.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.1309, allocations: 203.5 kB / 465.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.1313, allocations: 242.8 kB / 466 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009247/0.1323, allocations: 0.5683 MB / 466.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.1323, allocations: 0 / 466.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1323, allocations: 7.938 kB / 466.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.1323, allocations: 0 / 466.6 MB, free: 14.29 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.001554/0.1339, allocations: 0.7456 MB / 467.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.134, allocations: 12.03 kB / 467.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.1348, allocations: 100.3 kB / 467.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.1356, allocations: 428.1 kB / 467.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.1356, allocations: 29.12 kB / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.1358, allocations: 59.92 kB / 468 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.1366, allocations: 0.489 MB / 468.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.1367, allocations: 7.844 kB / 468.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.1367, allocations: 16 kB / 468.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.1369, allocations: 24.98 kB / 468.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.1375, allocations: 347.7 kB / 468.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.1399, allocations: 1.739 MB / 470.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.1403, allocations: 306.4 kB / 470.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1405, allocations: 153.7 kB / 471 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1405, allocations: 4 kB / 471 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1406, allocations: 34.56 kB / 471.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.1406, allocations: 0 / 471.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00196/0.1426, allocations: 1.124 MB / 472.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1426, allocations: 89.11 kB / 472.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.143, allocations: 333.6 kB / 472.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.143, allocations: 29.7 kB / 472.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1432, allocations: 247.9 kB / 472.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.217e-05/0.1433, allocations: 98.64 kB / 473 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1434, allocations: 69.69 kB / 473 MB, free: 7.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1435, allocations: 350.8 kB / 473.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.1438, allocations: 148.2 kB / 473.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.144, allocations: 227.2 kB / 473.8 MB, free: 6.711 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.002491/0.1465, allocations: 1.041 MB / 474.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1465, allocations: 0 / 474.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001313/0.1479, allocations: 0.6566 MB / 475.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1479, allocations: 7.938 kB / 475.5 MB, free: 4.934 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.0002586/0.1482, allocations: 159.8 kB / 475.6 MB, free: 4.777 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated