Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.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.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",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.001774/0.001774, allocations: 109.6 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.002101/0.002101, allocations: 189.4 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.178/0.178, allocations: 38.05 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.91 kB / 457.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 58.07 MB / 0.5036 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007055/0.315, allocations: 6.977 MB / 0.5104 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.3189, allocations: 2.374 MB / 0.5128 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.3193, allocations: 33.62 kB / 0.5128 GB, free: 1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.3208, allocations: 0.522 MB / 0.5133 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.3223, allocations: 0.6034 MB / 0.5139 GB, free: 376 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3236, allocations: 0.5107 MB / 0.5144 GB, free: 124 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.3266, allocations: 1.989 MB / 0.5163 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.3281, allocations: 0.9193 MB / 0.5172 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.33, allocations: 0.7818 MB / 0.518 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.3317, allocations: 0.9396 MB / 0.5189 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.332, allocations: 159.9 kB / 0.5191 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.3333, allocations: 0.6443 MB / 0.5197 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007754/0.3341, allocations: 0.6447 MB / 0.5203 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009299/0.3351, allocations: 0.6911 MB / 0.521 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.3379, allocations: 2.079 MB / 0.523 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3379, allocations: 1.375 kB / 0.523 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3379, allocations: 0 / 0.523 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.338, allocations: 0 / 0.523 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004955/0.3429, allocations: 1.914 MB / 0.5249 GB, free: 11.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.343, allocations: 9.781 kB / 0.5249 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/0.3433, allocations: 171.2 kB / 0.5251 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008938/0.3442, allocations: 178.7 kB / 0.5252 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.3462, allocations: 0.9362 MB / 0.5262 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007286/0.3469, allocations: 0.5106 MB / 0.5267 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.3472, allocations: 105.1 kB / 0.5268 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.3515, allocations: 2.039 MB / 0.5287 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3516, allocations: 9.422 kB / 0.5288 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.3517, allocations: 42.58 kB / 0.5288 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.352, allocations: 91.66 kB / 0.5289 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.3572, allocations: 2.247 MB / 0.5311 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009846/0.3671, allocations: 5.753 MB / 0.5367 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/0.3716, allocations: 1.61 MB / 0.5383 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/0.3745, allocations: 1.124 MB / 0.5394 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-05/0.3746, allocations: 15.88 kB / 0.5394 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003088/0.3777, allocations: 1.31 MB / 0.5407 GB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 5.791e-06/0.3777, allocations: 0 / 0.5407 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02968/0.4074, allocations: 8.608 MB / 0.5491 GB, free: 9.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.4075, allocations: 102.1 kB / 0.5492 GB, free: 9.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.4083, allocations: 0.5183 MB / 0.5497 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.4086, allocations: 57.69 kB / 0.5497 GB, free: 8.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.4091, allocations: 409.2 kB / 0.5501 GB, free: 8.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.4096, allocations: 416.5 kB / 0.5505 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.41, allocations: 218.8 kB / 0.5507 GB, free: 7.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.4103, allocations: 394.8 kB / 0.5511 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.4124, allocations: 0.9823 MB / 0.5521 GB, free: 6.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.4147, allocations: 1.158 MB / 0.5532 GB, free: 5.285 MB / 414.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.01311/0.4278, allocations: 5.014 MB / 0.5581 GB, free: 200 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4279, allocations: 4 kB / 0.5581 GB, free: 196 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01438/0.4422, allocations: 4.364 MB / 0.5624 GB, free: 11.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.4424, allocations: 61.69 kB / 0.5624 GB, free: 11.74 MB / 430.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.002619/0.445, allocations: 1.05 MB / 0.5634 GB, free: 10.68 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated