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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [: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.001152/0.001152, allocations: 186.5 kB / 8.137 MB, free: 2.195 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.135/1.135, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.001731/0.001731, allocations: 117.7 kB / 247.7 MB, free: 6.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1708/0.1708, allocations: 37.91 MB / 330.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.131e-06, allocations: 0 / 389.8 MB, free: 78.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07514, allocations: 53.23 MB / 443 MB, free: 25.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/0.3318, allocations: 98.59 MB / 0.5289 GB, free: 7.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.3322, allocations: 91.67 kB / 0.529 GB, free: 7.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0474/0.3796, allocations: 17.13 MB / 0.5457 GB, free: 10.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.507e-05/0.3797, allocations: 20 kB / 0.5458 GB, free: 10.29 MB / 362.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.003036/0.3827, allocations: 1.148 MB / 0.5469 GB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3828, allocations: 8.031 kB / 0.5469 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.3832, allocations: 94.97 kB / 0.547 GB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.3874, allocations: 1.326 MB / 0.5483 GB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005095/0.3879, allocations: 333.7 kB / 0.5486 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.3881, allocations: 51.83 kB / 0.5486 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/0.3898, allocations: 0.895 MB / 0.5495 GB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3913, allocations: 0.9233 MB / 0.5504 GB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3913, allocations: 0 / 0.5504 GB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.3914, allocations: 4 kB / 0.5504 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.3915, allocations: 19.98 kB / 0.5504 GB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.3972, allocations: 3.468 MB / 0.5538 GB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3984, allocations: 0.691 MB / 0.5545 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000922/0.3993, allocations: 0.5358 MB / 0.555 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.3994, allocations: 8.5 kB / 0.555 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007796/0.4002, allocations: 0.5262 MB / 0.5555 GB, free: 2.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.577e-06/0.4002, allocations: 0 / 0.5555 GB, free: 2.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.0087/0.4089, allocations: 3.494 MB / 0.559 GB, free: 14.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.409, allocations: 93.53 kB / 0.559 GB, free: 14.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.4096, allocations: 346.3 kB / 0.5594 GB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.4097, allocations: 33.58 kB / 0.5594 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.41, allocations: 267.3 kB / 0.5597 GB, free: 14.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.4102, allocations: 200 kB / 0.5599 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.4102, allocations: 0 / 0.5599 GB, free: 14.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4104, allocations: 364.7 kB / 0.5602 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.411, allocations: 395.3 kB / 0.5606 GB, free: 13.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.4116, allocations: 0.5073 MB / 0.5611 GB, free: 13.15 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