Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001108/0.001108, allocations: 184.6 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.087/1.087, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001726/0.001726, allocations: 118.3 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.156/0.156, allocations: 37.91 MB / 330.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2111/0.3672, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.4539, allocations: 53.23 MB / 443.1 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2622/0.7162, allocations: 98.6 MB / 0.529 GB, free: 7.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.7165, allocations: 90.73 kB / 0.5291 GB, free: 7.91 MB / 346.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.04639/0.7629, allocations: 18.29 MB / 0.547 GB, free: 8.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.763, allocations: 12 kB / 0.547 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.7632, allocations: 94.97 kB / 0.5471 GB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/0.7667, allocations: 1.334 MB / 0.5484 GB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.7671, allocations: 333.2 kB / 0.5487 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.7672, allocations: 43.89 kB / 0.5487 GB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001384/0.7686, allocations: 0.8956 MB / 0.5496 GB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.77, allocations: 0.9265 MB / 0.5505 GB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.77, allocations: 4 kB / 0.5505 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.7701, allocations: 3.5 kB / 0.5505 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.7701, allocations: 16 kB / 0.5505 GB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.7754, allocations: 3.476 MB / 0.5539 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.7764, allocations: 0.6834 MB / 0.5546 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/0.7772, allocations: 0.5384 MB / 0.5551 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.7773, allocations: 8.484 kB / 0.5551 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/0.778, allocations: 0.5322 MB / 0.5557 GB, free: 1.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.846e-06/0.778, allocations: 0 / 0.5557 GB, free: 1.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.008125/0.7861, allocations: 3.491 MB / 0.5591 GB, free: 14.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.7862, allocations: 92.8 kB / 0.5591 GB, free: 14.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.7866, allocations: 343 kB / 0.5595 GB, free: 14.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.7867, allocations: 32.95 kB / 0.5595 GB, free: 14.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.7869, allocations: 263.4 kB / 0.5598 GB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.7871, allocations: 200 kB / 0.5599 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.7872, allocations: 4 kB / 0.56 GB, free: 13.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7873, allocations: 361.8 kB / 0.5603 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.7879, allocations: 396.5 kB / 0.5607 GB, free: 13.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.7885, allocations: 0.504 MB / 0.5612 GB, free: 12.99 MB / 378.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 Error: Internal error SimCode: The model PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid could not be translated to FMU