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.001038/0.001038, allocations: 102.9 kB / 17.06 MB, free: 6.016 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.001148/0.001148, allocations: 196 kB / 18 MB, free: 5.094 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1809/0.1809, allocations: 38.04 MB / 329.9 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 457.6 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3575, allocations: 58.06 MB / 0.5036 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005503/0.363, allocations: 4.722 MB / 0.5082 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3656, allocations: 1.436 MB / 0.5096 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.3659, allocations: 13.25 kB / 0.5096 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.3671, allocations: 405.2 kB / 0.51 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.3677, allocations: 281.8 kB / 0.5103 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.3682, allocations: 214.3 kB / 0.5105 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.3689, allocations: 0.6261 MB / 0.5111 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.3693, allocations: 295.8 kB / 0.5114 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.3698, allocations: 290.9 kB / 0.5117 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005725/0.3704, allocations: 309.6 kB / 0.512 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.3704, allocations: 33.53 kB / 0.512 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.3708, allocations: 144 kB / 0.5121 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.3711, allocations: 215.6 kB / 0.5123 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3713, allocations: 240.5 kB / 0.5126 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007848/0.3721, allocations: 0.5784 MB / 0.5131 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3721, allocations: 5.375 kB / 0.5131 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3721, allocations: 0 / 0.5131 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3722, allocations: 0 / 0.5131 GB, free: 1.559 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.001262/0.3734, allocations: 0.7374 MB / 0.5139 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3735, allocations: 13.11 kB / 0.5139 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.875e-05/0.3736, allocations: 82.72 kB / 0.514 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.3744, allocations: 107.7 kB / 0.5141 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007406/0.3751, allocations: 446.5 kB / 0.5145 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3752, allocations: 26.59 kB / 0.5145 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.3754, allocations: 64.27 kB / 0.5146 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.3762, allocations: 490.8 kB / 0.515 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3763, allocations: 0 / 0.515 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.3763, allocations: 20.03 kB / 0.5151 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.3765, allocations: 26.86 kB / 0.5151 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.3771, allocations: 352.9 kB / 0.5154 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.3802, allocations: 1.732 MB / 0.5171 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.3807, allocations: 305.6 kB / 0.5174 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.3811, allocations: 162.2 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3811, allocations: 6.484 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.3812, allocations: 41.42 kB / 0.5176 GB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.3812, allocations: 0 / 0.5176 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002151/0.3833, allocations: 1.111 MB / 0.5187 GB, free: 14.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.3834, allocations: 86.14 kB / 0.5188 GB, free: 13.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.3838, allocations: 328.9 kB / 0.5191 GB, free: 13.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.3839, allocations: 30.98 kB / 0.5191 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.3841, allocations: 250 kB / 0.5194 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3842, allocations: 96.17 kB / 0.5194 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3844, allocations: 74.22 kB / 0.5195 GB, free: 13.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3846, allocations: 347.2 kB / 0.5198 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.3849, allocations: 147.1 kB / 0.52 GB, free: 13.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.3852, allocations: 237 kB / 0.5202 GB, free: 12.86 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.002764/0.388, allocations: 1.04 MB / 0.5212 GB, free: 12.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.388, allocations: 1.25 kB / 0.5212 GB, free: 12.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001458/0.3895, allocations: 0.6547 MB / 0.5219 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3895, allocations: 5.5 kB / 0.5219 GB, free: 12.11 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.0002705/0.3898, allocations: 156.9 kB / 0.522 GB, free: 12.04 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated