Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002065/0.002065, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2712/0.2712, allocations: 38.07 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004769, allocations: 16 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5162/0.6303, allocations: 114.9 MB / 0.5801 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004199/0.6308, allocations: 98.39 kB / 0.5802 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1347/0.7654, allocations: 28.97 MB / 0.6085 GB, free: 7.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7655, allocations: 0 / 0.6085 GB, free: 7.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.812e-05/0.7656, allocations: 24 kB / 0.6085 GB, free: 7.562 MB / 410.7 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.007535/0.7731, allocations: 1.742 MB / 0.6102 GB, free: 5.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7732, allocations: 12.03 kB / 0.6102 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007962/0.774, allocations: 166.6 kB / 0.6104 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.7754, allocations: 185.7 kB / 0.6105 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008267/0.7837, allocations: 1.629 MB / 0.6121 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00124/0.785, allocations: 0.5168 MB / 0.6126 GB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006155/0.7856, allocations: 101.3 kB / 0.6127 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007974/0.7936, allocations: 2.121 MB / 0.6148 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.7937, allocations: 4 kB / 0.6148 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.794, allocations: 39.3 kB / 0.6148 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002628/0.7942, allocations: 81.77 kB / 0.6149 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.8044, allocations: 2.386 MB / 0.6172 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.8212, allocations: 5.8 MB / 0.6229 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008152/0.8294, allocations: 1.754 MB / 0.6246 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.8297, allocations: 26.23 kB / 0.6246 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005669/0.8353, allocations: 1.431 MB / 0.626 GB, free: 8.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.19e-06/0.8354, allocations: 0 / 0.626 GB, free: 8.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.05747/0.8929, allocations: 10.74 MB / 0.6365 GB, free: 14.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.893, allocations: 106.1 kB / 0.6366 GB, free: 14.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.894, allocations: 442 kB / 0.6371 GB, free: 13.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004257/0.8944, allocations: 57.69 kB / 0.6371 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.8949, allocations: 426.8 kB / 0.6375 GB, free: 13.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006411/0.8956, allocations: 406.3 kB / 0.6379 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.8957, allocations: 23.98 kB / 0.6379 GB, free: 12.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.896, allocations: 362.8 kB / 0.6383 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/0.9, allocations: 1.091 MB / 0.6393 GB, free: 11.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004236/0.9043, allocations: 1.252 MB / 0.6406 GB, free: 10.2 MB / 442.7 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.02596/0.9303, allocations: 4.613 MB / 0.6451 GB, free: 5.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.9303, allocations: 4 kB / 0.6451 GB, free: 5.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.02766/0.958, allocations: 5.246 MB / 0.6502 GB, free: 308 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.9581, allocations: 61.67 kB / 0.6503 GB, free: 240 kB / 442.7 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.004499/0.9626, allocations: 1.167 MB / 0.6514 GB, free: 15.06 MB / 458.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated