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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 112.4 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.638/2.638, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3398/0.3398, allocations: 38.03 MB / 330.1 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 64.42 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1548, allocations: 58.06 MB / 457 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01641/0.1712, allocations: 8.229 MB / 465.2 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009201/0.1805, allocations: 2.738 MB / 468 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.1821, allocations: 55.62 kB / 468 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.1849, allocations: 498 kB / 468.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.1879, allocations: 0.5487 MB / 469.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.1902, allocations: 467.4 kB / 469.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003743/0.194, allocations: 1.988 MB / 471.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.1963, allocations: 0.9434 MB / 472.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.1987, allocations: 0.8023 MB / 473.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.2014, allocations: 0.9895 MB / 474.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000554/0.202, allocations: 160 kB / 474.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.2042, allocations: 0.6943 MB / 475.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.2054, allocations: 0.6509 MB / 475.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.207, allocations: 0.6964 MB / 476.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.2099, allocations: 1.598 MB / 478 MB, free: 3.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2099, allocations: 0 / 478 MB, free: 3.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2099, allocations: 0 / 478 MB, free: 3.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.21, allocations: 0 / 478 MB, free: 3.309 MB / 350.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.008224/0.2182, allocations: 1.893 MB / 479.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.2183, allocations: 11.89 kB / 479.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.22, allocations: 175.5 kB / 480.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.2236, allocations: 0.8853 MB / 481 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001228/0.2249, allocations: 0.5106 MB / 481.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006144/0.2255, allocations: 111.8 kB / 481.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007648/0.2332, allocations: 2.04 MB / 483.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/0.2333, allocations: 7.938 kB / 483.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.2336, allocations: 35.98 kB / 483.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004283/0.2341, allocations: 97.94 kB / 483.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009977/0.2441, allocations: 2.244 MB / 486 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.2633, allocations: 5.766 MB / 491.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.2701, allocations: 1.607 MB / 493.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004552/0.2747, allocations: 1.121 MB / 494.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.275, allocations: 10.25 kB / 494.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005236/0.2803, allocations: 1.324 MB / 495.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 8.636e-06/0.2803, allocations: 0 / 495.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.04826/0.3286, allocations: 8.572 MB / 0.4926 GB, free: 8.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.3288, allocations: 106.1 kB / 0.4927 GB, free: 8.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.3302, allocations: 0.5182 MB / 0.4932 GB, free: 7.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/0.3306, allocations: 57.69 kB / 0.4933 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/0.3312, allocations: 400.2 kB / 0.4937 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009285/0.3322, allocations: 398.4 kB / 0.494 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.3333, allocations: 214.8 kB / 0.4942 GB, free: 6.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003141/0.3336, allocations: 394.7 kB / 0.4946 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/0.3374, allocations: 0.9785 MB / 0.4956 GB, free: 5.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/0.3412, allocations: 1.162 MB / 0.4967 GB, free: 4.059 MB / 382.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.3328/0.6741, allocations: 5.015 MB / 0.5016 GB, free: 55.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6742, allocations: 2.312 kB / 0.5016 GB, free: 55.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.02005/0.6942, allocations: 4.36 MB / 0.5059 GB, free: 54.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.6944, allocations: 60.23 kB / 0.5059 GB, free: 54.79 MB / 382.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.003745/0.6982, allocations: 1.053 MB / 0.507 GB, free: 54.41 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated