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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 112.8 kB / 17.06 MB, free: 6.004 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.001111/0.001111, allocations: 200 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1835/0.1835, allocations: 37.99 MB / 309.2 MB, free: 5.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 431.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 55.24 MB / 486.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008206/0.1113, allocations: 6.987 MB / 493.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.1154, allocations: 2.408 MB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.116, allocations: 31.81 kB / 496 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.1176, allocations: 0.5249 MB / 496.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1191, allocations: 0.595 MB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1203, allocations: 0.503 MB / 497.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.1227, allocations: 1.996 MB / 499.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.1241, allocations: 0.916 MB / 0.4888 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.1255, allocations: 0.8062 MB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.127, allocations: 0.9428 MB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004257/0.1275, allocations: 156 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.1288, allocations: 0.6593 MB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.1295, allocations: 0.6431 MB / 0.492 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.1302, allocations: 0.6885 MB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.1321, allocations: 2.061 MB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1321, allocations: 7.984 kB / 0.4947 GB, free: 4.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1321, allocations: 0 / 0.4947 GB, free: 4.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.1322, allocations: 0 / 0.4947 GB, free: 4.82 MB / 382.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.004011/0.1362, allocations: 1.885 MB / 0.4965 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1362, allocations: 11.89 kB / 0.4965 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.1364, allocations: 168.8 kB / 0.4967 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.1372, allocations: 183.4 kB / 0.4968 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.139, allocations: 0.9243 MB / 0.4977 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/0.1396, allocations: 0.5025 MB / 0.4982 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.1398, allocations: 115.8 kB / 0.4983 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.1436, allocations: 2.047 MB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1436, allocations: 0 / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.1438, allocations: 35.98 kB / 0.5004 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/0.144, allocations: 93.94 kB / 0.5005 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.1486, allocations: 2.252 MB / 0.5027 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008858/0.1574, allocations: 5.742 MB / 0.5083 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.1613, allocations: 1.612 MB / 0.5099 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.1636, allocations: 1.113 MB / 0.5109 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.1636, allocations: 21.14 kB / 0.511 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002594/0.1663, allocations: 1.316 MB / 0.5122 GB, free: 2.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.196e-06/0.1663, allocations: 0 / 0.5122 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02502/0.1913, allocations: 8.579 MB / 0.5206 GB, free: 9.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.1914, allocations: 106.1 kB / 0.5207 GB, free: 9.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.1921, allocations: 0.5105 MB / 0.5212 GB, free: 9.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.1922, allocations: 53.69 kB / 0.5213 GB, free: 8.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.1925, allocations: 408.1 kB / 0.5217 GB, free: 8.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.1928, allocations: 386.5 kB / 0.522 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.1932, allocations: 226.8 kB / 0.5222 GB, free: 7.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1934, allocations: 394.7 kB / 0.5226 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.1951, allocations: 0.9745 MB / 0.5236 GB, free: 6.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.197, allocations: 1.162 MB / 0.5247 GB, free: 5.379 MB / 414.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.01107/0.2081, allocations: 5.018 MB / 0.5296 GB, free: 296 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2081, allocations: 0 / 0.5296 GB, free: 296 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.2077/0.4158, allocations: 4.354 MB / 0.5339 GB, free: 51.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.416, allocations: 61.89 kB / 0.5339 GB, free: 51.56 MB / 414.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.002153/0.4181, allocations: 1.051 MB / 0.5349 GB, free: 51.39 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated