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.001391/0.001391, allocations: 84.23 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.001516/0.001516, allocations: 167.9 kB / 23.96 MB, free: 4.145 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.392/1.392, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1707/0.1707, allocations: 29.44 MB / 290.1 MB, free: 3.281 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|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.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/3.894e-05, allocations: 6.219 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009161/0.0092, allocations: 6.64 MB / 437.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.01431, allocations: 2.278 MB / 439.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.01502, allocations: 39.69 kB / 439.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.01688, allocations: 0.5247 MB / 440.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.01885, allocations: 0.6216 MB / 440.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.02048, allocations: 0.5378 MB / 441.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.02337, allocations: 1.988 MB / 443.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.02442, allocations: 0.5998 MB / 443.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.02637, allocations: 1.068 MB / 445 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.02784, allocations: 0.9276 MB / 445.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.02811, allocations: 160 kB / 446.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.0294, allocations: 0.659 MB / 446.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000785/0.03019, allocations: 0.6781 MB / 447.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007546/0.03094, allocations: 0.5029 MB / 447.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1787/0.2097, allocations: 2.23 MB / 450.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2097, allocations: 2.812 kB / 450.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2097, allocations: 1.406 kB / 450.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.2097, allocations: 0 / 450.2 MB, free: 19.02 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.004412/0.2141, allocations: 1.833 MB / 452 MB, free: 18.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2142, allocations: 9.375 kB / 452 MB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2152, allocations: 213.1 kB / 452.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.2171, allocations: 0.86 MB / 453.1 MB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/0.2177, allocations: 1.124 MB / 454.2 MB, free: 16.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.218, allocations: 111.2 kB / 454.3 MB, free: 16.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.2223, allocations: 2.042 MB / 456.4 MB, free: 16.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.2223, allocations: 11.45 kB / 456.4 MB, free: 16.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.2225, allocations: 38.08 kB / 456.4 MB, free: 16.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/0.2227, allocations: 89.23 kB / 456.5 MB, free: 16.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.2278, allocations: 2.247 MB / 458.7 MB, free: 16.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009139/0.2369, allocations: 5.26 MB / 464 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.241, allocations: 1.517 MB / 465.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.2434, allocations: 1.04 MB / 466.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.2435, allocations: 15.86 kB / 466.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002617/0.2461, allocations: 1.316 MB / 467.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.407e-06/0.2461, allocations: 4 kB / 467.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02576/0.2719, allocations: 8.353 MB / 476.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2719, allocations: 107.3 kB / 476.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.2723, allocations: 467.3 kB / 476.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.2724, allocations: 60.94 kB / 476.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.2726, allocations: 409.8 kB / 477.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.2729, allocations: 415.2 kB / 477.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.2732, allocations: 219.4 kB / 477.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.2733, allocations: 396.9 kB / 478.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.275, allocations: 1.02 MB / 479.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.2768, allocations: 1.205 MB / 480.5 MB, free: 6.445 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.01045/0.2872, allocations: 5.019 MB / 485.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2872, allocations: 4 kB / 485.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01307/0.3003, allocations: 4.372 MB / 489.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3004, allocations: 61.67 kB / 490 MB, free: 12.96 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.0024/0.3028, allocations: 1.019 MB / 491 MB, free: 11.95 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.7224825732409954] Failed to read output from testmodel.py, exit status != 0: 0.3126380480825901 0.329495906 0.11675041200000001 Calling exit ...