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.00137/0.00137, allocations: 174.3 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008776/0.0008779, allocations: 90.3 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1833/0.1833, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 15.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 56.34 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008474/0.1321, allocations: 7.334 MB / 486.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.1372, allocations: 2.659 MB / 489.1 MB, free: 8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.1379, allocations: 55.62 kB / 489.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.1385, allocations: 182.6 kB / 489.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1401, allocations: 0.6223 MB / 489.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1413, allocations: 467.2 kB / 490.4 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.1435, allocations: 2.05 MB / 492.4 MB, free: 4.629 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.145, allocations: 0.9336 MB / 493.4 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.146, allocations: 0.6423 MB / 494 MB, free: 3.016 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.1472, allocations: 0.8845 MB / 494.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.1474, allocations: 68 kB / 494.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1485, allocations: 0.5655 MB / 495.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.1491, allocations: 0.5534 MB / 496.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.1495, allocations: 237.1 kB / 496.3 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.1511, allocations: 1.547 MB / 497.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1511, allocations: 0 / 497.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1511, allocations: 0 / 497.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.1512, allocations: 3.938 kB / 497.9 MB, free: 15.15 MB / 346.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.004214/0.1554, allocations: 1.698 MB / 499.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1554, allocations: 8.031 kB / 499.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.1563, allocations: 174.5 kB / 499.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.1581, allocations: 0.8727 MB / 0.4889 GB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000683/0.1588, allocations: 0.5257 MB / 0.4894 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/0.1591, allocations: 107.8 kB / 0.4895 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.1634, allocations: 2.137 MB / 0.4916 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.1634, allocations: 3.938 kB / 0.4916 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.1636, allocations: 40 kB / 0.4916 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.1638, allocations: 89.94 kB / 0.4917 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.1689, allocations: 2.428 MB / 0.4941 GB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009739/0.1787, allocations: 5.844 MB / 0.4998 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.183, allocations: 1.759 MB / 0.5015 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/0.1858, allocations: 1.207 MB / 0.5027 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/0.1859, allocations: 20.98 kB / 0.5027 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003014/0.1889, allocations: 1.407 MB / 0.5041 GB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=116): time 2.996e-06/0.1889, allocations: 0 / 0.5041 GB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.02122/0.2101, allocations: 7.935 MB / 0.5118 GB, free: 4.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.2102, allocations: 102.1 kB / 0.5119 GB, free: 4.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.2108, allocations: 0.5027 MB / 0.5124 GB, free: 3.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.211, allocations: 53.7 kB / 0.5125 GB, free: 3.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.2113, allocations: 408.2 kB / 0.5128 GB, free: 3.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.2117, allocations: 398.4 kB / 0.5132 GB, free: 2.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.2117, allocations: 20 kB / 0.5132 GB, free: 2.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2119, allocations: 394.8 kB / 0.5136 GB, free: 2.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.214, allocations: 1.025 MB / 0.5146 GB, free: 1.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.2162, allocations: 1.228 MB / 0.5158 GB, free: 132 kB / 362.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.2472/0.4635, allocations: 4.375 MB / 0.5201 GB, free: 52.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4635, allocations: 1.438 kB / 0.5201 GB, free: 52.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01427/0.4778, allocations: 4.154 MB / 0.5242 GB, free: 51.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.4779, allocations: 60.98 kB / 0.5242 GB, free: 51.76 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.003395/0.4814, allocations: 1.105 MB / 0.5253 GB, free: 51.38 MB / 362.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated