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.001486/0.001486, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001776/0.001776, allocations: 191 kB / 18 MB, free: 5.102 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1777/0.1777, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3587, allocations: 58.05 MB / 0.5036 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005463/0.3642, allocations: 4.728 MB / 0.5082 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3667, allocations: 1.434 MB / 0.5096 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.3669, allocations: 12.81 kB / 0.5096 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3681, allocations: 401.5 kB / 0.51 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.3687, allocations: 288.5 kB / 0.5103 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.3693, allocations: 211 kB / 0.5105 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.3701, allocations: 0.63 MB / 0.5111 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.3706, allocations: 289.2 kB / 0.5114 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.371, allocations: 289.8 kB / 0.5117 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.3715, allocations: 320.3 kB / 0.512 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.3716, allocations: 33.69 kB / 0.512 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.372, allocations: 142 kB / 0.5121 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3722, allocations: 208.7 kB / 0.5123 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3725, allocations: 248.1 kB / 0.5126 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.3733, allocations: 0.5748 MB / 0.5131 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3733, allocations: 0 / 0.5131 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3733, allocations: 4 kB / 0.5131 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3733, allocations: 1.312 kB / 0.5131 GB, free: 1.562 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.001285/0.3746, allocations: 0.756 MB / 0.5139 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3747, allocations: 14.2 kB / 0.5139 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.3747, allocations: 72.36 kB / 0.514 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.3755, allocations: 112.5 kB / 0.5141 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.3763, allocations: 446.9 kB / 0.5145 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3763, allocations: 35 kB / 0.5145 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.3765, allocations: 56.92 kB / 0.5146 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.3772, allocations: 492.5 kB / 0.5151 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.3772, allocations: 10.62 kB / 0.5151 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.3773, allocations: 15.33 kB / 0.5151 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/0.3775, allocations: 34.3 kB / 0.5151 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.378, allocations: 349.3 kB / 0.5155 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.3809, allocations: 1.725 MB / 0.5171 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.3814, allocations: 311.8 kB / 0.5174 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.3817, allocations: 154 kB / 0.5176 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3817, allocations: 6.812 kB / 0.5176 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3818, allocations: 37.27 kB / 0.5176 GB, free: 14.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.3818, allocations: 0 / 0.5176 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.00208/0.3839, allocations: 1.128 MB / 0.5187 GB, free: 14.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3839, allocations: 84.45 kB / 0.5188 GB, free: 13.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.3843, allocations: 330 kB / 0.5191 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3843, allocations: 31.25 kB / 0.5191 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.3845, allocations: 255.2 kB / 0.5194 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.3846, allocations: 99.97 kB / 0.5195 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3847, allocations: 82.59 kB / 0.5196 GB, free: 13.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3849, allocations: 346.9 kB / 0.5199 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.3851, allocations: 141.7 kB / 0.52 GB, free: 12.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.3854, allocations: 231.2 kB / 0.5203 GB, free: 12.84 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.002428/0.3878, allocations: 1.043 MB / 0.5213 GB, free: 12.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3878, allocations: 1.094 kB / 0.5213 GB, free: 12.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001341/0.3892, allocations: 0.6583 MB / 0.5219 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3892, allocations: 7.281 kB / 0.5219 GB, free: 12.07 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.0002671/0.3895, allocations: 164.8 kB / 0.5221 GB, free: 12 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated