Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001501, allocations: 185.2 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 79.52 kB / 267.1 MB, free: 9.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2716/0.2716, allocations: 37.95 MB / 353.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.541e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 56.32 MB / 473.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6093, allocations: 114.8 MB / 0.5742 GB, free: 4.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.6097, allocations: 87.95 kB / 0.5743 GB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.7473, allocations: 28.95 MB / 0.6026 GB, free: 7.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7474, allocations: 0 / 0.6026 GB, free: 7.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.514e-05/0.7475, allocations: 24 kB / 0.6026 GB, free: 7.531 MB / 442.7 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.007424/0.755, allocations: 1.65 MB / 0.6042 GB, free: 5.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.755, allocations: 12.03 kB / 0.6042 GB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008819/0.7559, allocations: 176.5 kB / 0.6044 GB, free: 5.602 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.7574, allocations: 170.6 kB / 0.6045 GB, free: 5.434 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008327/0.7657, allocations: 1.633 MB / 0.6061 GB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.767, allocations: 0.514 MB / 0.6066 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/0.7677, allocations: 99.97 kB / 0.6067 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/0.7731, allocations: 1.788 MB / 0.6085 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.7732, allocations: 0 / 0.6085 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.7734, allocations: 32 kB / 0.6085 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002789/0.7737, allocations: 85.95 kB / 0.6086 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005835/0.7796, allocations: 1.815 MB / 0.6104 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.7981, allocations: 5.802 MB / 0.616 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.802, allocations: 1.24 MB / 0.6172 GB, free: 8.098 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.8047, allocations: 0.9072 MB / 0.6181 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.8049, allocations: 16.78 kB / 0.6181 GB, free: 7.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003034/0.8079, allocations: 1.106 MB / 0.6192 GB, free: 6.043 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 8.486e-06/0.808, allocations: 0 / 0.6192 GB, free: 6.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02552/0.8335, allocations: 5.875 MB / 0.625 GB, free: 116 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.8337, allocations: 98.16 kB / 0.625 GB, free: 15.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/0.8347, allocations: 444.5 kB / 0.6255 GB, free: 15.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004369/0.8352, allocations: 61.69 kB / 0.6255 GB, free: 15.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.8356, allocations: 423 kB / 0.6259 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007321/0.8364, allocations: 410.1 kB / 0.6263 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.8365, allocations: 20 kB / 0.6263 GB, free: 14.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.8368, allocations: 362.8 kB / 0.6267 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.8391, allocations: 0.8535 MB / 0.6275 GB, free: 13.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.8417, allocations: 1.018 MB / 0.6285 GB, free: 12.36 MB / 474.7 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.02545/0.8672, allocations: 4.237 MB / 0.6327 GB, free: 8.113 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.8672, allocations: 0 / 0.6327 GB, free: 8.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.02285/0.8901, allocations: 4.556 MB / 0.6371 GB, free: 3.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.8903, allocations: 61.67 kB / 0.6372 GB, free: 3.48 MB / 474.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singulare and cannot handled because number of unassigned equations is larger than number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002858/0.8931, allocations: 0.9365 MB / 0.6381 GB, free: 2.531 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated