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.00112/0.00112, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001271/0.001271, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2304/0.2304, allocations: 29.41 MB / 290.9 MB, free: 2.504 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.347e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006416/0.006449, allocations: 6.117 MB / 375.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.01024, allocations: 2.341 MB / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.01078, allocations: 43.62 kB / 378.1 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008251/0.0116, allocations: 250.4 kB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.01277, allocations: 0.6139 MB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01378, allocations: 0.5339 MB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.01546, allocations: 1.999 MB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008242/0.01629, allocations: 0.5959 MB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.01774, allocations: 1.06 MB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.01893, allocations: 0.9316 MB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.01926, allocations: 160 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009642/0.02022, allocations: 0.663 MB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007797/0.021, allocations: 0.686 MB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005838/0.02159, allocations: 0.5068 MB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.02344, allocations: 1.566 MB / 387.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.02344, allocations: 0 / 387.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02344, allocations: 0 / 387.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.02349, allocations: 0 / 387.7 MB, free: 8.879 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.002882/0.02637, allocations: 1.893 MB / 389.6 MB, free: 6.918 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.02642, allocations: 15.97 kB / 389.6 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.02724, allocations: 339.9 kB / 389.9 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.02851, allocations: 0.8702 MB / 390.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005745/0.02908, allocations: 1.093 MB / 391.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.02929, allocations: 100.7 kB / 392 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.03117, allocations: 1.172 MB / 393.2 MB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.03119, allocations: 4 kB / 393.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.03128, allocations: 36 kB / 393.2 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.03142, allocations: 97.92 kB / 393.3 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.03274, allocations: 0.7844 MB / 394.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.03793, allocations: 4.715 MB / 398.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.03935, allocations: 0.633 MB / 399.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.03992, allocations: 399.5 kB / 399.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.04, allocations: 17 kB / 399.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/0.04084, allocations: 0.6665 MB / 400.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.176e-06/0.04084, allocations: 0 / 400.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.008219/0.04906, allocations: 4.266 MB / 404.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.04912, allocations: 106.1 kB / 404.9 MB, free: 7.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.04951, allocations: 498.4 kB / 405.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/0.04959, allocations: 53.7 kB / 405.4 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.04984, allocations: 463.9 kB / 405.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.05009, allocations: 420.5 kB / 406.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/0.05064, allocations: 224.5 kB / 406.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.05081, allocations: 0.5742 MB / 407.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.05137, allocations: 408.1 kB / 407.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.052, allocations: 0.6451 MB / 408.1 MB, free: 3.68 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.001595/0.0536, allocations: 1.354 MB / 409.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.0536, allocations: 0 / 409.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004191/0.05779, allocations: 2.441 MB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.05785, allocations: 57.67 kB / 412 MB, free: 15.7 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.0006187/0.05847, allocations: 467.2 kB / 412.4 MB, free: 15.24 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: 1.9137074132449925]