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.001258/0.001258, allocations: 110.2 kB / 17.06 MB, free: 5.973 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.0012/0.0012, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 457.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3102, allocations: 58.06 MB / 0.5036 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006678/0.3169, allocations: 6.992 MB / 0.5104 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.3206, allocations: 2.364 MB / 0.5128 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.3211, allocations: 31.06 kB / 0.5128 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3225, allocations: 0.525 MB / 0.5133 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3239, allocations: 0.5963 MB / 0.5139 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3252, allocations: 0.5028 MB / 0.5144 GB, free: 212 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.3281, allocations: 1.995 MB / 0.5163 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.3297, allocations: 0.9195 MB / 0.5172 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.3315, allocations: 0.785 MB / 0.518 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.3334, allocations: 0.9483 MB / 0.5189 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.3338, allocations: 158.2 kB / 0.5191 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3353, allocations: 0.6532 MB / 0.5197 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.3362, allocations: 0.6366 MB / 0.5203 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3372, allocations: 0.6876 MB / 0.521 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.3406, allocations: 2.075 MB / 0.523 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3406, allocations: 5.375 kB / 0.523 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3406, allocations: 0 / 0.523 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.3406, allocations: 0.6562 kB / 0.523 GB, free: 12.73 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.005001/0.3456, allocations: 1.905 MB / 0.5249 GB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3457, allocations: 14.77 kB / 0.5249 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000277/0.346, allocations: 178.8 kB / 0.5251 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.3469, allocations: 183.2 kB / 0.5252 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.349, allocations: 0.9279 MB / 0.5261 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007242/0.3497, allocations: 0.5104 MB / 0.5266 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.35, allocations: 99.17 kB / 0.5267 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.3545, allocations: 2.047 MB / 0.5287 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.3545, allocations: 9.266 kB / 0.5287 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.3547, allocations: 36.89 kB / 0.5288 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.3549, allocations: 89.23 kB / 0.5289 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005304/0.3602, allocations: 2.252 MB / 0.5311 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.3712, allocations: 5.756 MB / 0.5367 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004843/0.3761, allocations: 1.612 MB / 0.5383 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/0.3791, allocations: 1.116 MB / 0.5394 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.3792, allocations: 14.61 kB / 0.5394 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003256/0.3825, allocations: 1.318 MB / 0.5407 GB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 4.689e-06/0.3825, allocations: 4 kB / 0.5407 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.03101/0.4135, allocations: 8.607 MB / 0.5491 GB, free: 9.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.4136, allocations: 102 kB / 0.5492 GB, free: 9.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/0.4144, allocations: 0.5105 MB / 0.5497 GB, free: 8.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.4147, allocations: 61.69 kB / 0.5497 GB, free: 8.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.4151, allocations: 413.2 kB / 0.5501 GB, free: 8.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.4157, allocations: 412.5 kB / 0.5505 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000628/0.4163, allocations: 218.9 kB / 0.5507 GB, free: 7.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.4166, allocations: 398.7 kB / 0.5511 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.4188, allocations: 0.9706 MB / 0.552 GB, free: 6.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.4211, allocations: 1.158 MB / 0.5532 GB, free: 5.223 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.01292/0.4341, allocations: 5.018 MB / 0.5581 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4341, allocations: 0 / 0.5581 GB, free: 132 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01366/0.4478, allocations: 4.36 MB / 0.5623 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.964e-05/0.4479, allocations: 61.67 kB / 0.5624 GB, free: 11.68 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.002536/0.4504, allocations: 1.058 MB / 0.5634 GB, free: 10.62 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated