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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001216/0.001217, allocations: 85.78 kB / 16.31 MB, free: 6.453 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.001271/0.001271, allocations: 182 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 223.4 MB, free: 5.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3692/0.3692, allocations: 38.06 MB / 309.7 MB, free: 8.898 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005209, allocations: 16 kB / 376.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 56.33 MB / 433 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008295/0.1313, allocations: 7.343 MB / 440.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.1365, allocations: 2.659 MB / 443 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.1373, allocations: 47.69 kB / 443 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.1379, allocations: 194.6 kB / 443.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.1394, allocations: 0.6183 MB / 443.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1407, allocations: 459.2 kB / 444.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.1429, allocations: 2.054 MB / 446.3 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.1445, allocations: 0.9297 MB / 447.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1456, allocations: 0.6423 MB / 447.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.1469, allocations: 0.8922 MB / 448.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1471, allocations: 68 kB / 448.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1483, allocations: 0.5616 MB / 449.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006248/0.1489, allocations: 0.5534 MB / 450 MB, free: 5.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.1493, allocations: 237.1 kB / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.1508, allocations: 1.559 MB / 451.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1508, allocations: 0 / 451.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1509, allocations: 0 / 451.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.1509, allocations: 3.938 kB / 451.8 MB, free: 3.711 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003995/0.1549, allocations: 1.694 MB / 453.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1549, allocations: 12.03 kB / 453.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003066/0.1553, allocations: 164.6 kB / 453.6 MB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.1561, allocations: 178.5 kB / 453.8 MB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.1578, allocations: 0.8689 MB / 454.7 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.1585, allocations: 0.5217 MB / 455.2 MB, free: 68 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.239/0.3975, allocations: 108.1 kB / 455.3 MB, free: 51.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/0.402, allocations: 2.14 MB / 457.4 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.4021, allocations: 3.469 kB / 457.4 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.4022, allocations: 32.78 kB / 457.5 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/0.4024, allocations: 89.47 kB / 457.6 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004401/0.4068, allocations: 2.421 MB / 460 MB, free: 50.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008111/0.4149, allocations: 5.85 MB / 465.8 MB, free: 48.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.4186, allocations: 1.757 MB / 467.6 MB, free: 48.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.4208, allocations: 1.212 MB / 468.8 MB, free: 47.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.421, allocations: 16.91 kB / 468.8 MB, free: 47.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002453/0.4234, allocations: 1.405 MB / 470.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.828e-06/0.4234, allocations: 0 / 470.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=118): time 0.01809/0.4415, allocations: 7.929 MB / 478.1 MB, free: 44.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4417, allocations: 107.9 kB / 478.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/0.4424, allocations: 0.5101 MB / 478.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.4426, allocations: 53.83 kB / 478.8 MB, free: 44.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.4429, allocations: 404.4 kB / 479.2 MB, free: 44.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.4434, allocations: 398.5 kB / 479.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.4434, allocations: 18.41 kB / 479.6 MB, free: 43.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4436, allocations: 390.8 kB / 480 MB, free: 43.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.4455, allocations: 1.034 MB / 481 MB, free: 43.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4473, allocations: 1.214 MB / 482.2 MB, free: 42.8 MB / 382.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.01148/0.4588, allocations: 4.384 MB / 486.6 MB, free: 41.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4588, allocations: 5.219 kB / 486.6 MB, free: 41.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01104/0.4699, allocations: 4.137 MB / 490.8 MB, free: 40.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.4701, allocations: 61.12 kB / 490.8 MB, free: 40.51 MB / 382.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.002953/0.4731, allocations: 1.109 MB / 491.9 MB, free: 40.12 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated