Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_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.001194/0.001194, allocations: 112.6 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.001196/0.001196, allocations: 194.9 kB / 18 MB, free: 5.074 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.362/1.362, 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/package.mo): time 0.1688/0.1688, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 60.05 kB / 457.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3415, allocations: 58.05 MB / 0.5036 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00722/0.3487, allocations: 6.999 MB / 0.5104 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.353, allocations: 2.368 MB / 0.5128 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000662/0.3537, allocations: 26.09 kB / 0.5128 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.3551, allocations: 0.5249 MB / 0.5133 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3567, allocations: 0.6054 MB / 0.5139 GB, free: 312 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3581, allocations: 0.504 MB / 0.5144 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.3608, allocations: 1.998 MB / 0.5163 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.3624, allocations: 0.9097 MB / 0.5172 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.3643, allocations: 0.8031 MB / 0.518 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.3661, allocations: 0.9469 MB / 0.5189 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.3664, allocations: 158.9 kB / 0.5191 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.3678, allocations: 0.6543 MB / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008161/0.3687, allocations: 0.6434 MB / 0.5203 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009973/0.3697, allocations: 0.6869 MB / 0.521 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.3726, allocations: 2.072 MB / 0.523 GB, free: 12.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3726, allocations: 0 / 0.523 GB, free: 12.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3726, allocations: 1.375 kB / 0.523 GB, free: 12.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.626e-05/0.3727, allocations: 0 / 0.523 GB, free: 12.6 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.005303/0.378, allocations: 1.914 MB / 0.5249 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3781, allocations: 12.86 kB / 0.5249 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/0.3784, allocations: 170.9 kB / 0.5251 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/0.3793, allocations: 179.3 kB / 0.5253 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.3816, allocations: 0.944 MB / 0.5262 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006277/0.3822, allocations: 0.5018 MB / 0.5267 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.3825, allocations: 107.2 kB / 0.5268 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/0.3869, allocations: 2.043 MB / 0.5288 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.3869, allocations: 5.391 kB / 0.5288 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.3871, allocations: 41.75 kB / 0.5288 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/0.3873, allocations: 89.11 kB / 0.5289 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004959/0.3923, allocations: 2.252 MB / 0.5311 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009751/0.402, allocations: 5.76 MB / 0.5367 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/0.4064, allocations: 1.614 MB / 0.5383 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002689/0.4091, allocations: 1.115 MB / 0.5394 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/0.4093, allocations: 11.88 kB / 0.5394 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002945/0.4122, allocations: 1.322 MB / 0.5407 GB, free: 1.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 4.358e-06/0.4122, allocations: 1.125 kB / 0.5407 GB, free: 1.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02765/0.4399, allocations: 8.61 MB / 0.5491 GB, free: 9.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.44, allocations: 98.11 kB / 0.5492 GB, free: 9.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.4406, allocations: 0.5144 MB / 0.5497 GB, free: 8.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.4409, allocations: 53.69 kB / 0.5497 GB, free: 8.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.4412, allocations: 413.2 kB / 0.5501 GB, free: 8.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.4415, allocations: 412.5 kB / 0.5505 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.4419, allocations: 218.9 kB / 0.5507 GB, free: 7.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4421, allocations: 398.7 kB / 0.5511 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.444, allocations: 0.9785 MB / 0.5521 GB, free: 6.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.4461, allocations: 1.16 MB / 0.5532 GB, free: 5.246 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.01213/0.4582, allocations: 5.014 MB / 0.5581 GB, free: 160 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.4583, allocations: 4 kB / 0.5581 GB, free: 156 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01292/0.4712, allocations: 4.36 MB / 0.5624 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4714, allocations: 61.67 kB / 0.5624 GB, free: 11.71 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.002334/0.4737, allocations: 1.05 MB / 0.5634 GB, free: 10.65 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated