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.001053/0.001053, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008239/0.0008239, allocations: 82.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1627/0.1627, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.278e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 56.33 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4796, allocations: 103.7 MB / 0.5572 GB, free: 7.238 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.48, allocations: 87.95 kB / 0.5573 GB, free: 7.152 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0518/0.5318, allocations: 17.35 MB / 0.5743 GB, free: 5.613 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5318, allocations: 0 / 0.5743 GB, free: 5.613 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.5319, allocations: 16 kB / 0.5743 GB, free: 5.598 MB / 411.1 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.003448/0.5354, allocations: 1.121 MB / 0.5754 GB, free: 4.418 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.5354, allocations: 8.031 kB / 0.5754 GB, free: 4.41 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.5358, allocations: 98.92 kB / 0.5755 GB, free: 4.312 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.5408, allocations: 1.319 MB / 0.5768 GB, free: 2.953 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/0.5414, allocations: 322.9 kB / 0.5771 GB, free: 2.586 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.5416, allocations: 40 kB / 0.5771 GB, free: 2.547 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002111/0.5437, allocations: 0.8694 MB / 0.5779 GB, free: 1.68 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.5457, allocations: 0.8988 MB / 0.5788 GB, free: 0.7344 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.5458, allocations: 7.938 kB / 0.5788 GB, free: 0.7266 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5459, allocations: 7.953 kB / 0.5788 GB, free: 0.7188 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.5459, allocations: 19.98 kB / 0.5789 GB, free: 0.6992 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/0.5535, allocations: 3.426 MB / 0.5822 GB, free: 13.18 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.5553, allocations: 0.7025 MB / 0.5829 GB, free: 12.46 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.5566, allocations: 0.5265 MB / 0.5834 GB, free: 11.93 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/0.5567, allocations: 4.562 kB / 0.5834 GB, free: 11.93 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.5579, allocations: 0.5279 MB / 0.5839 GB, free: 11.38 MB / 427.1 MB Notification: Performance of pre-optimization done (n=59): time 4.408e-06/0.5579, allocations: 3.938 kB / 0.5839 GB, free: 11.38 MB / 427.1 MB Notification: Performance of matching and sorting (n=61): time 0.012/0.5699, allocations: 3.317 MB / 0.5872 GB, free: 8 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.57, allocations: 93.66 kB / 0.5873 GB, free: 7.891 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.5707, allocations: 337.2 kB / 0.5876 GB, free: 7.559 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.5709, allocations: 37.69 kB / 0.5876 GB, free: 7.516 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.5712, allocations: 324 kB / 0.5879 GB, free: 7.191 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.5715, allocations: 197.1 kB / 0.5881 GB, free: 6.996 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.5716, allocations: 0 / 0.5881 GB, free: 6.996 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5717, allocations: 370.8 kB / 0.5885 GB, free: 6.625 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.5726, allocations: 381.4 kB / 0.5888 GB, free: 6.25 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.5735, allocations: 494.6 kB / 0.5893 GB, free: 5.727 MB / 427.1 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "--maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated