Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001722/0.001722, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002038/0.002038, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.431/1.431, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.176/0.176, allocations: 29.42 MB / 290.7 MB, free: 3.25 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_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.002044/0.002044, allocations: 63.91 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3286, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00672/0.3353, allocations: 6.683 MB / 0.4886 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.3387, allocations: 2.271 MB / 0.4908 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.3391, allocations: 44.69 kB / 0.4908 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.3404, allocations: 0.5133 MB / 0.4914 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.3414, allocations: 0.6042 MB / 0.4919 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.3423, allocations: 0.5144 MB / 0.4924 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3437, allocations: 1.989 MB / 0.4944 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.3444, allocations: 0.6112 MB / 0.495 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009138/0.3453, allocations: 0.8303 MB / 0.4958 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3463, allocations: 0.9633 MB / 0.4967 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.3465, allocations: 157.7 kB / 0.4969 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.3474, allocations: 0.6582 MB / 0.4975 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.3478, allocations: 0.6514 MB / 0.4982 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.3483, allocations: 0.5818 MB / 0.4987 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.3498, allocations: 2.099 MB / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3498, allocations: 4 kB / 0.5008 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3498, allocations: 0 / 0.5008 GB, free: 27.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.3498, allocations: 0 / 0.5008 GB, free: 27.7 MB / 446.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.003894/0.3537, allocations: 1.832 MB / 0.5026 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3537, allocations: 14.42 kB / 0.5026 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.3547, allocations: 224.6 kB / 0.5028 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3565, allocations: 0.8606 MB / 0.5036 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006299/0.3572, allocations: 1.123 MB / 0.5047 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.3574, allocations: 112.1 kB / 0.5048 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.3609, allocations: 2.043 MB / 0.5068 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.361, allocations: 3.219 kB / 0.5068 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.3611, allocations: 37.59 kB / 0.5069 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/0.3613, allocations: 90.53 kB / 0.507 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.3656, allocations: 2.245 MB / 0.5092 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00834/0.3739, allocations: 5.259 MB / 0.5143 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.3782, allocations: 1.52 MB / 0.5158 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.3809, allocations: 1.049 MB / 0.5168 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/0.381, allocations: 10.83 kB / 0.5168 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00316/0.3842, allocations: 1.318 MB / 0.5181 GB, free: 19.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=116): time 3.627e-06/0.3842, allocations: 0 / 0.5181 GB, free: 19.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=118): time 0.02876/0.4129, allocations: 8.355 MB / 0.5263 GB, free: 17.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.413, allocations: 97.64 kB / 0.5264 GB, free: 17.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.4139, allocations: 472.8 kB / 0.5268 GB, free: 17.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.4141, allocations: 54.41 kB / 0.5269 GB, free: 16.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.4145, allocations: 419.3 kB / 0.5273 GB, free: 16.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.415, allocations: 418.2 kB / 0.5277 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005777/0.4156, allocations: 224.8 kB / 0.5279 GB, free: 16.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4158, allocations: 390.2 kB / 0.5282 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.4181, allocations: 1.02 MB / 0.5292 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.4205, allocations: 1.207 MB / 0.5304 GB, free: 15.03 MB / 446.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.01295/0.4334, allocations: 5.017 MB / 0.5353 GB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.4335, allocations: 2.5 kB / 0.5353 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01295/0.4464, allocations: 4.384 MB / 0.5396 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/0.4465, allocations: 57.69 kB / 0.5397 GB, free: 10.06 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.002006/0.4485, allocations: 1.026 MB / 0.5407 GB, free: 9.027 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.002270601922646] Failed to read output from testmodel.py, exit status != 0: 0.45714639499783516 0.468058682 0.115229222 Calling exit ...