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.00151/0.00151, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001606/0.001606, allocations: 161.7 kB / 24.26 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.634/1.634, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.318/0.318, allocations: 29.42 MB / 290.5 MB, free: 2.445 MB / 266.7 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.393e-06/1.393e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.612e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009832/0.009859, allocations: 6.666 MB / 375.6 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00492/0.01478, allocations: 2.263 MB / 377.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.01534, allocations: 39.69 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.0171, allocations: 0.5208 MB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.01875, allocations: 0.6178 MB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.02016, allocations: 0.5417 MB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.02281, allocations: 1.988 MB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.02389, allocations: 0.5959 MB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.02603, allocations: 1.072 MB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.02783, allocations: 0.9315 MB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.0283, allocations: 160 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.03017, allocations: 0.659 MB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.03124, allocations: 0.6743 MB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.03239, allocations: 0.5068 MB / 386.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.03585, allocations: 2.24 MB / 388.4 MB, free: 7.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.03586, allocations: 0 / 388.4 MB, free: 7.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03586, allocations: 0 / 388.4 MB, free: 7.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.475e-05/0.03593, allocations: 0 / 388.4 MB, free: 7.77 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.005911/0.04184, allocations: 1.832 MB / 390.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.04188, allocations: 15.92 kB / 390.2 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.04347, allocations: 335.9 kB / 390.5 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.04586, allocations: 0.8909 MB / 391.4 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/0.04711, allocations: 1.129 MB / 392.6 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.04754, allocations: 104.7 kB / 392.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.05247, allocations: 2.047 MB / 394.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.0525, allocations: 3.938 kB / 394.7 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.05265, allocations: 39.98 kB / 394.7 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.05288, allocations: 85.95 kB / 394.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/0.05805, allocations: 2.244 MB / 397.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.06869, allocations: 5.279 MB / 402.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.07302, allocations: 1.507 MB / 403.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.07566, allocations: 1.043 MB / 404.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.832e-05/0.07575, allocations: 17 kB / 404.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003282/0.07903, allocations: 1.324 MB / 406.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.226e-06/0.07904, allocations: 0 / 406.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.02885/0.1079, allocations: 8.387 MB / 414.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.108, allocations: 110 kB / 414.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.1087, allocations: 477.6 kB / 415.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.1088, allocations: 61.69 kB / 415.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.1093, allocations: 417.2 kB / 415.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000467/0.1097, allocations: 404.6 kB / 416.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.1102, allocations: 222.9 kB / 416.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.1105, allocations: 390.8 kB / 416.7 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/0.1128, allocations: 1.023 MB / 417.7 MB, free: 9.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.1153, allocations: 1.21 MB / 418.9 MB, free: 8.531 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.01378/0.129, allocations: 5.011 MB / 423.9 MB, free: 3.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.129, allocations: 0 / 423.9 MB, free: 3.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0143/0.1433, allocations: 4.432 MB / 428.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.1435, allocations: 61.67 kB / 428.4 MB, free: 14.91 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.002812/0.1463, allocations: 1.03 MB / 429.4 MB, free: 13.88 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.934034178033471]