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") [: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.001554/0.001554, allocations: 182.6 kB / 8.134 MB, free: 2.207 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.316/1.316, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0009829/0.000983, allocations: 95.22 kB / 261.7 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1623/0.1623, allocations: 37.97 MB / 347.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.711e-06, allocations: 0 / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09115, allocations: 56.31 MB / 466.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.296/0.3872, allocations: 103.7 MB / 0.5566 GB, free: 6.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.3875, allocations: 91.94 kB / 0.5567 GB, free: 6.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05229/0.4398, allocations: 17.15 MB / 0.5735 GB, free: 5.449 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-05/0.4399, allocations: 16 kB / 0.5735 GB, free: 5.434 MB / 410.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.00307/0.443, allocations: 1.148 MB / 0.5746 GB, free: 4.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.443, allocations: 12.03 kB / 0.5746 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.4435, allocations: 94.97 kB / 0.5747 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/0.4476, allocations: 1.329 MB / 0.576 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/0.4481, allocations: 334.8 kB / 0.5763 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.4483, allocations: 43.98 kB / 0.5764 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/0.45, allocations: 0.8928 MB / 0.5773 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.4516, allocations: 0.9261 MB / 0.5782 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4516, allocations: 4 kB / 0.5782 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.4517, allocations: 0 / 0.5782 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.4518, allocations: 20 kB / 0.5782 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/0.4575, allocations: 3.474 MB / 0.5816 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.4587, allocations: 0.6983 MB / 0.5823 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009643/0.4596, allocations: 0.5459 MB / 0.5828 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.4597, allocations: 4.5 kB / 0.5828 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007525/0.4605, allocations: 0.5271 MB / 0.5833 GB, free: 11.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.386e-06/0.4605, allocations: 0 / 0.5833 GB, free: 11.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.008581/0.4691, allocations: 3.496 MB / 0.5867 GB, free: 7.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.4692, allocations: 89.61 kB / 0.5868 GB, free: 7.398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.4697, allocations: 345.1 kB / 0.5871 GB, free: 7.062 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.4698, allocations: 29.7 kB / 0.5872 GB, free: 7.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.47, allocations: 268 kB / 0.5874 GB, free: 6.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.4703, allocations: 201.1 kB / 0.5876 GB, free: 6.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.4703, allocations: 4 kB / 0.5876 GB, free: 6.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4705, allocations: 362.8 kB / 0.588 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.4711, allocations: 397.3 kB / 0.5883 GB, free: 5.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.472, allocations: 0.4985 MB / 0.5888 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