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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_latest_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.001108/0.001108, allocations: 106.6 kB / 16.92 MB, free: 6.145 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.001112/0.001112, allocations: 187.4 kB / 17.85 MB, free: 5.285 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: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1753/0.1753, allocations: 38.04 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 68.31 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.0989, allocations: 58.06 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008281/0.1072, allocations: 6.985 MB / 464 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.1114, allocations: 2.376 MB / 466.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.1122, allocations: 27.88 kB / 466.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.114, allocations: 0.521 MB / 466.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.1156, allocations: 0.595 MB / 467.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.117, allocations: 0.503 MB / 468 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.119, allocations: 1.988 MB / 470 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.1203, allocations: 0.9238 MB / 470.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.1215, allocations: 0.7868 MB / 471.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.123, allocations: 0.935 MB / 472.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.1233, allocations: 160 kB / 472.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.1247, allocations: 0.6982 MB / 473.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.1254, allocations: 0.6431 MB / 474.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.1265, allocations: 0.6885 MB / 474.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.1286, allocations: 2.03 MB / 476.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1286, allocations: 4 kB / 476.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1286, allocations: 0 / 476.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.253e-05/0.1287, allocations: 7.875 kB / 476.8 MB, free: 4.012 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.004752/0.1334, allocations: 1.873 MB / 478.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1335, allocations: 11.89 kB / 478.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002523/0.1337, allocations: 176.7 kB / 478.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.1346, allocations: 179.5 kB / 479.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.1364, allocations: 0.8891 MB / 480 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/0.137, allocations: 0.5065 MB / 480.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.1372, allocations: 104 kB / 480.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.1412, allocations: 2.047 MB / 482.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.1412, allocations: 3.938 kB / 482.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.1414, allocations: 32 kB / 482.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.1416, allocations: 101.9 kB / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004941/0.1466, allocations: 2.248 MB / 485 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00901/0.1556, allocations: 5.766 MB / 490.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/0.1601, allocations: 1.611 MB / 492.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.1626, allocations: 1.117 MB / 493.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-05/0.1627, allocations: 14.25 kB / 493.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002719/0.1654, allocations: 1.324 MB / 494.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.667e-06/0.1654, allocations: 0 / 494.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02702/0.1925, allocations: 8.572 MB / 0.4916 GB, free: 8.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.1926, allocations: 98.09 kB / 0.4917 GB, free: 8.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.1934, allocations: 0.5106 MB / 0.4922 GB, free: 8.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.1936, allocations: 61.62 kB / 0.4923 GB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.194, allocations: 404.1 kB / 0.4926 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/0.1944, allocations: 394.5 kB / 0.493 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/0.1948, allocations: 218.8 kB / 0.4932 GB, free: 7.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.195, allocations: 390.7 kB / 0.4936 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.197, allocations: 0.9824 MB / 0.4946 GB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.1991, allocations: 1.158 MB / 0.4957 GB, free: 4.594 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.1795/0.3786, allocations: 5.019 MB / 0.5006 GB, free: 56.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3786, allocations: 4.75 kB / 0.5006 GB, free: 56.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01409/0.3927, allocations: 4.357 MB / 0.5049 GB, free: 55.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.3929, allocations: 61.2 kB / 0.5049 GB, free: 55.8 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.002223/0.3951, allocations: 1.049 MB / 0.5059 GB, free: 55.44 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated