Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 175 kB / 13.63 MB, free: 1.684 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.374/1.374, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001186/0.001186, allocations: 82.72 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1579/0.1579, allocations: 37.98 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.06e-05, allocations: 0 / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09656, allocations: 56.33 MB / 474.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.4516, allocations: 104.4 MB / 0.5649 GB, free: 14.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.452, allocations: 96.25 kB / 0.565 GB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04766/0.4996, allocations: 17.52 MB / 0.5821 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4997, allocations: 0 / 0.5821 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.67e-05/0.4997, allocations: 16 kB / 0.5821 GB, free: 15.09 MB / 394.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.002125/0.5019, allocations: 1.124 MB / 0.5832 GB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5019, allocations: 8.031 kB / 0.5832 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.5021, allocations: 98.92 kB / 0.5833 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.5055, allocations: 1.315 MB / 0.5846 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/0.5059, allocations: 351.5 kB / 0.5849 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.506, allocations: 71.69 kB / 0.585 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5075, allocations: 0.9937 MB / 0.5859 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5075, allocations: 0 / 0.5859 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.5076, allocations: 38.62 kB / 0.586 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5076, allocations: 16 kB / 0.586 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.509, allocations: 0.9096 MB / 0.5869 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.5139, allocations: 3.545 MB / 0.5903 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.5151, allocations: 0.7428 MB / 0.5911 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009137/0.516, allocations: 0.5373 MB / 0.5916 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.5161, allocations: 16.5 kB / 0.5916 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/0.5169, allocations: 0.5341 MB / 0.5921 GB, free: 6.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=59): time 2.104e-06/0.5169, allocations: 0 / 0.5921 GB, free: 6.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.007989/0.5249, allocations: 3.42 MB / 0.5955 GB, free: 3.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.5249, allocations: 89.66 kB / 0.5956 GB, free: 3.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.5254, allocations: 412.1 kB / 0.5959 GB, free: 3.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.5255, allocations: 41.08 kB / 0.596 GB, free: 3.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.5257, allocations: 327.5 kB / 0.5963 GB, free: 3.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.5259, allocations: 197.6 kB / 0.5965 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.526, allocations: 15.44 kB / 0.5965 GB, free: 2.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5261, allocations: 370.9 kB / 0.5969 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.5266, allocations: 395.4 kB / 0.5972 GB, free: 2.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.5272, allocations: 0.5009 MB / 0.5977 GB, free: 1.922 MB / 394.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