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.001807/0.001807, allocations: 84.39 kB / 20.68 MB, free: 1.023 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.002255/0.002255, allocations: 164.1 kB / 23.95 MB, free: 4.156 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.1752/0.1752, allocations: 29.44 MB / 290.1 MB, free: 3.273 MB / 270.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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.519e-05, allocations: 9.594 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009072/0.009098, allocations: 6.633 MB / 437.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.01368, allocations: 2.282 MB / 439.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.01409, allocations: 35.69 kB / 439.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.01571, allocations: 0.5277 MB / 440.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.01717, allocations: 0.6216 MB / 440.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.01843, allocations: 0.5339 MB / 441.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.02111, allocations: 1.999 MB / 443.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.02211, allocations: 0.5959 MB / 443.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.02377, allocations: 1.068 MB / 445 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.02537, allocations: 0.9315 MB / 445.9 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.02566, allocations: 156 kB / 446.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.02703, allocations: 0.6513 MB / 446.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007647/0.02779, allocations: 0.6781 MB / 447.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.02853, allocations: 0.5107 MB / 447.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.189/0.2175, allocations: 2.226 MB / 450.2 MB, free: 19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2176, allocations: 1.406 kB / 450.2 MB, free: 19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2176, allocations: 0 / 450.2 MB, free: 19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.2176, allocations: 0 / 450.2 MB, free: 19 MB / 366.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.004621/0.2222, allocations: 1.835 MB / 452 MB, free: 18.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2222, allocations: 11.98 kB / 452 MB, free: 18.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.2233, allocations: 214.3 kB / 452.2 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2253, allocations: 0.8589 MB / 453.1 MB, free: 17.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006749/0.226, allocations: 1.125 MB / 454.2 MB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2263, allocations: 110 kB / 454.3 MB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.2307, allocations: 2.048 MB / 456.4 MB, free: 16.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.2307, allocations: 7.172 kB / 456.4 MB, free: 16.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.2308, allocations: 40.19 kB / 456.4 MB, free: 16.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.2311, allocations: 89.73 kB / 456.5 MB, free: 16.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005604/0.2367, allocations: 2.244 MB / 458.7 MB, free: 16.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009547/0.2462, allocations: 5.254 MB / 464 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.2506, allocations: 1.527 MB / 465.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.2531, allocations: 1.042 MB / 466.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/0.2532, allocations: 12.88 kB / 466.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002818/0.256, allocations: 1.311 MB / 467.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.957e-06/0.256, allocations: 7.312 kB / 467.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02779/0.2838, allocations: 8.352 MB / 476.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2839, allocations: 102.8 kB / 476.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.2844, allocations: 469.2 kB / 476.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.2845, allocations: 62.31 kB / 476.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.2848, allocations: 416.9 kB / 477.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.285, allocations: 410 kB / 477.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/0.2854, allocations: 222.7 kB / 477.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.2855, allocations: 391 kB / 478.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.2874, allocations: 1.022 MB / 479.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.2893, allocations: 1.21 MB / 480.5 MB, free: 6.422 MB / 366.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.01126/0.3006, allocations: 5.009 MB / 485.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.3006, allocations: 0 / 485.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01435/0.3149, allocations: 4.378 MB / 489.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.315, allocations: 61.67 kB / 490 MB, free: 12.94 MB / 382.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.002748/0.3178, allocations: 1.011 MB / 491 MB, free: 11.93 MB / 382.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: 2.845965050160885] Failed to read output from testmodel.py, exit status != 0: 0.32641398161649704 0.351134563 0.12823369 Calling exit ...