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.001439/0.001439, allocations: 179 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 82.7 kB / 261.8 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2464/0.2464, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/2.005e-05, allocations: 4 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 56.32 MB / 466.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5307/0.6377, allocations: 103.7 MB / 0.5566 GB, free: 7.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.638, allocations: 90.83 kB / 0.5567 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07604/0.7141, allocations: 17.34 MB / 0.5736 GB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7142, allocations: 0 / 0.5736 GB, free: 8.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.823e-05/0.7143, allocations: 20 kB / 0.5737 GB, free: 8.887 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003942/0.7182, allocations: 1.127 MB / 0.5748 GB, free: 7.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7183, allocations: 12.02 kB / 0.5748 GB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.7188, allocations: 98.92 kB / 0.5749 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006165/0.725, allocations: 1.311 MB / 0.5761 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007385/0.7258, allocations: 328.7 kB / 0.5765 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.7261, allocations: 40 kB / 0.5765 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002416/0.7285, allocations: 0.8641 MB / 0.5773 GB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.7308, allocations: 0.9053 MB / 0.5782 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.7309, allocations: 0 / 0.5782 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.731, allocations: 11.89 kB / 0.5782 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.7311, allocations: 16 kB / 0.5782 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009302/0.7404, allocations: 3.434 MB / 0.5816 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.7424, allocations: 0.703 MB / 0.5823 GB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.744, allocations: 0.5237 MB / 0.5828 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.083e-05/0.7441, allocations: 4.562 kB / 0.5828 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.7453, allocations: 0.5305 MB / 0.5833 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 3.817e-06/0.7453, allocations: 4 kB / 0.5833 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01475/0.7601, allocations: 3.315 MB / 0.5866 GB, free: 13.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.7602, allocations: 89.17 kB / 0.5866 GB, free: 13.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.7609, allocations: 343.7 kB / 0.587 GB, free: 13.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.7611, allocations: 29.7 kB / 0.587 GB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.7615, allocations: 365.2 kB / 0.5873 GB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.7618, allocations: 197 kB / 0.5875 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.7619, allocations: 0 / 0.5875 GB, free: 13.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.762, allocations: 337.8 kB / 0.5879 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009157/0.763, allocations: 386.1 kB / 0.5882 GB, free: 12.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.7639, allocations: 495.7 kB / 0.5887 GB, free: 12.08 MB / 394.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "--maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated