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.001722/0.001722, allocations: 114.6 kB / 17.07 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.00187/0.00187, allocations: 189.4 kB / 18 MB, free: 5.098 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.453/1.453, 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/package.mo): time 0.184/0.184, allocations: 38.04 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 457.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3722, allocations: 58.06 MB / 0.5036 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005561/0.3778, allocations: 4.72 MB / 0.5082 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.3802, allocations: 1.426 MB / 0.5096 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3805, allocations: 16.56 kB / 0.5096 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3816, allocations: 410.4 kB / 0.51 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.3823, allocations: 282.3 kB / 0.5103 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.3829, allocations: 214.4 kB / 0.5105 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.3837, allocations: 0.6307 MB / 0.5111 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.3841, allocations: 293.6 kB / 0.5114 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.3845, allocations: 280.9 kB / 0.5117 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.385, allocations: 314.8 kB / 0.512 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.3851, allocations: 33.94 kB / 0.512 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.3854, allocations: 142.4 kB / 0.5121 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.3857, allocations: 212.1 kB / 0.5123 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3859, allocations: 240.6 kB / 0.5126 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.3866, allocations: 0.5819 MB / 0.5131 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3866, allocations: 0.75 kB / 0.5131 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3866, allocations: 1.188 kB / 0.5131 GB, free: 1.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3866, allocations: 0 / 0.5131 GB, free: 1.613 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.3878, allocations: 0.7525 MB / 0.5139 GB, free: 1.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3879, allocations: 13.95 kB / 0.5139 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.3879, allocations: 76.72 kB / 0.514 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.3887, allocations: 111.6 kB / 0.5141 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.3895, allocations: 451.5 kB / 0.5145 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3895, allocations: 31.09 kB / 0.5145 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.3897, allocations: 56.33 kB / 0.5146 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.3904, allocations: 493.9 kB / 0.515 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3904, allocations: 10.02 kB / 0.5151 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.3905, allocations: 14.77 kB / 0.5151 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.3907, allocations: 30.81 kB / 0.5151 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.3912, allocations: 345.6 kB / 0.5154 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.3939, allocations: 1.733 MB / 0.5171 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.3944, allocations: 308.3 kB / 0.5174 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.3947, allocations: 154.7 kB / 0.5176 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3947, allocations: 6.922 kB / 0.5176 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3948, allocations: 40.22 kB / 0.5176 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 4.007e-06/0.3948, allocations: 0 / 0.5176 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002206/0.397, allocations: 1.133 MB / 0.5187 GB, free: 14.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3971, allocations: 80.73 kB / 0.5188 GB, free: 13.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.3975, allocations: 328.9 kB / 0.5191 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3975, allocations: 30.8 kB / 0.5191 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.3977, allocations: 255 kB / 0.5194 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.3978, allocations: 100.7 kB / 0.5195 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.398, allocations: 78.52 kB / 0.5196 GB, free: 13.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3981, allocations: 344.3 kB / 0.5199 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3984, allocations: 149.2 kB / 0.52 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3987, allocations: 235.4 kB / 0.5202 GB, free: 12.88 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.002602/0.4013, allocations: 1.039 MB / 0.5213 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4013, allocations: 0 / 0.5213 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001414/0.4027, allocations: 0.6624 MB / 0.5219 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4028, allocations: 9.047 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.0002859/0.4031, allocations: 157.8 kB / 0.5221 GB, free: 12.05 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated