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.001142/0.001142, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00124/0.00124, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.269/1.269, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1698/0.1698, allocations: 38.03 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 57.17 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08603, allocations: 58.07 MB / 457 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005858/0.09192, allocations: 4.731 MB / 461.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.09417, allocations: 1.422 MB / 463.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.09444, allocations: 15.94 kB / 463.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.09553, allocations: 406.2 kB / 463.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.09617, allocations: 282.6 kB / 463.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.0967, allocations: 219.5 kB / 464 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007631/0.09747, allocations: 0.6269 MB / 464.6 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.09801, allocations: 293.3 kB / 464.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005175/0.09854, allocations: 274.9 kB / 465.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.09922, allocations: 330.8 kB / 465.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.09932, allocations: 32 kB / 465.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.09966, allocations: 135.8 kB / 465.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.09991, allocations: 215.4 kB / 465.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.1003, allocations: 238.8 kB / 466.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.101, allocations: 0.5607 MB / 466.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.101, allocations: 0 / 466.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1011, allocations: 3.938 kB / 466.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.1011, allocations: 4 kB / 466.7 MB, free: 14.17 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.001465/0.1026, allocations: 0.7446 MB / 467.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1026, allocations: 11.89 kB / 467.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1027, allocations: 82.7 kB / 467.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.1036, allocations: 100.3 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.1043, allocations: 432.1 kB / 468.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1043, allocations: 28.94 kB / 468.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.1045, allocations: 63.81 kB / 468.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.1052, allocations: 492.8 kB / 468.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1052, allocations: 0 / 468.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1052, allocations: 23.98 kB / 468.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.1054, allocations: 24.98 kB / 468.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.106, allocations: 351.7 kB / 469 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1083, allocations: 1.731 MB / 470.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1087, allocations: 303.9 kB / 471 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1089, allocations: 165.6 kB / 471.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1089, allocations: 4 kB / 471.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1089, allocations: 34.56 kB / 471.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.1089, allocations: 0 / 471.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001917/0.1109, allocations: 1.132 MB / 472.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1109, allocations: 85.05 kB / 472.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1113, allocations: 329.6 kB / 472.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1113, allocations: 25.7 kB / 472.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1115, allocations: 255.9 kB / 473.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.1115, allocations: 90.66 kB / 473.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1116, allocations: 77.7 kB / 473.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1118, allocations: 350.8 kB / 473.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.112, allocations: 144.2 kB / 473.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.1122, allocations: 227.2 kB / 473.9 MB, free: 6.504 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.002364/0.1146, allocations: 1.045 MB / 475 MB, free: 5.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1146, allocations: 4 kB / 475 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001215/0.1159, allocations: 0.6563 MB / 475.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1159, allocations: 7.438 kB / 475.6 MB, free: 4.723 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.0002473/0.1161, allocations: 160.2 kB / 475.8 MB, free: 4.566 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated