Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002639/0.002639, allocations: 186.9 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 94.14 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2763/0.2763, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.958e-06/1.013e-05, allocations: 0 / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 56.32 MB / 465.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5163, allocations: 114.1 MB / 0.5661 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.5166, allocations: 91.94 kB / 0.5662 GB, free: 12.68 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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$. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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.1577/0.6744, allocations: 28.51 MB / 0.5941 GB, free: 15.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.802e-05/0.6745, allocations: 20 kB / 0.5941 GB, free: 15.86 MB / 442.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.006707/0.6812, allocations: 1.658 MB / 0.5957 GB, free: 14.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6813, allocations: 8.031 kB / 0.5957 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.6828, allocations: 178.5 kB / 0.5959 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009276/0.6921, allocations: 1.641 MB / 0.5975 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/0.6934, allocations: 0.4944 MB / 0.598 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006287/0.6941, allocations: 63.98 kB / 0.598 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005136/0.6993, allocations: 1.671 MB / 0.5997 GB, free: 9.945 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.704, allocations: 1.714 MB / 0.6013 GB, free: 8.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.7041, allocations: 0 / 0.6013 GB, free: 8.164 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.7043, allocations: 7.984 kB / 0.6013 GB, free: 8.156 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002744/0.7046, allocations: 73.91 kB / 0.6014 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.723, allocations: 5.737 MB / 0.607 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.7267, allocations: 1.244 MB / 0.6082 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.7291, allocations: 0.9338 MB / 0.6091 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.7293, allocations: 12.72 kB / 0.6091 GB, free: 24 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002748/0.732, allocations: 1.103 MB / 0.6102 GB, free: 14.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 4.769e-06/0.732, allocations: 0 / 0.6102 GB, free: 14.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.03009/0.7621, allocations: 6.445 MB / 0.6165 GB, free: 8.391 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.7623, allocations: 106.1 kB / 0.6166 GB, free: 8.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/0.7631, allocations: 357.1 kB / 0.617 GB, free: 7.918 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004303/0.7635, allocations: 41.69 kB / 0.617 GB, free: 7.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.7639, allocations: 378.7 kB / 0.6174 GB, free: 7.496 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/0.7646, allocations: 398.2 kB / 0.6177 GB, free: 7.102 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.7648, allocations: 0 / 0.6177 GB, free: 7.102 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.765, allocations: 362.8 kB / 0.6181 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.7674, allocations: 0.8925 MB / 0.619 GB, free: 5.844 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.7701, allocations: 1.039 MB / 0.62 GB, free: 4.758 MB / 458.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.02504/0.7952, allocations: 3.687 MB / 0.6236 GB, free: 1.055 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7952, allocations: 0 / 0.6236 GB, free: 1.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.02614/0.8214, allocations: 4.912 MB / 0.6284 GB, free: 12.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.8214, allocations: 4 kB / 0.6284 GB, free: 12.12 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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.003772/0.8252, allocations: 0.9874 MB / 0.6293 GB, free: 11.14 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated