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.001154/0.001154, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002588, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001058/0.001058, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002318, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9009/0.9009, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07595/0.9769, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1139/0.1139, allocations: 29.45 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1447/0.2586, allocations: 9.53 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|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="meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 1.156 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.359e-05, allocations: 2.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007626/0.00764, allocations: 6.195 MB / 290.4 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004454/0.01209, allocations: 2.392 MB / 292.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.01251, allocations: 38.59 kB / 292.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.01352, allocations: 458.7 kB / 293.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.01478, allocations: 0.6237 MB / 293.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.01596, allocations: 0.538 MB / 294.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.01821, allocations: 2.04 MB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.01931, allocations: 0.678 MB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.0211, allocations: 1.181 MB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.02238, allocations: 0.8496 MB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.02265, allocations: 144 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.02375, allocations: 0.6552 MB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005981/0.02434, allocations: 0.5613 MB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.02491, allocations: 383.4 kB / 301 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.02644, allocations: 1.309 MB / 302.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.02645, allocations: 0 / 302.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.02645, allocations: 4 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.395e-05/0.02648, allocations: 0 / 302.3 MB, free: 12.73 MB / 298.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.002175/0.02865, allocations: 1.853 MB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.02869, allocations: 8.031 kB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006716/0.02936, allocations: 361.7 kB / 304.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.03006, allocations: 0.6586 MB / 305.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/0.03058, allocations: 1.094 MB / 306.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.03075, allocations: 108.7 kB / 306.3 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.03187, allocations: 1.032 MB / 307.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.03189, allocations: 7.984 kB / 307.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/0.03198, allocations: 35.98 kB / 307.4 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.03209, allocations: 85.95 kB / 307.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.03283, allocations: 0.5434 MB / 308 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.0365, allocations: 3.55 MB / 311.6 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.03722, allocations: 0.5433 MB / 312.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.03756, allocations: 282.4 kB / 312.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.03762, allocations: 20.98 kB / 312.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.03817, allocations: 0.5811 MB / 313 MB, free: 1.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 2.104e-06/0.03817, allocations: 0 / 313 MB, free: 1.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=118): time 0.006161/0.04433, allocations: 3.436 MB / 316.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.04438, allocations: 102.1 kB / 316.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.04461, allocations: 419 kB / 317 MB, free: 13.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.04468, allocations: 57.69 kB / 317 MB, free: 13.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.04482, allocations: 362.1 kB / 317.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.04503, allocations: 404.5 kB / 317.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.04526, allocations: 194.8 kB / 318 MB, free: 12.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.04536, allocations: 398.6 kB / 318.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.04568, allocations: 283.1 kB / 318.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.04605, allocations: 463.8 kB / 319.1 MB, free: 11.22 MB / 314.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.0009617/0.04701, allocations: 1.066 MB / 320.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.04701, allocations: 0 / 320.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003126/0.05014, allocations: 1.961 MB / 322.1 MB, free: 8.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.05018, allocations: 61.67 kB / 322.2 MB, free: 8.035 MB / 314.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.0003985/0.05058, allocations: 363.3 kB / 322.5 MB, free: 7.676 MB / 314.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: 1.644333423115313]