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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 179.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.343/1.343, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001655/0.001655, allocations: 114.5 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1658/0.1658, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09318, allocations: 53.22 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4431, allocations: 109.9 MB / 0.5537 GB, free: 1.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4434, allocations: 96.64 kB / 0.5538 GB, free: 1.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07938/0.5228, allocations: 28.97 MB / 0.5821 GB, free: 8.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5229, allocations: 0 / 0.5821 GB, free: 8.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.032e-05/0.5229, allocations: 20 kB / 0.5821 GB, free: 8.426 MB / 394.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.004082/0.527, allocations: 1.744 MB / 0.5838 GB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5271, allocations: 16.02 kB / 0.5838 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003087/0.5274, allocations: 178.2 kB / 0.584 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.5282, allocations: 182.5 kB / 0.5842 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.5329, allocations: 1.629 MB / 0.5858 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00069/0.5336, allocations: 0.526 MB / 0.5863 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.5339, allocations: 94.91 kB / 0.5864 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.538, allocations: 2.121 MB / 0.5884 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.5381, allocations: 4 kB / 0.5884 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.5382, allocations: 36.23 kB / 0.5885 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.5384, allocations: 84.66 kB / 0.5885 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004909/0.5433, allocations: 2.388 MB / 0.5909 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009601/0.553, allocations: 5.79 MB / 0.5965 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.557, allocations: 1.76 MB / 0.5983 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/0.5571, allocations: 18.3 kB / 0.5983 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002834/0.56, allocations: 1.439 MB / 0.5997 GB, free: 9.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 3.466e-06/0.56, allocations: 4 kB / 0.5997 GB, free: 9.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02805/0.5881, allocations: 10.74 MB / 0.6102 GB, free: 14.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.5882, allocations: 106.1 kB / 0.6103 GB, free: 14.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.5889, allocations: 442 kB / 0.6107 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.5892, allocations: 57.69 kB / 0.6107 GB, free: 14.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.5896, allocations: 400.3 kB / 0.6111 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.59, allocations: 398.3 kB / 0.6115 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.5901, allocations: 23.98 kB / 0.6115 GB, free: 13.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.5903, allocations: 398.7 kB / 0.6119 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.5923, allocations: 1.095 MB / 0.613 GB, free: 11.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.5944, allocations: 1.244 MB / 0.6142 GB, free: 10.48 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.01268/0.6071, allocations: 4.621 MB / 0.6187 GB, free: 5.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6071, allocations: 4 kB / 0.6187 GB, free: 5.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.0127/0.6198, allocations: 5.285 MB / 0.6239 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/0.6199, allocations: 65.92 kB / 0.6239 GB, free: 476 kB / 426.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.002213/0.6222, allocations: 1.163 MB / 0.6251 GB, free: 15.29 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated