Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001654/0.001654, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002001/0.002001, allocations: 213.1 kB / 24.48 MB, free: 3.93 MB / 14.72 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1833/0.1833, allocations: 38.56 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.88 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3418, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008826/0.3507, allocations: 6.674 MB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.3552, allocations: 2.273 MB / 0.5519 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.3557, allocations: 40.66 kB / 0.5519 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.3573, allocations: 0.5099 MB / 0.5524 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.3588, allocations: 0.609 MB / 0.553 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.36, allocations: 0.5132 MB / 0.5535 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.3623, allocations: 1.993 MB / 0.5555 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008866/0.3632, allocations: 0.602 MB / 0.5561 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.3646, allocations: 0.8289 MB / 0.5569 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.3659, allocations: 0.966 MB / 0.5578 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.3662, allocations: 160 kB / 0.558 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3674, allocations: 0.6553 MB / 0.5586 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006491/0.368, allocations: 0.6548 MB / 0.5593 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.3687, allocations: 0.5837 MB / 0.5598 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.3709, allocations: 2.091 MB / 0.5619 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3709, allocations: 0 / 0.5619 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3709, allocations: 3.938 kB / 0.5619 GB, free: 1.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.371, allocations: 0 / 0.5619 GB, free: 1.168 MB / 398.1 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.004483/0.3755, allocations: 1.843 MB / 0.5637 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3755, allocations: 11.98 kB / 0.5637 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.3765, allocations: 212.1 kB / 0.5639 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.3786, allocations: 0.8604 MB / 0.5647 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009725/0.3796, allocations: 1.121 MB / 0.5658 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.3799, allocations: 107.9 kB / 0.5659 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/0.3841, allocations: 2.051 MB / 0.5679 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.3842, allocations: 3.984 kB / 0.5679 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.3843, allocations: 39.98 kB / 0.568 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.3845, allocations: 85.95 kB / 0.5681 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/0.3897, allocations: 2.248 MB / 0.5703 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009922/0.3996, allocations: 5.224 MB / 0.5754 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.4037, allocations: 1.511 MB / 0.5768 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.4062, allocations: 1.043 MB / 0.5778 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.4063, allocations: 9 kB / 0.5779 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002773/0.4091, allocations: 1.316 MB / 0.5791 GB, free: 14.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.537e-06/0.4091, allocations: 0 / 0.5791 GB, free: 14.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02737/0.4365, allocations: 8.364 MB / 0.5873 GB, free: 6.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4366, allocations: 98.11 kB / 0.5874 GB, free: 6.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.4373, allocations: 473.7 kB / 0.5879 GB, free: 5.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.4376, allocations: 57.69 kB / 0.5879 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.438, allocations: 409.2 kB / 0.5883 GB, free: 5.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/0.4385, allocations: 412.6 kB / 0.5887 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/0.439, allocations: 226.8 kB / 0.5889 GB, free: 4.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.4393, allocations: 390.8 kB / 0.5893 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.4416, allocations: 1.023 MB / 0.5903 GB, free: 3.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.444, allocations: 1.206 MB / 0.5915 GB, free: 2.168 MB / 430.1 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.01344/0.4575, allocations: 5.007 MB / 0.5963 GB, free: 13.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4575, allocations: 0 / 0.5963 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01393/0.4714, allocations: 4.381 MB / 0.6006 GB, free: 8.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.4715, allocations: 57.67 kB / 0.6007 GB, free: 8.621 MB / 446.1 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.002611/0.4741, allocations: 1.023 MB / 0.6017 GB, free: 7.594 MB / 446.1 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: 3.000295899808407] Failed to read output from testmodel.py, exit status != 0: 0.4833872630260885 0.499199278 0.12489369600000001 Calling exit ...