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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001584/0.001584, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.761/1.761, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00183/0.00183, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1694/0.1694, allocations: 37.92 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.306e-05, allocations: 0 / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3732, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5232/0.8965, allocations: 109.8 MB / 0.5475 GB, free: 29.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/0.897, allocations: 93.2 kB / 0.5476 GB, free: 29.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0787/0.9757, allocations: 28.95 MB / 0.5759 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9758, allocations: 0 / 0.5759 GB, free: 21.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.105e-05/0.9758, allocations: 19.41 kB / 0.5759 GB, free: 21.51 MB / 378.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.004109/0.9799, allocations: 1.654 MB / 0.5775 GB, free: 20.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.98, allocations: 7.875 kB / 0.5775 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003589/0.9804, allocations: 172.1 kB / 0.5777 GB, free: 20.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009551/0.9813, allocations: 182.2 kB / 0.5778 GB, free: 20.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.9863, allocations: 1.62 MB / 0.5794 GB, free: 19.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006336/0.987, allocations: 0.527 MB / 0.5799 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.9874, allocations: 94.16 kB / 0.58 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.9903, allocations: 1.786 MB / 0.5818 GB, free: 18.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.9904, allocations: 7.859 kB / 0.5818 GB, free: 18.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.9905, allocations: 35.75 kB / 0.5818 GB, free: 18.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.9907, allocations: 83.66 kB / 0.5819 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.9932, allocations: 1.817 MB / 0.5837 GB, free: 18.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008968/1.002, allocations: 5.798 MB / 0.5893 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/1.004, allocations: 1.243 MB / 0.5905 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/1.005, allocations: 0.912 MB / 0.5914 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.402e-05/1.005, allocations: 12.41 kB / 0.5914 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/1.007, allocations: 1.11 MB / 0.5925 GB, free: 15.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 4.218e-06/1.007, allocations: 0 / 0.5925 GB, free: 15.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.01276/1.019, allocations: 5.862 MB / 0.5983 GB, free: 13.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.02, allocations: 107 kB / 0.5984 GB, free: 13.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/1.02, allocations: 447.1 kB / 0.5988 GB, free: 13.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.021, allocations: 63.38 kB / 0.5988 GB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/1.021, allocations: 385 kB / 0.5992 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/1.022, allocations: 414.3 kB / 0.5996 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/1.022, allocations: 21.88 kB / 0.5996 GB, free: 12.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/1.022, allocations: 391.6 kB / 0.6 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/1.023, allocations: 0.856 MB / 0.6008 GB, free: 11.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/1.025, allocations: 1.017 MB / 0.6018 GB, free: 10.71 MB / 378.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.01191/1.037, allocations: 4.242 MB / 0.606 GB, free: 6.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.037, allocations: 4 kB / 0.606 GB, free: 6.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01141/1.048, allocations: 4.588 MB / 0.6105 GB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.048, allocations: 61.67 kB / 0.6105 GB, free: 2.254 MB / 378.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.001707/1.05, allocations: 0.9364 MB / 0.6114 GB, free: 1.305 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated