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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_latest_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.0009863/0.0009863, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.0009636/0.0009636, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.247/1.247, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.162/0.162, allocations: 38.02 MB / 329.3 MB, free: 9.09 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.28 kB / 398.2 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1352, allocations: 58.08 MB / 456.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006762/0.142, allocations: 5.376 MB / 461.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.1448, allocations: 1.613 MB / 463.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.1451, allocations: 27.81 kB / 463.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1462, allocations: 390.5 kB / 463.7 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.1468, allocations: 246.9 kB / 463.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.1472, allocations: 207.7 kB / 464.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007763/0.148, allocations: 0.9116 MB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.1485, allocations: 280.8 kB / 465.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.1488, allocations: 242.9 kB / 465.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.1493, allocations: 334.8 kB / 465.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.035e-05/0.1494, allocations: 24 kB / 465.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.1497, allocations: 151.7 kB / 466 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1498, allocations: 191.5 kB / 466.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.1501, allocations: 242.7 kB / 466.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.1506, allocations: 0.5645 MB / 467 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1506, allocations: 0 / 467 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1507, allocations: 0 / 467 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1507, allocations: 0 / 467 MB, free: 13.64 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.001224/0.1519, allocations: 0.7456 MB / 467.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1519, allocations: 8.031 kB / 467.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.141e-05/0.152, allocations: 82.64 kB / 467.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007435/0.1528, allocations: 100.3 kB / 467.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.1534, allocations: 428.1 kB / 468.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1535, allocations: 28.94 kB / 468.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.1536, allocations: 63.88 kB / 468.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.1543, allocations: 496.8 kB / 468.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1543, allocations: 0 / 468.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.1544, allocations: 16 kB / 469 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.1546, allocations: 24.98 kB / 469 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1551, allocations: 347.7 kB / 469.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.1573, allocations: 1.731 MB / 471 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.1577, allocations: 314.4 kB / 471.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.1579, allocations: 157.6 kB / 471.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1579, allocations: 7.984 kB / 471.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1579, allocations: 34.56 kB / 471.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.158, allocations: 0 / 471.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001861/0.1598, allocations: 1.123 MB / 472.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1599, allocations: 81.23 kB / 472.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1602, allocations: 337.5 kB / 473.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1602, allocations: 33.64 kB / 473.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1604, allocations: 244 kB / 473.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.1605, allocations: 98.64 kB / 473.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1606, allocations: 73.59 kB / 473.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1607, allocations: 346.8 kB / 473.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.1609, allocations: 148.2 kB / 474 MB, free: 6.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.1612, allocations: 227.3 kB / 474.2 MB, free: 5.98 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.002398/0.1636, allocations: 1.049 MB / 475.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1636, allocations: 0 / 475.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001207/0.1648, allocations: 0.6523 MB / 475.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1648, allocations: 4 kB / 475.9 MB, free: 4.203 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.0002472/0.1651, allocations: 159.8 kB / 476.1 MB, free: 4.047 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated