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.001326/0.001326, allocations: 106.6 kB / 17.06 MB, free: 6.098 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.001329/0.001329, allocations: 193.4 kB / 18 MB, free: 5.172 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1773/0.1773, allocations: 38.03 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.91 kB / 457.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3429, allocations: 58.06 MB / 0.5036 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005428/0.3483, allocations: 4.723 MB / 0.5082 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.3504, allocations: 1.426 MB / 0.5096 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.3507, allocations: 12.44 kB / 0.5096 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3518, allocations: 406.9 kB / 0.51 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.3523, allocations: 285.6 kB / 0.5103 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.3529, allocations: 218.2 kB / 0.5105 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.3535, allocations: 0.6275 MB / 0.5111 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.354, allocations: 288.2 kB / 0.5114 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.3543, allocations: 289.9 kB / 0.5117 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.3549, allocations: 307.5 kB / 0.512 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.355, allocations: 33.44 kB / 0.512 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3553, allocations: 146.4 kB / 0.5121 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.3555, allocations: 208.5 kB / 0.5123 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.3557, allocations: 244 kB / 0.5126 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.3565, allocations: 0.5792 MB / 0.5131 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3565, allocations: 0 / 0.5131 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3565, allocations: 4 kB / 0.5131 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3565, allocations: 4.453 kB / 0.5131 GB, free: 1.621 MB / 382.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.001151/0.3577, allocations: 0.753 MB / 0.5139 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3577, allocations: 13.23 kB / 0.5139 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.234e-05/0.3578, allocations: 86 kB / 0.514 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/0.3586, allocations: 103.4 kB / 0.5141 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/0.3593, allocations: 455.4 kB / 0.5145 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.3593, allocations: 35.7 kB / 0.5145 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.3595, allocations: 50.73 kB / 0.5146 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.3602, allocations: 499.4 kB / 0.5151 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3603, allocations: 5.297 kB / 0.5151 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.3603, allocations: 10.44 kB / 0.5151 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/0.3605, allocations: 35.52 kB / 0.5151 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.3611, allocations: 345.8 kB / 0.5154 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.3639, allocations: 1.728 MB / 0.5171 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.3645, allocations: 308.7 kB / 0.5174 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.3648, allocations: 153.8 kB / 0.5176 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3649, allocations: 3.344 kB / 0.5176 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.3649, allocations: 40.45 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/0.3649, allocations: 5.094 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002172/0.3671, allocations: 1.129 MB / 0.5187 GB, free: 14.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.3672, allocations: 84.89 kB / 0.5188 GB, free: 13.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3676, allocations: 328.2 kB / 0.5191 GB, free: 13.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3676, allocations: 30.95 kB / 0.5191 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.3678, allocations: 250.5 kB / 0.5194 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3679, allocations: 104.3 kB / 0.5195 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3681, allocations: 75.16 kB / 0.5196 GB, free: 13.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.3683, allocations: 343.7 kB / 0.5199 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.3686, allocations: 142.5 kB / 0.52 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.369, allocations: 239.7 kB / 0.5202 GB, free: 12.89 MB / 398.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.002741/0.3717, allocations: 1.037 MB / 0.5213 GB, free: 12.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3717, allocations: 1.156 kB / 0.5213 GB, free: 12.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001484/0.3732, allocations: 0.6579 MB / 0.5219 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3733, allocations: 7.766 kB / 0.5219 GB, free: 12.13 MB / 398.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.0002941/0.3736, allocations: 159.1 kB / 0.5221 GB, free: 12.07 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated