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.001116/0.001116, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.224/1.224, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008426/0.0008426, allocations: 91.16 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1583/0.1583, allocations: 38.07 MB / 357.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8 kB / 424.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2314, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.3654, allocations: 114.9 MB / 0.5813 GB, free: 3.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.3656, allocations: 99.95 kB / 0.5814 GB, free: 3.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07734/0.4429, allocations: 28.96 MB / 0.6097 GB, free: 6.133 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.267e-06/0.443, allocations: 3.984 kB / 0.6097 GB, free: 6.129 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.153e-05/0.443, allocations: 27.94 kB / 0.6097 GB, free: 6.102 MB / 442.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.003879/0.4469, allocations: 1.743 MB / 0.6114 GB, free: 4.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.447, allocations: 15.97 kB / 0.6114 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.4473, allocations: 172.6 kB / 0.6116 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.448, allocations: 182.5 kB / 0.6118 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.4525, allocations: 1.633 MB / 0.6134 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006445/0.4532, allocations: 0.5179 MB / 0.6139 GB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.4535, allocations: 99.89 kB / 0.614 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/0.4581, allocations: 2.123 MB / 0.6161 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.4582, allocations: 4 kB / 0.6161 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.4583, allocations: 32 kB / 0.6161 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.4586, allocations: 85.94 kB / 0.6162 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004743/0.4633, allocations: 2.385 MB / 0.6185 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00886/0.4722, allocations: 5.795 MB / 0.6242 GB, free: 6.906 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.4761, allocations: 1.756 MB / 0.6259 GB, free: 5.137 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/0.4762, allocations: 18.27 kB / 0.6259 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002673/0.4788, allocations: 1.441 MB / 0.6273 GB, free: 3.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 3.426e-06/0.4789, allocations: 4 kB / 0.6273 GB, free: 3.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02649/0.5054, allocations: 10.73 MB / 0.6378 GB, free: 8.754 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.5055, allocations: 102 kB / 0.6379 GB, free: 8.637 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.5061, allocations: 446 kB / 0.6383 GB, free: 8.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.5065, allocations: 57.69 kB / 0.6384 GB, free: 8.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.5068, allocations: 396.4 kB / 0.6387 GB, free: 7.738 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.5072, allocations: 402.3 kB / 0.6391 GB, free: 7.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.5073, allocations: 20 kB / 0.6391 GB, free: 7.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5075, allocations: 398.7 kB / 0.6395 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.5094, allocations: 1.088 MB / 0.6406 GB, free: 5.832 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.5114, allocations: 1.256 MB / 0.6418 GB, free: 4.531 MB / 474.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.1908/0.7022, allocations: 4.622 MB / 0.6463 GB, free: 133.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7023, allocations: 5.312 kB / 0.6463 GB, free: 133.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.0137/0.716, allocations: 5.274 MB / 0.6515 GB, free: 133.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/0.7161, allocations: 62.08 kB / 0.6515 GB, free: 133.4 MB / 474.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.002278/0.7184, allocations: 1.171 MB / 0.6527 GB, free: 133.4 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated