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.001594/0.001594, allocations: 111 kB / 17.06 MB, free: 5.965 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.001751/0.001751, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 63.89 kB / 457.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3645, allocations: 58.06 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00697/0.3715, allocations: 6.988 MB / 0.5104 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.3751, allocations: 2.37 MB / 0.5128 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000536/0.3757, allocations: 30.47 kB / 0.5128 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.3771, allocations: 0.5251 MB / 0.5133 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.3789, allocations: 0.6033 MB / 0.5139 GB, free: 344 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3807, allocations: 0.5067 MB / 0.5144 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002778/0.3834, allocations: 1.989 MB / 0.5163 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.3851, allocations: 0.9201 MB / 0.5172 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.3869, allocations: 0.8035 MB / 0.518 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.3888, allocations: 0.9375 MB / 0.5189 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.3892, allocations: 160.2 kB / 0.5191 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.3906, allocations: 0.6551 MB / 0.5197 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.3914, allocations: 0.6461 MB / 0.5203 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009708/0.3924, allocations: 0.6883 MB / 0.521 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.3951, allocations: 2.064 MB / 0.523 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3951, allocations: 0 / 0.523 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3951, allocations: 0 / 0.523 GB, free: 12.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.3951, allocations: 1.5 kB / 0.523 GB, free: 12.63 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.004957/0.4001, allocations: 1.883 MB / 0.5249 GB, free: 11.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4002, allocations: 14.05 kB / 0.5249 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/0.4004, allocations: 174.8 kB / 0.5251 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/0.4013, allocations: 175.4 kB / 0.5252 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.4038, allocations: 0.931 MB / 0.5261 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006665/0.4045, allocations: 0.5045 MB / 0.5266 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.4048, allocations: 100 kB / 0.5267 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.4096, allocations: 2.051 MB / 0.5287 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.4097, allocations: 6.047 kB / 0.5287 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.4099, allocations: 35.97 kB / 0.5288 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/0.4101, allocations: 92.75 kB / 0.5289 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005675/0.4158, allocations: 2.25 MB / 0.531 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.4261, allocations: 5.752 MB / 0.5367 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.4304, allocations: 1.602 MB / 0.5382 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.4329, allocations: 1.117 MB / 0.5393 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.533e-05/0.433, allocations: 23.97 kB / 0.5393 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002851/0.4359, allocations: 1.313 MB / 0.5406 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.296e-06/0.4359, allocations: 0 / 0.5406 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02816/0.4641, allocations: 8.578 MB / 0.549 GB, free: 9.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.4642, allocations: 110 kB / 0.5491 GB, free: 9.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/0.4649, allocations: 0.5143 MB / 0.5496 GB, free: 9.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.465, allocations: 53.7 kB / 0.5497 GB, free: 8.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.4653, allocations: 412.2 kB / 0.5501 GB, free: 8.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.4657, allocations: 386.5 kB / 0.5504 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.4661, allocations: 222.7 kB / 0.5506 GB, free: 7.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4663, allocations: 398.8 kB / 0.551 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.4683, allocations: 0.9745 MB / 0.552 GB, free: 6.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.4705, allocations: 1.158 MB / 0.5531 GB, free: 5.379 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.01361/0.4841, allocations: 5.014 MB / 0.558 GB, free: 296 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4842, allocations: 0 / 0.558 GB, free: 296 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0186/0.5028, allocations: 4.363 MB / 0.5623 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.5029, allocations: 61.67 kB / 0.5623 GB, free: 11.84 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.002142/0.505, allocations: 1.05 MB / 0.5633 GB, free: 10.78 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated