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.001258/0.001258, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001412/0.001412, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.1754/0.1754, allocations: 38.53 MB / 353.2 MB, free: 12.57 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.001982/0.001982, allocations: 66.56 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3007, allocations: 62.47 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008908/0.3096, allocations: 7.198 MB / 0.5503 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.3142, allocations: 2.436 MB / 0.5526 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.3147, allocations: 42.69 kB / 0.5527 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.3162, allocations: 0.5349 MB / 0.5532 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.3177, allocations: 0.6085 MB / 0.5538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3188, allocations: 0.5133 MB / 0.5543 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.3212, allocations: 1.995 MB / 0.5562 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009201/0.3221, allocations: 0.6135 MB / 0.5568 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.3236, allocations: 0.825 MB / 0.5577 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.3251, allocations: 1.007 MB / 0.5586 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.3253, allocations: 156 kB / 0.5588 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3266, allocations: 0.6904 MB / 0.5595 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.3273, allocations: 0.6509 MB / 0.5601 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008091/0.3281, allocations: 0.6847 MB / 0.5608 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.3305, allocations: 2.091 MB / 0.5628 GB, free: 404 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3305, allocations: 4 kB / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3305, allocations: 0 / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.3305, allocations: 3.938 kB / 0.5628 GB, free: 396 kB / 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.004559/0.3351, allocations: 1.828 MB / 0.5646 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3352, allocations: 15.98 kB / 0.5646 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.3362, allocations: 220 kB / 0.5648 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.3383, allocations: 0.8565 MB / 0.5657 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/0.3393, allocations: 1.125 MB / 0.5668 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.3396, allocations: 115.9 kB / 0.5669 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004036/0.3436, allocations: 2.043 MB / 0.5689 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.3436, allocations: 0 / 0.5689 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.3438, allocations: 43.97 kB / 0.5689 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.344, allocations: 89.95 kB / 0.569 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00481/0.3488, allocations: 2.252 MB / 0.5712 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009845/0.3587, allocations: 5.695 MB / 0.5768 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.3626, allocations: 1.515 MB / 0.5782 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.3652, allocations: 1.042 MB / 0.5792 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.3653, allocations: 20.98 kB / 0.5793 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002862/0.3681, allocations: 1.308 MB / 0.5805 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.196e-06/0.3681, allocations: 0 / 0.5805 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.026/0.3941, allocations: 8.375 MB / 0.5887 GB, free: 5.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.774e-05/0.3942, allocations: 102.1 kB / 0.5888 GB, free: 5.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.3949, allocations: 0.5106 MB / 0.5893 GB, free: 4.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.3951, allocations: 57.69 kB / 0.5894 GB, free: 4.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.3955, allocations: 413.2 kB / 0.5898 GB, free: 4.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004826/0.396, allocations: 412.5 kB / 0.5902 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/0.3964, allocations: 222.8 kB / 0.5904 GB, free: 3.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.3966, allocations: 398.7 kB / 0.5908 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.3986, allocations: 0.9784 MB / 0.5917 GB, free: 2.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.4007, allocations: 1.158 MB / 0.5928 GB, free: 0.9297 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.01236/0.4131, allocations: 5.018 MB / 0.5977 GB, free: 11.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4131, allocations: 4 kB / 0.5977 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01254/0.4257, allocations: 4.344 MB / 0.602 GB, free: 7.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.4258, allocations: 57.67 kB / 0.602 GB, free: 7.41 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.002322/0.4281, allocations: 1.054 MB / 0.6031 GB, free: 6.344 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: 2.899673270061612] Failed to read output from testmodel.py, exit status != 0: 0.43719774298369884 0.45066109899999995 0.117001002 Calling exit ...