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.001159/0.001159, allocations: 100.8 kB / 16.5 MB, free: 6.695 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.001188/0.001189, allocations: 194.4 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2453/0.2453, allocations: 38.02 MB / 329.3 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 69.98 kB / 398.1 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 58.06 MB / 456.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01188/0.1229, allocations: 8.23 MB / 464.4 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.1292, allocations: 2.789 MB / 467.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.1307, allocations: 51.69 kB / 467.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.1327, allocations: 490 kB / 467.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1345, allocations: 0.5565 MB / 468.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.136, allocations: 467.2 kB / 468.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.1393, allocations: 2.487 MB / 471.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.1409, allocations: 0.7759 MB / 472 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1426, allocations: 0.6579 MB / 472.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.1445, allocations: 0.9504 MB / 473.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.1449, allocations: 84 kB / 473.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.1464, allocations: 0.6356 MB / 474.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009381/0.1474, allocations: 0.5729 MB / 474.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1487, allocations: 0.6144 MB / 475.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.151, allocations: 1.987 MB / 477.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.151, allocations: 0 / 477.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1511, allocations: 0 / 477.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.529e-05/0.1511, allocations: 0 / 477.5 MB, free: 3.121 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.005524/0.1566, allocations: 1.873 MB / 479.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1567, allocations: 15.97 kB / 479.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.1578, allocations: 179.5 kB / 479.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.1599, allocations: 0.8891 MB / 480.4 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007405/0.1606, allocations: 0.4989 MB / 480.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.161, allocations: 107.9 kB / 481 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004618/0.1657, allocations: 2.044 MB / 483.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.1657, allocations: 4 kB / 483.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.1659, allocations: 39.98 kB / 483.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.1661, allocations: 97.88 kB / 483.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004939/0.1711, allocations: 2.256 MB / 485.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009793/0.1809, allocations: 5.758 MB / 491.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.1851, allocations: 1.603 MB / 492.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.1876, allocations: 1.121 MB / 494 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.1877, allocations: 22.23 kB / 494 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002879/0.1906, allocations: 1.312 MB / 495.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.918e-06/0.1907, allocations: 0 / 495.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02622/0.2169, allocations: 8.576 MB / 0.4921 GB, free: 8.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.217, allocations: 98.11 kB / 0.4922 GB, free: 8.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.2177, allocations: 0.5143 MB / 0.4927 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.2179, allocations: 57.69 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.2183, allocations: 404.2 kB / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005215/0.2188, allocations: 394.4 kB / 0.4935 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/0.2193, allocations: 222.8 kB / 0.4937 GB, free: 6.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2195, allocations: 398.7 kB / 0.4941 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.2216, allocations: 0.9745 MB / 0.495 GB, free: 5.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.2238, allocations: 1.162 MB / 0.4962 GB, free: 3.887 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.2402/0.4641, allocations: 5.003 MB / 0.501 GB, free: 55.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4641, allocations: 4.281 kB / 0.501 GB, free: 55.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01279/0.4769, allocations: 4.362 MB / 0.5053 GB, free: 54.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/0.477, allocations: 62 kB / 0.5054 GB, free: 54.64 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.00205/0.4791, allocations: 1.051 MB / 0.5064 GB, free: 54.26 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated