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.0018/0.0018, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002201/0.002201, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.1868/0.1868, allocations: 38.56 MB / 353.2 MB, free: 12.34 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 74.84 kB / 493.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 62.46 MB / 0.5432 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009889/0.3197, allocations: 6.688 MB / 0.5497 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005204/0.3249, allocations: 2.261 MB / 0.5519 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007818/0.3257, allocations: 38.03 kB / 0.5519 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.3275, allocations: 0.5208 MB / 0.5524 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.3296, allocations: 0.6086 MB / 0.553 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.331, allocations: 0.5146 MB / 0.5535 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.334, allocations: 1.992 MB / 0.5555 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.3354, allocations: 0.5983 MB / 0.5561 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.3375, allocations: 0.8396 MB / 0.5569 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.3395, allocations: 0.9583 MB / 0.5578 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.3401, allocations: 163.9 kB / 0.558 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.3419, allocations: 0.6592 MB / 0.5586 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.3431, allocations: 0.647 MB / 0.5593 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.3448, allocations: 0.5837 MB / 0.5598 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.3487, allocations: 2.091 MB / 0.5619 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3487, allocations: 3.984 kB / 0.5619 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3487, allocations: 0 / 0.5619 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-05/0.3488, allocations: 0 / 0.5619 GB, free: 1.043 MB / 398.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.005825/0.3546, allocations: 1.839 MB / 0.5637 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3546, allocations: 11.98 kB / 0.5637 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3559, allocations: 220 kB / 0.5639 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.3583, allocations: 0.8681 MB / 0.5647 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/0.3596, allocations: 1.125 MB / 0.5658 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/0.36, allocations: 99.92 kB / 0.5659 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005151/0.3652, allocations: 2.044 MB / 0.5679 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.3652, allocations: 4 kB / 0.5679 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.3654, allocations: 36 kB / 0.568 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002549/0.3656, allocations: 89.94 kB / 0.5681 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/0.3712, allocations: 2.248 MB / 0.5703 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.3818, allocations: 5.216 MB / 0.5753 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004529/0.3863, allocations: 1.511 MB / 0.5768 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.389, allocations: 1.051 MB / 0.5778 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.3891, allocations: 20.88 kB / 0.5779 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003267/0.3924, allocations: 1.304 MB / 0.5791 GB, free: 14.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 5.32e-06/0.3924, allocations: 0 / 0.5791 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.02987/0.4223, allocations: 8.36 MB / 0.5873 GB, free: 6.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4224, allocations: 102.1 kB / 0.5874 GB, free: 6.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.4231, allocations: 469.7 kB / 0.5879 GB, free: 5.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.4233, allocations: 57.69 kB / 0.5879 GB, free: 5.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.4237, allocations: 417.2 kB / 0.5883 GB, free: 5.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.4242, allocations: 412.5 kB / 0.5887 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/0.4247, allocations: 222.8 kB / 0.5889 GB, free: 4.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.4249, allocations: 390.8 kB / 0.5893 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.4272, allocations: 1.023 MB / 0.5903 GB, free: 3.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.4295, allocations: 1.206 MB / 0.5915 GB, free: 2.047 MB / 430.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.01345/0.443, allocations: 5.007 MB / 0.5963 GB, free: 12.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.443, allocations: 4 kB / 0.5964 GB, free: 12.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01426/0.4573, allocations: 4.381 MB / 0.6006 GB, free: 8.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.4574, allocations: 61.67 kB / 0.6007 GB, free: 8.488 MB / 446.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.002605/0.46, allocations: 1.015 MB / 0.6017 GB, free: 7.469 MB / 446.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: 3.0226878225803375] Failed to read output from testmodel.py, exit status != 0: 0.46890596486628056 0.48523167500000003 0.132936798 Calling exit ...