Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_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.001532/0.001532, allocations: 185 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.898/1.898, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001169/0.001169, allocations: 93.08 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2709/0.2709, allocations: 37.96 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.796e-05, allocations: 8 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 56.31 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.5871, allocations: 104.4 MB / 0.564 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.5875, allocations: 87.95 kB / 0.5641 GB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08255/0.67, allocations: 17.52 MB / 0.5812 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6701, allocations: 0 / 0.5812 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.992e-05/0.6702, allocations: 20 kB / 0.5813 GB, free: 13.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004308/0.6745, allocations: 1.125 MB / 0.5824 GB, free: 12.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.6746, allocations: 12.03 kB / 0.5824 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004903/0.6751, allocations: 122.5 kB / 0.5825 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.6755, allocations: 94.97 kB / 0.5826 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006462/0.6819, allocations: 1.309 MB / 0.5839 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000829/0.6828, allocations: 362.8 kB / 0.5842 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.6832, allocations: 64 kB / 0.5843 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.686, allocations: 0.9873 MB / 0.5852 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.6861, allocations: 4 kB / 0.5852 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.6863, allocations: 35.88 kB / 0.5853 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.6863, allocations: 19.94 kB / 0.5853 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.6891, allocations: 0.9109 MB / 0.5862 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.6991, allocations: 3.548 MB / 0.5896 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.7016, allocations: 0.7417 MB / 0.5904 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.7033, allocations: 0.5448 MB / 0.5909 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.7035, allocations: 12.5 kB / 0.5909 GB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.7049, allocations: 0.5446 MB / 0.5914 GB, free: 2.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.457e-06/0.7049, allocations: 0 / 0.5914 GB, free: 2.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.01577/0.7207, allocations: 3.415 MB / 0.5948 GB, free: 15.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.7209, allocations: 93.66 kB / 0.5949 GB, free: 15.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.7217, allocations: 399.8 kB / 0.5952 GB, free: 14.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.722, allocations: 45.7 kB / 0.5953 GB, free: 14.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.7223, allocations: 354.7 kB / 0.5956 GB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.7227, allocations: 205.1 kB / 0.5958 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.7228, allocations: 12 kB / 0.5958 GB, free: 14.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.723, allocations: 342.8 kB / 0.5962 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.7241, allocations: 393.4 kB / 0.5965 GB, free: 13.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.7253, allocations: 0.5041 MB / 0.597 GB, free: 12.73 MB / 442.7 MB Error: The initialization problem of given system is mixed-determined. It is under- as well as overdetermined and the mixed-determination-index is too high. [index > 10] Please checkout the option "--maxMixedDeterminedIndex" to simulate with a higher threshold or consider changing some initial equations, fixed variables and start values. Error: No system for the symbolic initialization was generated