Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.0008723/0.0008723, allocations: 95.48 kB / 16.96 MB, free: 5.953 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.000846/0.0008459, allocations: 176.3 kB / 17.84 MB, free: 5.617 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.335/1.335, allocations: 223.2 MB / 241.8 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1698/0.1698, allocations: 38.1 MB / 331.1 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 9.406 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1143, allocations: 59.18 MB / 459.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007968/0.1223, allocations: 7.343 MB / 467.2 MB, free: 28 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.1271, allocations: 2.615 MB / 469.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009514/0.1281, allocations: 51.62 kB / 469.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.1287, allocations: 182.6 kB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1304, allocations: 0.6222 MB / 470.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1316, allocations: 463.2 kB / 471.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.1338, allocations: 2.054 MB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.1355, allocations: 0.9375 MB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.1367, allocations: 0.6423 MB / 474.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.138, allocations: 0.8806 MB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1381, allocations: 68 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1392, allocations: 0.5577 MB / 476.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005611/0.1397, allocations: 0.5611 MB / 476.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.14, allocations: 237.1 kB / 477.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.1415, allocations: 1.547 MB / 478.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1415, allocations: 7.984 kB / 478.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1415, allocations: 0 / 478.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.1415, allocations: 4 kB / 478.6 MB, free: 4.547 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.003657/0.1452, allocations: 1.682 MB / 480.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1452, allocations: 8.031 kB / 480.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007912/0.146, allocations: 178.5 kB / 480.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.1477, allocations: 0.8804 MB / 481.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.1483, allocations: 0.5218 MB / 481.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.1486, allocations: 99.98 kB / 482 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.1525, allocations: 2.141 MB / 484.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1526, allocations: 7.875 kB / 484.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.1527, allocations: 40 kB / 484.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.1529, allocations: 89.94 kB / 484.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00463/0.1576, allocations: 2.424 MB / 486.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008734/0.1663, allocations: 5.844 MB / 492.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.1702, allocations: 1.745 MB / 494.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.1726, allocations: 1.219 MB / 495.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.14e-05/0.1727, allocations: 17.22 kB / 495.5 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/0.1753, allocations: 1.414 MB / 496.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.246e-06/0.1753, allocations: 0 / 496.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.0194/0.1947, allocations: 7.92 MB / 0.493 GB, free: 9.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.1948, allocations: 110 kB / 0.4931 GB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.1955, allocations: 0.5144 MB / 0.4936 GB, free: 9.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.1956, allocations: 53.69 kB / 0.4937 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.1959, allocations: 404.2 kB / 0.4941 GB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.1963, allocations: 394.4 kB / 0.4944 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.1964, allocations: 27.98 kB / 0.4945 GB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1965, allocations: 386.8 kB / 0.4948 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.1984, allocations: 1.029 MB / 0.4958 GB, free: 6.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.2004, allocations: 1.216 MB / 0.497 GB, free: 5.555 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.009797/0.2102, allocations: 4.386 MB / 0.5013 GB, free: 1.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.2102, allocations: 0 / 0.5013 GB, free: 1.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.2655/0.4757, allocations: 4.146 MB / 0.5054 GB, free: 56.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4759, allocations: 59.52 kB / 0.5054 GB, free: 56.48 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.002415/0.4783, allocations: 1.105 MB / 0.5065 GB, free: 56.43 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated