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.0008789/0.0008789, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003042/0.003042, allocations: 157.1 kB / 24.7 MB, free: 9.406 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 0.8754/0.8754, allocations: 177.2 MB / 205 MB, free: 5.355 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.2022/0.2022, allocations: 29.42 MB / 290.9 MB, free: 2.391 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.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.412e-06/1.412e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.213e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005834/0.005856, allocations: 6.648 MB / 438.1 MB, free: 6.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.008582, allocations: 2.278 MB / 440.4 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.008855, allocations: 39.62 kB / 440.4 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.009694, allocations: 0.5169 MB / 441 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.01045, allocations: 0.6216 MB / 441.6 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.0111, allocations: 0.5378 MB / 442.1 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.01231, allocations: 2.003 MB / 444.1 MB, free: 424 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1638/0.1762, allocations: 0.5885 MB / 444.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1777, allocations: 1.075 MB / 445.8 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.1784, allocations: 0.9227 MB / 446.7 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1785, allocations: 161.5 kB / 446.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000715/0.1793, allocations: 0.6583 MB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.1796, allocations: 0.6736 MB / 448.2 MB, free: 44.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.1799, allocations: 0.5098 MB / 448.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.1813, allocations: 2.226 MB / 450.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1813, allocations: 3.281 kB / 450.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1813, allocations: 0 / 450.9 MB, free: 43.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1813, allocations: 0.5 kB / 450.9 MB, free: 43.96 MB / 410.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.00231/0.1836, allocations: 1.829 MB / 452.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1836, allocations: 17.2 kB / 452.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.1842, allocations: 212.3 kB / 453 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1854, allocations: 0.8684 MB / 453.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.1858, allocations: 1.119 MB / 455 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.186, allocations: 111.4 kB / 455.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.1882, allocations: 2.041 MB / 457.1 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1882, allocations: 6.781 kB / 457.1 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.1883, allocations: 40.64 kB / 457.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.1884, allocations: 94.33 kB / 457.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.1909, allocations: 2.24 MB / 459.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.1961, allocations: 5.255 MB / 464.8 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.1982, allocations: 1.508 MB / 466.3 MB, free: 37.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.1994, allocations: 1.04 MB / 467.3 MB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.1995, allocations: 17.86 kB / 467.3 MB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/0.2009, allocations: 1.31 MB / 468.6 MB, free: 36.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.475e-06/0.2009, allocations: 0 / 468.6 MB, free: 36.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.01328/0.2142, allocations: 8.361 MB / 477 MB, free: 34.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.2143, allocations: 101 kB / 477.1 MB, free: 34.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.2147, allocations: 470.5 kB / 477.6 MB, free: 34.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.2148, allocations: 53.08 kB / 477.6 MB, free: 34.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.215, allocations: 416.2 kB / 478 MB, free: 34.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.2152, allocations: 408.4 kB / 478.4 MB, free: 33.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.2155, allocations: 224.8 kB / 478.6 MB, free: 33.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.2156, allocations: 397.6 kB / 479 MB, free: 33.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.2169, allocations: 1.021 MB / 480 MB, free: 33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.2182, allocations: 1.209 MB / 481.3 MB, free: 32.48 MB / 410.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.007159/0.2254, allocations: 5.013 MB / 486.3 MB, free: 31.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.2254, allocations: 1.25 kB / 486.3 MB, free: 31.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007607/0.233, allocations: 4.382 MB / 490.6 MB, free: 30.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/0.2331, allocations: 60.8 kB / 490.7 MB, free: 29.97 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.00145/0.2345, allocations: 1.018 MB / 491.7 MB, free: 29.6 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: 1.930202653631568] Failed to read output from testmodel.py, exit status != 0: 0.2395471464842558 0.24697907400000002 0.064247013 Calling exit ...