Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.001232/0.001232, allocations: 190 kB / 8.136 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.197/1.197, 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.001573/0.001573, allocations: 115.8 kB / 247.7 MB, free: 6.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1598/0.1598, allocations: 37.92 MB / 330.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.173e-06, allocations: 4 kB / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09717, allocations: 53.22 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3802, allocations: 109.1 MB / 0.5392 GB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3805, allocations: 89.98 kB / 0.5393 GB, free: 14.69 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Control/Modulation.mo:17:7-17:46:writable] Error: Variable inverter.modulator.m not found in scope PowerSystems.AC3ph.Inverters.Inverter$inverter.Modulator.$for loop scope$. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Control/Modulation.mo:20:7-20:46:writable] Error: Variable inverter.modulator.m not found in scope PowerSystems.AC3ph.Inverters.Inverter$inverter.Modulator.$for loop scope$. Notification: Performance of FrontEnd: time 0.08043/0.461, allocations: 28.5 MB / 0.5671 GB, free: 6.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.642e-05/0.4611, allocations: 31.88 kB / 0.5671 GB, free: 6.328 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003808/0.4649, allocations: 1.658 MB / 0.5687 GB, free: 4.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4649, allocations: 8.031 kB / 0.5688 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008772/0.4658, allocations: 178.5 kB / 0.5689 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/0.4706, allocations: 1.641 MB / 0.5705 GB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/0.4713, allocations: 0.4892 MB / 0.571 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.4715, allocations: 71.52 kB / 0.5711 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00253/0.474, allocations: 1.669 MB / 0.5727 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.4766, allocations: 1.715 MB / 0.5744 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.4766, allocations: 0 / 0.5744 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.4767, allocations: 11.86 kB / 0.5744 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.4769, allocations: 73.77 kB / 0.5745 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009596/0.4865, allocations: 5.736 MB / 0.5801 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.4884, allocations: 1.235 MB / 0.5813 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.4896, allocations: 0.9409 MB / 0.5822 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.4897, allocations: 13.16 kB / 0.5822 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.4912, allocations: 1.094 MB / 0.5833 GB, free: 8.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 3.116e-06/0.4912, allocations: 0 / 0.5833 GB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.01491/0.5061, allocations: 6.465 MB / 0.5896 GB, free: 2.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.5062, allocations: 102.1 kB / 0.5897 GB, free: 2.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.5067, allocations: 357.1 kB / 0.59 GB, free: 1.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.5069, allocations: 41.69 kB / 0.5901 GB, free: 1.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.5072, allocations: 344.2 kB / 0.5904 GB, free: 1.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.5076, allocations: 382.3 kB / 0.5908 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.5077, allocations: 7.938 kB / 0.5908 GB, free: 1.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5078, allocations: 394.7 kB / 0.5911 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.5091, allocations: 0.8886 MB / 0.592 GB, free: 15.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.5105, allocations: 1.039 MB / 0.593 GB, free: 14.79 MB / 410.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/0.523, allocations: 3.691 MB / 0.5966 GB, free: 11.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5231, allocations: 0 / 0.5966 GB, free: 11.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01237/0.5355, allocations: 4.935 MB / 0.6014 GB, free: 6.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5355, allocations: 8 kB / 0.6015 GB, free: 6.125 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/AC3ph/Impedances.mo:125:7-125:29:writable] Error: Initialization problem is structurally singular, error found sorting equations 112: $DER.ind.i[3] = 0.0; 60: 1.732050807568877 * $DER.ind.i[3] = 0.0; for variables meterDC.v(137), inverter.inverter.iDC1(92), inverter.inverter.v[2](84) Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001952/0.5375, allocations: 0.9834 MB / 0.6024 GB, free: 5.145 MB / 410.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated