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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 189 kB / 8.013 MB, free: 1.062 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 2.291/2.291, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001054, allocations: 82.64 kB / 261.8 MB, free: 1.684 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.2662/0.2662, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.336e-05, allocations: 0 / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5328/0.6437, allocations: 114.1 MB / 0.5667 GB, free: 13.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.644, allocations: 93.52 kB / 0.5668 GB, free: 13.7 MB / 378.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 - DAE generated: time 0.1343/0.7784, allocations: 28.77 MB / 0.5949 GB, free: 5.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7784, allocations: 0 / 0.5949 GB, free: 5.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.427e-05/0.7785, allocations: 23.94 kB / 0.5949 GB, free: 5.09 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007594/0.7861, allocations: 1.658 MB / 0.5965 GB, free: 3.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.7862, allocations: 8.031 kB / 0.5965 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.788, allocations: 174.6 kB / 0.5967 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008262/0.7963, allocations: 1.627 MB / 0.5983 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/0.7976, allocations: 495.2 kB / 0.5987 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.7983, allocations: 62.42 kB / 0.5988 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004972/0.8033, allocations: 1.611 MB / 0.6004 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005213/0.8085, allocations: 1.67 MB / 0.602 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.8086, allocations: 0 / 0.602 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.8088, allocations: 7.984 kB / 0.602 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.8091, allocations: 80.83 kB / 0.6021 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.8277, allocations: 5.686 MB / 0.6076 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.8311, allocations: 1.216 MB / 0.6088 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/0.8336, allocations: 0.9058 MB / 0.6097 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.8338, allocations: 21.2 kB / 0.6097 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003062/0.8369, allocations: 1.109 MB / 0.6108 GB, free: 8.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 7.433e-06/0.8369, allocations: 0 / 0.6108 GB, free: 8.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.04309/0.88, allocations: 6.216 MB / 0.6169 GB, free: 1.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.8802, allocations: 102.4 kB / 0.617 GB, free: 1.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.881, allocations: 365 kB / 0.6173 GB, free: 1.281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/0.8814, allocations: 41.69 kB / 0.6174 GB, free: 1.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.8819, allocations: 430.8 kB / 0.6178 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006961/0.8826, allocations: 402.2 kB / 0.6182 GB, free: 420 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8827, allocations: 4 kB / 0.6182 GB, free: 416 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.8829, allocations: 354.8 kB / 0.6185 GB, free: 52 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/0.8852, allocations: 0.8577 MB / 0.6193 GB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/0.8877, allocations: 1.017 MB / 0.6203 GB, free: 14.13 MB / 426.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/0.9161, allocations: 4.311 MB / 0.6245 GB, free: 9.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.9162, allocations: 0 / 0.6245 GB, free: 9.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.031/0.9472, allocations: 4.583 MB / 0.629 GB, free: 5.219 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.9474, allocations: 61.92 kB / 0.6291 GB, free: 5.152 MB / 426.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.00476/0.9522, allocations: 0.9821 MB / 0.63 GB, free: 4.172 MB / 426.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated