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.001347/0.001347, allocations: 106.1 kB / 16.62 MB, free: 6.809 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.001265/0.001265, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1711/0.1711, allocations: 38.04 MB / 329.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.61 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08901, allocations: 58.06 MB / 456.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008102/0.09715, allocations: 8.222 MB / 464.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.1014, allocations: 2.742 MB / 467.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.1022, allocations: 51.69 kB / 467.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.1036, allocations: 0.4931 MB / 468 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1049, allocations: 0.5526 MB / 468.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.1059, allocations: 471.3 kB / 469 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.108, allocations: 1.988 MB / 471 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.1092, allocations: 0.9472 MB / 471.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1103, allocations: 0.7945 MB / 472.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.1116, allocations: 0.9857 MB / 473.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.1119, allocations: 160 kB / 473.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.1129, allocations: 0.7021 MB / 474.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006464/0.1136, allocations: 0.6471 MB / 475.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000838/0.1144, allocations: 0.7003 MB / 475.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1162, allocations: 2.037 MB / 477.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1162, allocations: 0 / 477.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1162, allocations: 0 / 477.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.1162, allocations: 4 kB / 477.9 MB, free: 2.758 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.004125/0.1204, allocations: 1.889 MB / 479.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1204, allocations: 15.83 kB / 479.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.1207, allocations: 172.8 kB / 480 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/0.1214, allocations: 171.5 kB / 480.2 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.123, allocations: 0.8931 MB / 481.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/0.1236, allocations: 0.5025 MB / 481.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.1239, allocations: 108 kB / 481.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.1276, allocations: 2.04 MB / 483.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.1276, allocations: 7.844 kB / 483.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1277, allocations: 39.98 kB / 483.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/0.128, allocations: 89.94 kB / 483.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004392/0.1324, allocations: 2.252 MB / 486.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/0.1409, allocations: 5.774 MB / 491.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.1446, allocations: 1.603 MB / 493.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.1468, allocations: 1.117 MB / 494.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.1469, allocations: 18.22 kB / 494.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002506/0.1494, allocations: 1.312 MB / 495.9 MB, free: 324 kB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.577e-06/0.1494, allocations: 0 / 495.9 MB, free: 324 kB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02381/0.1733, allocations: 8.572 MB / 0.4927 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.1734, allocations: 110 kB / 0.4928 GB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.1739, allocations: 0.5144 MB / 0.4933 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.1741, allocations: 53.7 kB / 0.4933 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.1744, allocations: 408.2 kB / 0.4937 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.1747, allocations: 398.4 kB / 0.4941 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.1751, allocations: 218.8 kB / 0.4943 GB, free: 5.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1753, allocations: 398.7 kB / 0.4947 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.177, allocations: 0.9785 MB / 0.4957 GB, free: 4.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.1789, allocations: 1.158 MB / 0.4968 GB, free: 3.328 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.1729/0.3518, allocations: 5.015 MB / 0.5017 GB, free: 55.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3518, allocations: 2.25 kB / 0.5017 GB, free: 55.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01165/0.3635, allocations: 4.357 MB / 0.5059 GB, free: 54.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/0.3636, allocations: 63.14 kB / 0.506 GB, free: 54.63 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.002053/0.3656, allocations: 1.056 MB / 0.507 GB, free: 54.25 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated