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.001544/0.001544, allocations: 111.1 kB / 17.06 MB, free: 5.992 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.001755/0.001756, allocations: 200 kB / 18.01 MB, free: 5.066 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1875/0.1875, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 67.91 kB / 457.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4194, allocations: 58.05 MB / 0.5036 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005253/0.4247, allocations: 4.723 MB / 0.5082 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.4269, allocations: 1.436 MB / 0.5096 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.4271, allocations: 13.44 kB / 0.5097 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4282, allocations: 406.2 kB / 0.51 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.4288, allocations: 283.2 kB / 0.5103 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.4293, allocations: 218.1 kB / 0.5105 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.4299, allocations: 0.6272 MB / 0.5111 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.4303, allocations: 292.8 kB / 0.5114 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.4307, allocations: 290.7 kB / 0.5117 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.4311, allocations: 311 kB / 0.512 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.4312, allocations: 33.69 kB / 0.512 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.4315, allocations: 146.1 kB / 0.5122 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.4317, allocations: 212.9 kB / 0.5124 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.4319, allocations: 243.9 kB / 0.5126 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.4326, allocations: 0.5822 MB / 0.5132 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4326, allocations: 0 / 0.5132 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4326, allocations: 1.156 kB / 0.5132 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4326, allocations: 3.938 kB / 0.5132 GB, free: 1.539 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.4338, allocations: 0.7552 MB / 0.5139 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4339, allocations: 13.7 kB / 0.5139 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.539e-05/0.4339, allocations: 76.38 kB / 0.514 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007841/0.4347, allocations: 108.9 kB / 0.5141 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.4355, allocations: 451 kB / 0.5145 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.4355, allocations: 31.45 kB / 0.5146 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.4357, allocations: 51.19 kB / 0.5146 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.4365, allocations: 498.9 kB / 0.5151 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.4365, allocations: 8.609 kB / 0.5151 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.4365, allocations: 16.09 kB / 0.5151 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/0.4367, allocations: 26.61 kB / 0.5151 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.4373, allocations: 349.4 kB / 0.5155 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.44, allocations: 1.733 MB / 0.5171 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.4405, allocations: 300.8 kB / 0.5174 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.4408, allocations: 162 kB / 0.5176 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.4409, allocations: 3.156 kB / 0.5176 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4409, allocations: 37.42 kB / 0.5176 GB, free: 14.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.073e-06/0.4409, allocations: 3.938 kB / 0.5176 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002183/0.4431, allocations: 1.132 MB / 0.5187 GB, free: 13.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.4432, allocations: 81.34 kB / 0.5188 GB, free: 13.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.4435, allocations: 329.2 kB / 0.5191 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.4436, allocations: 30.67 kB / 0.5192 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.4438, allocations: 254.6 kB / 0.5194 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.4438, allocations: 100.1 kB / 0.5195 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.444, allocations: 78.48 kB / 0.5196 GB, free: 13.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4441, allocations: 352.6 kB / 0.5199 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.4444, allocations: 142 kB / 0.52 GB, free: 12.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.4446, allocations: 227.9 kB / 0.5203 GB, free: 12.82 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.002481/0.4471, allocations: 1.042 MB / 0.5213 GB, free: 12.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4471, allocations: 1.125 kB / 0.5213 GB, free: 12.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001352/0.4485, allocations: 0.6619 MB / 0.5219 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4485, allocations: 6.875 kB / 0.5219 GB, free: 12.05 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.0002625/0.4488, allocations: 159.8 kB / 0.5221 GB, free: 11.98 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated