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.001223/0.001223, allocations: 109.8 kB / 16.51 MB, free: 6.707 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.001205/0.001205, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.268/1.268, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1617/0.1617, allocations: 38.04 MB / 329.3 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 58.06 kB / 398.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09137, allocations: 58.06 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00841/0.09982, allocations: 8.23 MB / 464.5 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.1043, allocations: 2.778 MB / 467.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.1049, allocations: 55.62 kB / 467.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1062, allocations: 0.4941 MB / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1072, allocations: 0.5486 MB / 468.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.1081, allocations: 459.4 kB / 468.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.11, allocations: 2.491 MB / 471.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/0.111, allocations: 0.7798 MB / 472.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.1118, allocations: 0.6734 MB / 472.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1129, allocations: 0.935 MB / 473.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.113, allocations: 84 kB / 473.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.114, allocations: 0.624 MB / 474.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.1146, allocations: 0.5806 MB / 475 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.1152, allocations: 0.6183 MB / 475.6 MB, free: 5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.1168, allocations: 1.979 MB / 477.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1168, allocations: 0 / 477.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1168, allocations: 0 / 477.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1168, allocations: 0 / 477.6 MB, free: 3.016 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.003827/0.1206, allocations: 1.893 MB / 479.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1207, allocations: 12.03 kB / 479.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.1209, allocations: 176.7 kB / 479.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007766/0.1217, allocations: 171.5 kB / 479.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.1233, allocations: 0.8775 MB / 480.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005521/0.1238, allocations: 0.518 MB / 481.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.1241, allocations: 99.98 kB / 481.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.1278, allocations: 2.047 MB / 483.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1278, allocations: 7.906 kB / 483.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.1279, allocations: 36 kB / 483.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/0.1282, allocations: 93.94 kB / 483.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.1325, allocations: 2.252 MB / 485.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008445/0.141, allocations: 5.762 MB / 491.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.1448, allocations: 1.608 MB / 493.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.1472, allocations: 1.12 MB / 494.2 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.1473, allocations: 21.23 kB / 494.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002602/0.1499, allocations: 1.308 MB / 495.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.136e-06/0.1499, allocations: 4 kB / 495.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02452/0.1744, allocations: 8.575 MB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.1745, allocations: 106.1 kB / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.1752, allocations: 0.5144 MB / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.1754, allocations: 57.64 kB / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.1757, allocations: 404.2 kB / 0.4934 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.1762, allocations: 394.4 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/0.1766, allocations: 218.8 kB / 0.494 GB, free: 6.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1768, allocations: 394.8 kB / 0.4943 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.1786, allocations: 0.9745 MB / 0.4953 GB, free: 4.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.1806, allocations: 1.166 MB / 0.4964 GB, free: 3.582 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.1701/0.3506, allocations: 5.005 MB / 0.5013 GB, free: 55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3507, allocations: 1.188 kB / 0.5013 GB, free: 55 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0117/0.3624, allocations: 4.359 MB / 0.5056 GB, free: 54.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.3625, allocations: 61.53 kB / 0.5056 GB, free: 54.38 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.002002/0.3645, allocations: 1.052 MB / 0.5067 GB, free: 54 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated