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.002446/0.002446, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002848/0.002848, allocations: 161.3 kB / 24.27 MB, free: 152 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.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.2911/0.2911, 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.513e-06/1.513e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.038e-05/4.189e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01528/0.01532, allocations: 7.015 MB / 375.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007444/0.02276, allocations: 2.337 MB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.02342, allocations: 43.62 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.02566, allocations: 0.5287 MB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.02797, allocations: 0.6255 MB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.02991, allocations: 0.5183 MB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.03376, allocations: 2.003 MB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.03512, allocations: 0.5959 MB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.03782, allocations: 1.083 MB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.0404, allocations: 0.9355 MB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005148/0.04091, allocations: 160 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.04295, allocations: 0.6513 MB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008842/0.04383, allocations: 0.6821 MB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008649/0.0447, allocations: 0.5184 MB / 386.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.04792, allocations: 2.24 MB / 388.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.04792, allocations: 4 kB / 388.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04792, allocations: 0 / 388.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.04794, allocations: 0 / 388.8 MB, free: 7.312 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.004578/0.05252, allocations: 1.966 MB / 390.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.05257, allocations: 15.98 kB / 390.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.05387, allocations: 331.9 kB / 391.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.05624, allocations: 0.8703 MB / 392 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001116/0.05736, allocations: 1.093 MB / 393.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.05766, allocations: 104.6 kB / 393.2 MB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.06113, allocations: 1.347 MB / 394.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.06116, allocations: 0 / 394.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.0613, allocations: 36 kB / 394.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/0.06155, allocations: 97.92 kB / 394.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/0.06488, allocations: 1.116 MB / 395.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.07494, allocations: 5.05 MB / 400.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.07773, allocations: 0.8205 MB / 401.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.07934, allocations: 0.5216 MB / 402.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.07944, allocations: 17 kB / 402.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.08151, allocations: 0.8432 MB / 403 MB, free: 8.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.507e-06/0.08151, allocations: 0 / 403 MB, free: 8.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.01948/0.101, allocations: 5.02 MB / 408.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1011, allocations: 106 kB / 408.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.1021, allocations: 0.5844 MB / 408.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.1022, allocations: 53.69 kB / 408.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.1027, allocations: 491.9 kB / 409.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.1032, allocations: 440.6 kB / 409.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/0.1038, allocations: 264.5 kB / 410 MB, free: 1.484 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004224/0.1042, allocations: 0.6211 MB / 410.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.1056, allocations: 0.5039 MB / 411.1 MB, free: 352 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.1073, allocations: 0.7827 MB / 411.9 MB, free: 15.48 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.01095/0.1183, allocations: 3.556 MB / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.1183, allocations: 4 kB / 415.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00969/0.128, allocations: 2.745 MB / 418.2 MB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.1281, allocations: 49.69 kB / 418.2 MB, free: 8.996 MB / 394.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.001633/0.1297, allocations: 0.5619 MB / 418.8 MB, free: 8.426 MB / 394.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.6763332589762285]