Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.3 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008199/0.0008203, allocations: 100.7 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3251/0.3251, allocations: 38.12 MB / 383.6 MB, free: 40.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003419, allocations: 12 kB / 453.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4026, allocations: 59.13 MB / 0.5006 GB, free: 39.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.01209/0.4147, allocations: 7.479 MB / 0.5079 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006962/0.4218, allocations: 3.987 MB / 0.5118 GB, free: 33.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4232, allocations: 53.06 kB / 0.5118 GB, free: 33.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000831/0.4241, allocations: 154.1 kB / 0.512 GB, free: 33.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.4262, allocations: 0.5538 MB / 0.5125 GB, free: 32.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.4278, allocations: 459.8 kB / 0.513 GB, free: 32.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.4307, allocations: 2.509 MB / 0.5154 GB, free: 31.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.4325, allocations: 1.276 MB / 0.5167 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.4341, allocations: 0.6379 MB / 0.5173 GB, free: 30.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.436, allocations: 0.8968 MB / 0.5182 GB, free: 30.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.4365, allocations: 68.38 kB / 0.5182 GB, free: 30.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.4382, allocations: 0.6048 MB / 0.5188 GB, free: 30.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008674/0.4391, allocations: 0.5464 MB / 0.5194 GB, free: 30.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.4405, allocations: 0.6112 MB / 0.52 GB, free: 29.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.4429, allocations: 1.937 MB / 0.5218 GB, free: 29.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.443, allocations: 0 / 0.5218 GB, free: 29.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.443, allocations: 0 / 0.5218 GB, free: 29.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.081e-05/0.443, allocations: 3.938 kB / 0.5218 GB, free: 29.42 MB / 378.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.004017/0.4471, allocations: 1.678 MB / 0.5235 GB, free: 28.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4471, allocations: 8.719 kB / 0.5235 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.448, allocations: 180.4 kB / 0.5237 GB, free: 28.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.4496, allocations: 0.893 MB / 0.5245 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/0.45, allocations: 0.5173 MB / 0.525 GB, free: 27.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.4503, allocations: 108.5 kB / 0.5251 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/0.4539, allocations: 2.141 MB / 0.5272 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.4539, allocations: 3.938 kB / 0.5272 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.4541, allocations: 41.14 kB / 0.5273 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.4543, allocations: 89.8 kB / 0.5274 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004395/0.4587, allocations: 2.419 MB / 0.5297 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008007/0.4667, allocations: 5.853 MB / 0.5354 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.4706, allocations: 1.752 MB / 0.5372 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.4729, allocations: 1.214 MB / 0.5383 GB, free: 21.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.37e-05/0.473, allocations: 17.19 kB / 0.5384 GB, free: 21.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002856/0.4759, allocations: 1.416 MB / 0.5397 GB, free: 21.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 5.13e-06/0.4759, allocations: 3.938 kB / 0.5397 GB, free: 21.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.02774/0.5037, allocations: 10.31 MB / 0.5498 GB, free: 18.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/0.5038, allocations: 102.8 kB / 0.5499 GB, free: 18.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.5046, allocations: 0.5076 MB / 0.5504 GB, free: 17.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.505, allocations: 57.34 kB / 0.5505 GB, free: 17.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.5053, allocations: 401.5 kB / 0.5508 GB, free: 17.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.5057, allocations: 388.8 kB / 0.5512 GB, free: 17.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5058, allocations: 24.31 kB / 0.5512 GB, free: 17.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.506, allocations: 401.7 kB / 0.5516 GB, free: 16.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.508, allocations: 1.042 MB / 0.5526 GB, free: 16.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.5101, allocations: 1.233 MB / 0.5538 GB, free: 15.52 MB / 378.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.01093/0.521, allocations: 5.289 MB / 0.559 GB, free: 10.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5211, allocations: 4 kB / 0.559 GB, free: 10.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01139/0.5325, allocations: 5.191 MB / 0.5641 GB, free: 5.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.5326, allocations: 61.67 kB / 0.5641 GB, free: 5.59 MB / 378.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.002179/0.5348, allocations: 1.113 MB / 0.5652 GB, free: 4.473 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated