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.001024/0.001024, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001328/0.001328, allocations: 168.2 kB / 24.99 MB, free: 8.758 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2486/0.2486, allocations: 29.41 MB / 291.2 MB, free: 2.41 MB / 266.7 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.[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 2.856e-06/2.856e-06, allocations: 4 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.043e-05, allocations: 2.312 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006761/0.006792, allocations: 7.076 MB / 376.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.01075, allocations: 2.333 MB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005449/0.01129, allocations: 43.62 kB / 379.1 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.01244, allocations: 0.5247 MB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.01404, allocations: 0.6255 MB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.01538, allocations: 0.5339 MB / 380.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.01729, allocations: 1.995 MB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.01801, allocations: 0.5998 MB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.01971, allocations: 1.079 MB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.02082, allocations: 0.9393 MB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.021, allocations: 160 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.02189, allocations: 0.6591 MB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.02238, allocations: 0.6821 MB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.0229, allocations: 0.5107 MB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.02454, allocations: 1.562 MB / 388.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.02455, allocations: 4 kB / 388.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.02455, allocations: 0 / 388.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.02458, allocations: 0 / 388.9 MB, free: 7.883 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.00273/0.0273, allocations: 1.893 MB / 390.8 MB, free: 5.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.02735, allocations: 11.98 kB / 390.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.0282, allocations: 343.9 kB / 391.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.02971, allocations: 0.8547 MB / 392 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/0.03027, allocations: 1.101 MB / 393.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.03047, allocations: 112.6 kB / 393.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.03203, allocations: 1.16 MB / 394.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.03205, allocations: 0 / 394.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.99e-05/0.03214, allocations: 32 kB / 394.4 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.03228, allocations: 97.94 kB / 394.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.03354, allocations: 0.7961 MB / 395.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.03916, allocations: 4.707 MB / 400 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.04022, allocations: 0.6419 MB / 400.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.04082, allocations: 402.2 kB / 401.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.56e-05/0.04089, allocations: 17 kB / 401.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008212/0.04171, allocations: 0.6638 MB / 401.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/0.04172, allocations: 0 / 401.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.008436/0.05015, allocations: 4.266 MB / 406 MB, free: 6.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.05022, allocations: 102 kB / 406.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.05061, allocations: 498.5 kB / 406.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.05069, allocations: 57.62 kB / 406.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.05096, allocations: 463.9 kB / 407.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.05121, allocations: 416.5 kB / 407.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.05148, allocations: 224.5 kB / 407.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.05166, allocations: 0.5742 MB / 408.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.05219, allocations: 408.1 kB / 408.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.05281, allocations: 0.6452 MB / 409.4 MB, free: 2.688 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.001482/0.0543, allocations: 1.358 MB / 410.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.0543, allocations: 4 kB / 410.7 MB, free: 1.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004371/0.05867, allocations: 2.44 MB / 413.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.05873, allocations: 53.67 kB / 413.2 MB, free: 14.71 MB / 394.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.0006048/0.05933, allocations: 463.3 kB / 413.7 MB, free: 14.25 MB / 394.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.023824905976653]