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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 183 kB / 8.133 MB, free: 2.211 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.303/1.303, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009429/0.0009429, allocations: 92.55 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.179/0.179, allocations: 37.97 MB / 347.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2257/0.4048, allocations: 62.44 MB / 410.1 MB, free: 46.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.5071, allocations: 56.31 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.8855, allocations: 103.7 MB / 0.5567 GB, free: 6.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.8859, allocations: 91.94 kB / 0.5568 GB, free: 6.801 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.05419/0.9401, allocations: 18.32 MB / 0.5747 GB, free: 4.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.9401, allocations: 12 kB / 0.5747 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.9406, allocations: 94.97 kB / 0.5748 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005016/0.9457, allocations: 1.329 MB / 0.5761 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/0.9463, allocations: 338.8 kB / 0.5764 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.9467, allocations: 40 kB / 0.5765 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002043/0.9487, allocations: 0.9045 MB / 0.5774 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.9504, allocations: 0.9183 MB / 0.5783 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.9504, allocations: 4 kB / 0.5783 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.9505, allocations: 3.984 kB / 0.5783 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.9506, allocations: 16 kB / 0.5783 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007039/0.9576, allocations: 3.462 MB / 0.5817 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.9589, allocations: 0.6983 MB / 0.5823 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009288/0.9599, allocations: 0.5443 MB / 0.5829 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.96, allocations: 16.41 kB / 0.5829 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/0.9608, allocations: 0.5232 MB / 0.5834 GB, free: 11.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 2.495e-06/0.9608, allocations: 0 / 0.5834 GB, free: 11.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.008427/0.9692, allocations: 3.5 MB / 0.5868 GB, free: 7.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.9693, allocations: 85.61 kB / 0.5869 GB, free: 7.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.9699, allocations: 345.1 kB / 0.5872 GB, free: 7.066 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.9701, allocations: 29.7 kB / 0.5873 GB, free: 7.031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.9703, allocations: 268 kB / 0.5875 GB, free: 6.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.9705, allocations: 197.1 kB / 0.5877 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.9706, allocations: 4 kB / 0.5877 GB, free: 6.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9707, allocations: 370.8 kB / 0.5881 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.9714, allocations: 389.3 kB / 0.5884 GB, free: 5.812 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.972, allocations: 0.5063 MB / 0.5889 GB, free: 5.262 MB / 426.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