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.001095/0.001095, allocations: 106 kB / 17.06 MB, free: 6.133 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.001107/0.001107, allocations: 195 kB / 18 MB, free: 5.207 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1869/0.1869, allocations: 38.03 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.91 kB / 457.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3329, allocations: 58.06 MB / 0.5036 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005209/0.3381, allocations: 4.726 MB / 0.5082 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.3402, allocations: 1.432 MB / 0.5096 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.3404, allocations: 13.53 kB / 0.5097 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3416, allocations: 407.8 kB / 0.51 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.3424, allocations: 282.5 kB / 0.5103 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.343, allocations: 211.3 kB / 0.5105 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007649/0.3438, allocations: 0.6297 MB / 0.5111 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.3443, allocations: 292.1 kB / 0.5114 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.3447, allocations: 290 kB / 0.5117 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.3452, allocations: 314.8 kB / 0.512 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.3452, allocations: 34.06 kB / 0.512 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.3456, allocations: 142.7 kB / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3458, allocations: 208.2 kB / 0.5123 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.346, allocations: 244 kB / 0.5126 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006633/0.3467, allocations: 0.5752 MB / 0.5131 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3467, allocations: 8 kB / 0.5131 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3467, allocations: 1.25 kB / 0.5132 GB, free: 1.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3467, allocations: 0 / 0.5132 GB, free: 1.617 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.001169/0.3479, allocations: 0.7372 MB / 0.5139 GB, free: 1.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3479, allocations: 9.719 kB / 0.5139 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.348, allocations: 77.33 kB / 0.514 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.3488, allocations: 108.3 kB / 0.5141 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.3496, allocations: 446.5 kB / 0.5145 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.3496, allocations: 31.62 kB / 0.5145 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3498, allocations: 60.34 kB / 0.5146 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.3505, allocations: 497.4 kB / 0.515 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3505, allocations: 1.781 kB / 0.515 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.3505, allocations: 19.77 kB / 0.5151 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.3507, allocations: 29.8 kB / 0.5151 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.3513, allocations: 345.6 kB / 0.5154 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.354, allocations: 1.733 MB / 0.5171 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3544, allocations: 304.8 kB / 0.5174 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.3547, allocations: 158 kB / 0.5176 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3547, allocations: 3.422 kB / 0.5176 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3547, allocations: 40.16 kB / 0.5176 GB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.893e-06/0.3548, allocations: 3.938 kB / 0.5176 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002035/0.3568, allocations: 1.112 MB / 0.5187 GB, free: 14.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3569, allocations: 83.83 kB / 0.5188 GB, free: 14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3572, allocations: 329.9 kB / 0.5191 GB, free: 13.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3573, allocations: 30.95 kB / 0.5191 GB, free: 13.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3575, allocations: 246 kB / 0.5193 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.3575, allocations: 99.86 kB / 0.5194 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3577, allocations: 79.56 kB / 0.5195 GB, free: 13.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3578, allocations: 342.9 kB / 0.5198 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3581, allocations: 143.3 kB / 0.52 GB, free: 13.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.3583, allocations: 238.5 kB / 0.5202 GB, free: 12.93 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.002521/0.3609, allocations: 1.042 MB / 0.5212 GB, free: 12.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3609, allocations: 0 / 0.5212 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001386/0.3623, allocations: 0.6548 MB / 0.5219 GB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3623, allocations: 6.062 kB / 0.5219 GB, free: 12.17 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.0002687/0.3626, allocations: 164.9 kB / 0.522 GB, free: 12.1 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated