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.001466/0.001466, allocations: 109.5 kB / 16.92 MB, free: 5.812 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.001689/0.001689, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.259/1.259, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.171/0.171, allocations: 38.04 MB / 329.7 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 76.95 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08914, allocations: 58.07 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006003/0.0952, allocations: 4.712 MB / 461.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.09741, allocations: 1.429 MB / 463.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.09763, allocations: 15.94 kB / 463.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.09877, allocations: 407.8 kB / 463.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.09932, allocations: 282.6 kB / 463.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.09987, allocations: 219.6 kB / 464 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.1005, allocations: 0.623 MB / 464.7 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.101, allocations: 297.2 kB / 464.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.1014, allocations: 274.9 kB / 465.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.1019, allocations: 322.8 kB / 465.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.102, allocations: 36 kB / 465.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.1024, allocations: 143.8 kB / 465.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1026, allocations: 207.5 kB / 465.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1029, allocations: 246.8 kB / 466.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000711/0.1036, allocations: 0.5607 MB / 466.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1036, allocations: 0 / 466.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1036, allocations: 0 / 466.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1036, allocations: 0 / 466.7 MB, free: 14.2 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.001488/0.1051, allocations: 0.7533 MB / 467.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.1052, allocations: 11.89 kB / 467.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.1053, allocations: 78.7 kB / 467.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.1062, allocations: 104.3 kB / 467.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.1069, allocations: 428.1 kB / 468.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.1069, allocations: 28.94 kB / 468.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.1071, allocations: 63.81 kB / 468.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.1077, allocations: 488.8 kB / 468.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1078, allocations: 7.922 kB / 468.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.1078, allocations: 16 kB / 468.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.108, allocations: 28.98 kB / 468.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.1086, allocations: 343.7 kB / 469 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.111, allocations: 1.739 MB / 470.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.1113, allocations: 310.3 kB / 471.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1115, allocations: 153.7 kB / 471.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1115, allocations: 8 kB / 471.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1116, allocations: 34.56 kB / 471.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.1116, allocations: 0 / 471.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001917/0.1135, allocations: 1.124 MB / 472.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1136, allocations: 81.11 kB / 472.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1139, allocations: 333.6 kB / 472.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1139, allocations: 29.7 kB / 472.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.114, allocations: 255.9 kB / 473.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.1141, allocations: 94.66 kB / 473.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1142, allocations: 69.69 kB / 473.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1144, allocations: 346.8 kB / 473.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1146, allocations: 148.2 kB / 473.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.1148, allocations: 231.2 kB / 473.9 MB, free: 6.535 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.002416/0.1173, allocations: 1.045 MB / 475 MB, free: 5.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1173, allocations: 0 / 475 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001212/0.1185, allocations: 0.6526 MB / 475.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1185, allocations: 7.984 kB / 475.6 MB, free: 4.758 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.0002421/0.1188, allocations: 155.8 kB / 475.8 MB, free: 4.605 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated