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.001119/0.001119, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00125/0.00125, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2513/0.2513, allocations: 29.42 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[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="Time|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 3.196e-06/3.196e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/2.102e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009712/0.009733, allocations: 6.059 MB / 376.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.01462, allocations: 2.321 MB / 378.5 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.01519, allocations: 39.69 kB / 378.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.0165, allocations: 385.9 kB / 378.9 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.01801, allocations: 0.61 MB / 379.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.01934, allocations: 0.5416 MB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002393/0.02173, allocations: 1.991 MB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.02275, allocations: 0.5959 MB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.02482, allocations: 1.134 MB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.02632, allocations: 0.8653 MB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.02669, allocations: 140 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.02781, allocations: 0.6434 MB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000711/0.02852, allocations: 0.6625 MB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006971/0.02922, allocations: 495 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.03083, allocations: 1.48 MB / 388.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.03084, allocations: 0 / 388.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.03084, allocations: 0 / 388.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.03085, allocations: 0 / 388.1 MB, free: 8.711 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.002429/0.03328, allocations: 1.768 MB / 389.8 MB, free: 6.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.03333, allocations: 11.98 kB / 389.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.03409, allocations: 319.9 kB / 390.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.03495, allocations: 0.7043 MB / 390.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006423/0.03559, allocations: 1.101 MB / 392 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.03582, allocations: 100.7 kB / 392.1 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.03736, allocations: 1.058 MB / 393.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.03738, allocations: 0 / 393.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.03749, allocations: 39.98 kB / 393.2 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.03763, allocations: 81.95 kB / 393.2 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.03871, allocations: 0.6028 MB / 393.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005509/0.04422, allocations: 4.558 MB / 398.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.04521, allocations: 0.5444 MB / 398.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.04574, allocations: 326.2 kB / 399.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.04581, allocations: 17 kB / 399.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008253/0.04664, allocations: 0.5972 MB / 399.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 2.875e-06/0.04664, allocations: 0 / 399.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.008775/0.05541, allocations: 3.667 MB / 403.5 MB, free: 8.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.05548, allocations: 102.1 kB / 403.6 MB, free: 8.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.05587, allocations: 490.2 kB / 404.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/0.05596, allocations: 57.69 kB / 404.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.05624, allocations: 471.8 kB / 404.6 MB, free: 7.473 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.05656, allocations: 420.5 kB / 405 MB, free: 7.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.05689, allocations: 228.4 kB / 405.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.05713, allocations: 0.5819 MB / 405.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.05758, allocations: 304.1 kB / 406.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.05818, allocations: 0.56 MB / 406.7 MB, free: 5.289 MB / 378.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.001462/0.05964, allocations: 1.132 MB / 407.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.05964, allocations: 4 kB / 407.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004685/0.06433, allocations: 2.179 MB / 410 MB, free: 1.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.06439, allocations: 61.67 kB / 410.1 MB, free: 1.789 MB / 378.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.0005786/0.06497, allocations: 383.2 kB / 410.5 MB, free: 1.41 MB / 378.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.0633593760430813]