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/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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 112.7 kB / 17.07 MB, free: 5.992 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.001193/0.001193, allocations: 196 kB / 18.01 MB, free: 5.074 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1787/0.1787, allocations: 38.04 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.88 kB / 457.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3411, allocations: 58.05 MB / 0.5036 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007689/0.3488, allocations: 6.994 MB / 0.5105 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.3529, allocations: 2.369 MB / 0.5128 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00054/0.3534, allocations: 31.44 kB / 0.5128 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3548, allocations: 0.5167 MB / 0.5133 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.3563, allocations: 0.6089 MB / 0.5139 GB, free: 392 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3577, allocations: 0.5108 MB / 0.5144 GB, free: 140 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.3604, allocations: 1.995 MB / 0.5163 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.3619, allocations: 0.9122 MB / 0.5172 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.3641, allocations: 0.7993 MB / 0.518 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.3661, allocations: 0.9473 MB / 0.5189 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.3664, allocations: 158.5 kB / 0.5191 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3679, allocations: 0.6543 MB / 0.5197 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009846/0.3689, allocations: 0.6429 MB / 0.5204 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.37, allocations: 0.6913 MB / 0.521 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.3731, allocations: 2.068 MB / 0.5231 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3732, allocations: 0 / 0.5231 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3732, allocations: 1.375 kB / 0.5231 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.333e-05/0.3732, allocations: 0 / 0.5231 GB, free: 12.68 MB / 398.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.005089/0.3783, allocations: 1.914 MB / 0.5249 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3784, allocations: 13.58 kB / 0.5249 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/0.3787, allocations: 174 kB / 0.5251 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/0.3796, allocations: 179.8 kB / 0.5253 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.3818, allocations: 0.939 MB / 0.5262 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/0.3825, allocations: 0.5063 MB / 0.5267 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.3828, allocations: 99.39 kB / 0.5268 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.3868, allocations: 2.047 MB / 0.5288 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.3868, allocations: 9.266 kB / 0.5288 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.387, allocations: 42.59 kB / 0.5288 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002246/0.3872, allocations: 87.88 kB / 0.5289 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.3921, allocations: 2.252 MB / 0.5311 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009794/0.402, allocations: 5.761 MB / 0.5367 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004092/0.4061, allocations: 1.612 MB / 0.5383 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/0.4088, allocations: 1.116 MB / 0.5394 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4089, allocations: 19.97 kB / 0.5394 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002895/0.4118, allocations: 1.306 MB / 0.5407 GB, free: 1.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 4.007e-06/0.4118, allocations: 3.938 kB / 0.5407 GB, free: 1.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02764/0.4395, allocations: 8.607 MB / 0.5491 GB, free: 9.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.4396, allocations: 106.1 kB / 0.5492 GB, free: 9.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.4402, allocations: 0.5105 MB / 0.5497 GB, free: 8.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.4405, allocations: 57.69 kB / 0.5498 GB, free: 8.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.4408, allocations: 417.2 kB / 0.5502 GB, free: 8.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.4412, allocations: 408.5 kB / 0.5505 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.4416, allocations: 222.9 kB / 0.5508 GB, free: 7.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4417, allocations: 398.7 kB / 0.5511 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.4437, allocations: 0.9706 MB / 0.5521 GB, free: 6.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.4457, allocations: 1.166 MB / 0.5532 GB, free: 5.203 MB / 414.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.01191/0.4576, allocations: 5.01 MB / 0.5581 GB, free: 120 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4577, allocations: 0 / 0.5581 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01283/0.4705, allocations: 4.367 MB / 0.5624 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.922e-05/0.4706, allocations: 57.67 kB / 0.5624 GB, free: 11.67 MB / 430.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.002264/0.4729, allocations: 1.05 MB / 0.5635 GB, free: 10.61 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated