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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 115.7 kB / 16.63 MB, free: 6.797 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.001021/0.001021, allocations: 186 kB / 17.55 MB, free: 5.953 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.336/1.336, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1709/0.1709, allocations: 38.03 MB / 329.4 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.5 kB / 398.4 MB, free: 34.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 58.05 MB / 456.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006742/0.1247, allocations: 5.38 MB / 461.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1271, allocations: 1.613 MB / 463.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.1274, allocations: 27.81 kB / 463.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1285, allocations: 385.6 kB / 463.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005083/0.129, allocations: 250.9 kB / 464.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.1295, allocations: 199.6 kB / 464.3 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.1301, allocations: 0.6269 MB / 464.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.1306, allocations: 317.2 kB / 465.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.1309, allocations: 278.9 kB / 465.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.1314, allocations: 334.9 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.1315, allocations: 32 kB / 465.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1318, allocations: 151.8 kB / 466 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.132, allocations: 207.4 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.1322, allocations: 250.7 kB / 466.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.1328, allocations: 0.5762 MB / 467 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1328, allocations: 0 / 467 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1328, allocations: 0 / 467 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1328, allocations: 0 / 467 MB, free: 13.72 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.001263/0.1341, allocations: 0.7456 MB / 467.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1341, allocations: 11.89 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.854e-05/0.1342, allocations: 74.72 kB / 467.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.135, allocations: 100.3 kB / 467.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.1357, allocations: 428 kB / 468.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1357, allocations: 32.94 kB / 468.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.1359, allocations: 59.88 kB / 468.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.1366, allocations: 0.489 MB / 468.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1366, allocations: 0 / 468.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.1367, allocations: 12 kB / 468.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.1369, allocations: 28.98 kB / 469 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.1374, allocations: 347.7 kB / 469.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.1398, allocations: 1.735 MB / 471.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1402, allocations: 318.1 kB / 471.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1404, allocations: 159.3 kB / 471.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1405, allocations: 4 kB / 471.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1405, allocations: 34.56 kB / 471.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.006e-06/0.1405, allocations: 4 kB / 471.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001977/0.1425, allocations: 1.122 MB / 472.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1426, allocations: 77.11 kB / 472.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.143, allocations: 341.7 kB / 473.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.143, allocations: 29.7 kB / 473.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1432, allocations: 240 kB / 473.4 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.1433, allocations: 102.6 kB / 473.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1434, allocations: 73.59 kB / 473.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1436, allocations: 350.8 kB / 473.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1438, allocations: 140.2 kB / 474 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.1441, allocations: 239.1 kB / 474.2 MB, free: 6.055 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.002587/0.1467, allocations: 1.053 MB / 475.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1467, allocations: 3.984 kB / 475.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001399/0.1481, allocations: 0.6522 MB / 475.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1481, allocations: 4 kB / 476 MB, free: 4.27 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.000312/0.1485, allocations: 155.8 kB / 476.1 MB, free: 4.117 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated