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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_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.001483/0.001483, allocations: 106.2 kB / 16.62 MB, free: 6.762 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.00171/0.00171, allocations: 193.8 kB / 17.55 MB, free: 5.93 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.252/1.252, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1772/0.1772, allocations: 38.02 MB / 329.4 MB, free: 9.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 58.06 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.0951, allocations: 58.07 MB / 456.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01146/0.1066, allocations: 8.23 MB / 464.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005337/0.112, allocations: 2.738 MB / 467.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.113, allocations: 55.62 kB / 467.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.1148, allocations: 496 kB / 468 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.1166, allocations: 0.5526 MB / 468.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.1181, allocations: 471.3 kB / 469 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.121, allocations: 1.992 MB / 471 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.1226, allocations: 0.9433 MB / 471.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.1242, allocations: 0.7945 MB / 472.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.1258, allocations: 0.9896 MB / 473.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.1263, allocations: 156 kB / 473.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.128, allocations: 0.6943 MB / 474.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009448/0.1289, allocations: 0.6509 MB / 475.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.1306, allocations: 0.7003 MB / 475.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.1338, allocations: 2.045 MB / 477.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1339, allocations: 4 kB / 477.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1339, allocations: 0 / 477.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.684e-05/0.1339, allocations: 0 / 477.9 MB, free: 2.77 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.006124/0.1401, allocations: 1.881 MB / 479.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1401, allocations: 19.89 kB / 479.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003557/0.1405, allocations: 176.7 kB / 480 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/0.1414, allocations: 167.6 kB / 480.2 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.1433, allocations: 0.8932 MB / 481.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006477/0.144, allocations: 0.5025 MB / 481.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.1443, allocations: 104 kB / 481.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.1488, allocations: 2.044 MB / 483.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.1488, allocations: 4 kB / 483.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.149, allocations: 35.98 kB / 483.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.1492, allocations: 97.92 kB / 483.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/0.1544, allocations: 2.252 MB / 486.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.1652, allocations: 5.777 MB / 491.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.1693, allocations: 1.599 MB / 493.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/0.1718, allocations: 1.128 MB / 494.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-05/0.1719, allocations: 10.25 kB / 494.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002894/0.1748, allocations: 1.312 MB / 495.9 MB, free: 340 kB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 4.538e-06/0.1748, allocations: 0 / 495.9 MB, free: 340 kB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.02644/0.2013, allocations: 8.587 MB / 0.4927 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.2014, allocations: 102.1 kB / 0.4928 GB, free: 7.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.202, allocations: 0.5105 MB / 0.4933 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.2022, allocations: 57.69 kB / 0.4933 GB, free: 6.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.2026, allocations: 408.2 kB / 0.4937 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.203, allocations: 394.4 kB / 0.4941 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.2034, allocations: 214.8 kB / 0.4943 GB, free: 5.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2036, allocations: 398.7 kB / 0.4947 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.2055, allocations: 0.9745 MB / 0.4956 GB, free: 4.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.2077, allocations: 1.162 MB / 0.4968 GB, free: 3.344 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.1838/0.3915, allocations: 5.02 MB / 0.5017 GB, free: 55.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3915, allocations: 3.5 kB / 0.5017 GB, free: 55.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01192/0.4035, allocations: 4.355 MB / 0.5059 GB, free: 54.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.4036, allocations: 60.56 kB / 0.506 GB, free: 54.75 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.001991/0.4056, allocations: 1.049 MB / 0.507 GB, free: 54.38 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated