Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.002066/0.002066, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 223.1 MB, free: 8.461 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.001062/0.001062, allocations: 102.1 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2049/0.2049, allocations: 38.01 MB / 355.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 51.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3712, allocations: 55.23 MB / 477.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01146/0.3827, allocations: 8.23 MB / 485.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005933/0.3887, allocations: 2.83 MB / 488.2 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.39, allocations: 59.25 kB / 488.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.3916, allocations: 484.9 kB / 488.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.3932, allocations: 0.552 MB / 489.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.3946, allocations: 464 kB / 489.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.3986, allocations: 2.5 MB / 492.2 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.4002, allocations: 0.7775 MB / 493 MB, free: 176 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.4023, allocations: 0.681 MB / 493.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.4046, allocations: 0.9374 MB / 494.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005938/0.4052, allocations: 83 kB / 494.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.4071, allocations: 0.6368 MB / 495.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009728/0.408, allocations: 0.574 MB / 495.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.4091, allocations: 0.6204 MB / 496.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.4115, allocations: 1.985 MB / 498.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4115, allocations: 0 / 498.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.4115, allocations: 0 / 498.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.4116, allocations: 3.938 kB / 498.5 MB, free: 13.52 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.004925/0.4165, allocations: 1.879 MB / 0.4886 GB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.4166, allocations: 10.28 kB / 0.4887 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.4176, allocations: 175.3 kB / 0.4888 GB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4198, allocations: 0.8964 MB / 0.4897 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006433/0.4205, allocations: 0.4985 MB / 0.4902 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.4208, allocations: 111.8 kB / 0.4903 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/0.4256, allocations: 2.039 MB / 0.4923 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.4257, allocations: 5.172 kB / 0.4923 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.4258, allocations: 41.64 kB / 0.4923 GB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/0.4261, allocations: 88.23 kB / 0.4924 GB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005247/0.4314, allocations: 2.257 MB / 0.4946 GB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00983/0.4412, allocations: 5.772 MB / 0.5003 GB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/0.4453, allocations: 1.603 MB / 0.5018 GB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.4479, allocations: 1.113 MB / 0.5029 GB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.448, allocations: 14.23 kB / 0.5029 GB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002951/0.451, allocations: 1.324 MB / 0.5042 GB, free: 15.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 4.198e-06/0.451, allocations: 0 / 0.5042 GB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=118): time 0.02705/0.4781, allocations: 8.568 MB / 0.5126 GB, free: 6.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.4782, allocations: 110 kB / 0.5127 GB, free: 6.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007598/0.479, allocations: 0.5104 MB / 0.5132 GB, free: 5.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.4793, allocations: 61.67 kB / 0.5132 GB, free: 5.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.4797, allocations: 400.2 kB / 0.5136 GB, free: 5.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/0.4802, allocations: 390.5 kB / 0.514 GB, free: 5.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.4808, allocations: 226.7 kB / 0.5142 GB, free: 4.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.481, allocations: 398.7 kB / 0.5146 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.483, allocations: 0.9745 MB / 0.5155 GB, free: 3.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.4852, allocations: 1.154 MB / 0.5167 GB, free: 2.324 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.0124/0.4976, allocations: 5.018 MB / 0.5216 GB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.4976, allocations: 0 / 0.5216 GB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01312/0.5107, allocations: 4.359 MB / 0.5258 GB, free: 8.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.5109, allocations: 63.55 kB / 0.5259 GB, free: 8.785 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.002621/0.5135, allocations: 1.051 MB / 0.5269 GB, free: 7.73 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated