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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.3271/0.3271, allocations: 29.41 MB / 290.5 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.703e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01095/0.01098, allocations: 6.663 MB / 375.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.01675, allocations: 2.267 MB / 377.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006812/0.01743, allocations: 39.69 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.01918, allocations: 0.5169 MB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.02101, allocations: 0.6178 MB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.02259, allocations: 0.5416 MB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.02519, allocations: 1.996 MB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.02623, allocations: 0.5959 MB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.02835, allocations: 1.072 MB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.03034, allocations: 0.9276 MB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.03064, allocations: 160 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.03204, allocations: 0.6513 MB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009018/0.03294, allocations: 0.6782 MB / 385.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009341/0.03388, allocations: 0.5068 MB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.03751, allocations: 2.24 MB / 388.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03752, allocations: 0 / 388.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.03752, allocations: 0 / 388.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.644e-05/0.03758, allocations: 0 / 388.4 MB, free: 7.754 MB / 362.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.005613/0.04319, allocations: 1.824 MB / 390.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.04324, allocations: 15.92 kB / 390.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.04465, allocations: 343.9 kB / 390.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.04746, allocations: 0.8948 MB / 391.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/0.0488, allocations: 1.121 MB / 392.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005144/0.04932, allocations: 112.7 kB / 392.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004903/0.05422, allocations: 2.047 MB / 394.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.05426, allocations: 0 / 394.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.05442, allocations: 43.97 kB / 394.7 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002572/0.05468, allocations: 85.95 kB / 394.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005459/0.06014, allocations: 2.248 MB / 397.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.0711, allocations: 5.271 MB / 402.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.07555, allocations: 1.51 MB / 403.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.07829, allocations: 1.043 MB / 404.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.651e-05/0.07837, allocations: 17 kB / 404.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003322/0.0817, allocations: 1.317 MB / 406.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 2.976e-06/0.0817, allocations: 0 / 406.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.02917/0.1109, allocations: 8.403 MB / 414.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.111, allocations: 102.1 kB / 414.7 MB, free: 12.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.1117, allocations: 473.6 kB / 415.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.1118, allocations: 61.69 kB / 415.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.1123, allocations: 413.2 kB / 415.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.1127, allocations: 408.6 kB / 416.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004889/0.1132, allocations: 222.9 kB / 416.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.1135, allocations: 394.8 kB / 416.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.1158, allocations: 1.023 MB / 417.7 MB, free: 9.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.1182, allocations: 1.21 MB / 418.9 MB, free: 8.512 MB / 394.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.01404/0.1322, allocations: 5.014 MB / 423.9 MB, free: 3.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.1323, allocations: 0 / 423.9 MB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01463/0.1469, allocations: 4.432 MB / 428.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.147, allocations: 57.67 kB / 428.4 MB, free: 14.89 MB / 410.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.002741/0.1498, allocations: 1.022 MB / 429.4 MB, free: 13.87 MB / 410.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.926502908929251]