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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.002127/0.002127, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001083/0.001083, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1766/0.1766, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.406e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 56.32 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.556, allocations: 114.8 MB / 0.5751 GB, free: 4.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5563, allocations: 93.69 kB / 0.5752 GB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08317/0.6395, allocations: 28.95 MB / 0.6035 GB, free: 11.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6395, allocations: 0 / 0.6035 GB, free: 11.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-05/0.6396, allocations: 24 kB / 0.6035 GB, free: 10.98 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.00416/0.6438, allocations: 1.65 MB / 0.6051 GB, free: 9.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6438, allocations: 12.03 kB / 0.6051 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/0.6442, allocations: 169.1 kB / 0.6053 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.6451, allocations: 178.6 kB / 0.6055 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.6498, allocations: 1.625 MB / 0.607 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/0.6505, allocations: 0.5235 MB / 0.6075 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.6508, allocations: 91 kB / 0.6076 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.6538, allocations: 1.787 MB / 0.6094 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.6538, allocations: 3.984 kB / 0.6094 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.654, allocations: 40.34 kB / 0.6094 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.6542, allocations: 88.64 kB / 0.6095 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.657, allocations: 1.816 MB / 0.6113 GB, free: 4.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009362/0.6664, allocations: 5.786 MB / 0.6169 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.6683, allocations: 1.239 MB / 0.6181 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.6695, allocations: 0.9049 MB / 0.619 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.6697, allocations: 27.56 kB / 0.6191 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.6713, allocations: 1.103 MB / 0.6201 GB, free: 13.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 2.725e-06/0.6713, allocations: 0 / 0.6201 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.01385/0.6852, allocations: 5.871 MB / 0.6259 GB, free: 7.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.6854, allocations: 106.1 kB / 0.626 GB, free: 7.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.6861, allocations: 444.5 kB / 0.6264 GB, free: 6.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.6865, allocations: 57.69 kB / 0.6264 GB, free: 6.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.6868, allocations: 388.5 kB / 0.6268 GB, free: 6.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.6873, allocations: 414.1 kB / 0.6272 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.6874, allocations: 20 kB / 0.6272 GB, free: 6.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.6876, allocations: 394.7 kB / 0.6276 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.6889, allocations: 0.8535 MB / 0.6284 GB, free: 4.777 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.6903, allocations: 1.014 MB / 0.6294 GB, free: 3.715 MB / 426.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.0123/0.7026, allocations: 4.252 MB / 0.6336 GB, free: 15.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.7026, allocations: 0 / 0.6336 GB, free: 15.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.012/0.7146, allocations: 4.594 MB / 0.6381 GB, free: 10.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.7148, allocations: 61.67 kB / 0.6381 GB, free: 10.77 MB / 442.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singulare and cannot handled because number of unassigned equations is larger than number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001825/0.7166, allocations: 0.9287 MB / 0.639 GB, free: 9.832 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated