Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 190.5 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 221.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 94.86 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2697/0.2697, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.0006592, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.119, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01172/0.1308, allocations: 7.027 MB / 486.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007155/0.138, allocations: 2.683 MB / 488.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008877/0.139, allocations: 47.69 kB / 488.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.1397, allocations: 174.9 kB / 489 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.1418, allocations: 0.5063 MB / 489.5 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1435, allocations: 455.1 kB / 489.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.1456, allocations: 1.045 MB / 491 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.1477, allocations: 0.9297 MB / 491.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.149, allocations: 0.5726 MB / 492.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1505, allocations: 0.6936 MB / 493.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.1507, allocations: 68 kB / 493.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.1522, allocations: 0.5149 MB / 493.7 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009311/0.1531, allocations: 0.5145 MB / 494.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.1536, allocations: 233.1 kB / 494.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.1564, allocations: 1.563 MB / 496 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1565, allocations: 0 / 496 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1565, allocations: 0 / 496 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.07e-05/0.1565, allocations: 0 / 496 MB, free: 0.9258 MB / 330.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.00688/0.1634, allocations: 1.686 MB / 497.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1635, allocations: 16.02 kB / 497.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.165, allocations: 178.5 kB / 497.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.1684, allocations: 0.8727 MB / 498.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.1696, allocations: 0.5257 MB / 499.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005637/0.1702, allocations: 107.8 kB / 499.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008314/0.1785, allocations: 2.133 MB / 0.4898 GB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.1786, allocations: 0 / 0.4898 GB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.1788, allocations: 36 kB / 0.4898 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/0.1793, allocations: 89.94 kB / 0.4899 GB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.1896, allocations: 2.416 MB / 0.4923 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.2078, allocations: 5.855 MB / 0.498 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008485/0.2164, allocations: 1.749 MB / 0.4997 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.2166, allocations: 13.05 kB / 0.4997 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005845/0.2225, allocations: 1.41 MB / 0.5011 GB, free: 15.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=116): time 9.368e-06/0.2226, allocations: 3.984 kB / 0.5011 GB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.05743/0.28, allocations: 10.53 MB / 0.5114 GB, free: 4.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.2802, allocations: 106.1 kB / 0.5115 GB, free: 4.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.2813, allocations: 0.5105 MB / 0.512 GB, free: 4.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000397/0.2817, allocations: 57.69 kB / 0.512 GB, free: 4.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.2822, allocations: 434.7 kB / 0.5124 GB, free: 3.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006877/0.2829, allocations: 390.4 kB / 0.5128 GB, free: 3.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.283, allocations: 23.98 kB / 0.5128 GB, free: 3.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2833, allocations: 366.7 kB / 0.5132 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/0.2872, allocations: 1.037 MB / 0.5142 GB, free: 1.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004265/0.2915, allocations: 1.209 MB / 0.5154 GB, free: 0.5156 MB / 362.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed 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.3305/0.6221, allocations: 4.585 MB / 0.5199 GB, free: 51.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.6221, allocations: 0.8125 kB / 0.5199 GB, free: 51.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0269/0.649, allocations: 5.139 MB / 0.5249 GB, free: 50.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.6492, allocations: 62.17 kB / 0.5249 GB, free: 50.83 MB / 362.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.004105/0.6533, allocations: 1.108 MB / 0.526 GB, free: 50.45 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated