Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 174.9 kB / 16.74 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.463/2.463, allocations: 205.4 MB / 222.9 MB, free: 9 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.001063/0.001063, allocations: 101.3 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2555/0.2555, allocations: 38.07 MB / 357.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005741/0.0005741, allocations: 12 kB / 424 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6283, allocations: 56.33 MB / 480.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01364/0.6421, allocations: 7.388 MB / 487.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008514/0.6506, allocations: 2.657 MB / 490.3 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.6523, allocations: 48.06 kB / 490.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.6534, allocations: 187.7 kB / 490.6 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.6565, allocations: 0.6303 MB / 491.2 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.6589, allocations: 479.8 kB / 491.7 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004926/0.6639, allocations: 2.056 MB / 493.7 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.6671, allocations: 1.033 MB / 494.8 MB, free: 424 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.6702, allocations: 0.6393 MB / 495.4 MB, free: 208 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/0.6739, allocations: 0.8863 MB / 496.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000817/0.6748, allocations: 70.75 kB / 496.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.6775, allocations: 0.6183 MB / 497 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.679, allocations: 0.5544 MB / 497.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.6807, allocations: 0.5882 MB / 498.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.6841, allocations: 1.555 MB / 499.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6841, allocations: 0 / 499.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6841, allocations: 0 / 499.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.164e-05/0.6842, allocations: 1.312 kB / 499.7 MB, free: 14.39 MB / 330.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.005608/0.6898, allocations: 1.684 MB / 0.4896 GB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.6899, allocations: 8.938 kB / 0.4896 GB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.6909, allocations: 175.5 kB / 0.4898 GB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.6933, allocations: 0.893 MB / 0.4907 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008759/0.6942, allocations: 0.5189 MB / 0.4912 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/0.6947, allocations: 112.3 kB / 0.4913 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006021/0.7007, allocations: 2.127 MB / 0.4933 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.7008, allocations: 13.98 kB / 0.4934 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.7009, allocations: 44.16 kB / 0.4934 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003073/0.7013, allocations: 88.8 kB / 0.4935 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007128/0.7084, allocations: 2.416 MB / 0.4958 GB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.7216, allocations: 5.855 MB / 0.5016 GB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.7263, allocations: 1.755 MB / 0.5033 GB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/0.729, allocations: 1.219 MB / 0.5045 GB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.43e-05/0.7291, allocations: 12.98 kB / 0.5045 GB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00315/0.7323, allocations: 1.414 MB / 0.5059 GB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 4.048e-06/0.7323, allocations: 4 kB / 0.5059 GB, free: 200 kB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.03037/0.7627, allocations: 10.31 MB / 0.5159 GB, free: 5.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7629, allocations: 98.11 kB / 0.516 GB, free: 5.672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.7639, allocations: 0.5105 MB / 0.5165 GB, free: 5.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002773/0.7642, allocations: 61.67 kB / 0.5166 GB, free: 5.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.7647, allocations: 396.2 kB / 0.517 GB, free: 4.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/0.7653, allocations: 394.4 kB / 0.5173 GB, free: 4.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.7654, allocations: 20 kB / 0.5174 GB, free: 4.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.7657, allocations: 394.7 kB / 0.5177 GB, free: 3.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.768, allocations: 1.053 MB / 0.5188 GB, free: 2.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.7704, allocations: 1.224 MB / 0.52 GB, free: 1.555 MB / 346.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.01327/0.7837, allocations: 5.292 MB / 0.5251 GB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.7837, allocations: 8 kB / 0.5251 GB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01387/0.7976, allocations: 5.191 MB / 0.5302 GB, free: 6.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.7978, allocations: 68.02 kB / 0.5303 GB, free: 6.902 MB / 362.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002783/0.8006, allocations: 1.113 MB / 0.5314 GB, free: 5.781 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated