Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.0008566/0.0008567, allocations: 177.9 kB / 16.71 MB, free: 5.09 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.207/1.207, allocations: 225.7 MB / 243.2 MB, free: 10.2 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.0007396/0.0007396, allocations: 96.34 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2725/0.2725, allocations: 38.18 MB / 383.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 12.22 kB / 453.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2605, allocations: 59.13 MB / 0.5007 GB, free: 39.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.00652/0.2671, allocations: 7.483 MB / 0.508 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003785/0.2709, allocations: 3.982 MB / 0.5119 GB, free: 33.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.2713, allocations: 48.38 kB / 0.5119 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.2717, allocations: 153.5 kB / 0.5121 GB, free: 33.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000957/0.2727, allocations: 0.5536 MB / 0.5126 GB, free: 32.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.2735, allocations: 460.3 kB / 0.513 GB, free: 32.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.2751, allocations: 2.499 MB / 0.5155 GB, free: 31.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.2762, allocations: 1.286 MB / 0.5167 GB, free: 31.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.2767, allocations: 0.6475 MB / 0.5174 GB, free: 30.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.2776, allocations: 0.8793 MB / 0.5182 GB, free: 30.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.2778, allocations: 67.28 kB / 0.5183 GB, free: 30.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.2787, allocations: 0.6164 MB / 0.5189 GB, free: 30.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.2791, allocations: 0.5361 MB / 0.5194 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.2795, allocations: 0.6231 MB / 0.52 GB, free: 29.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2807, allocations: 1.929 MB / 0.5219 GB, free: 29.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2807, allocations: 0 / 0.5219 GB, free: 29.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2807, allocations: 2.938 kB / 0.5219 GB, free: 29.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.2808, allocations: 0 / 0.5219 GB, free: 29.43 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.002917/0.2837, allocations: 1.674 MB / 0.5236 GB, free: 28.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.2837, allocations: 8.719 kB / 0.5236 GB, free: 28.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006309/0.2844, allocations: 188.5 kB / 0.5237 GB, free: 28.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.2857, allocations: 0.89 MB / 0.5246 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/0.2861, allocations: 0.5104 MB / 0.5251 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.2864, allocations: 115.8 kB / 0.5252 GB, free: 27.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.2895, allocations: 2.134 MB / 0.5273 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2896, allocations: 3.141 kB / 0.5273 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.2897, allocations: 41.48 kB / 0.5273 GB, free: 26.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.2899, allocations: 94.78 kB / 0.5274 GB, free: 26.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.2938, allocations: 2.419 MB / 0.5298 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006691/0.3005, allocations: 5.855 MB / 0.5355 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.304, allocations: 1.74 MB / 0.5372 GB, free: 22.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.3061, allocations: 1.22 MB / 0.5384 GB, free: 21.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-05/0.3062, allocations: 19.53 kB / 0.5384 GB, free: 21.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002386/0.3086, allocations: 1.407 MB / 0.5398 GB, free: 21.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.015e-06/0.3086, allocations: 3.938 kB / 0.5398 GB, free: 21.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.02494/0.3336, allocations: 10.31 MB / 0.5499 GB, free: 18.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3337, allocations: 106.5 kB / 0.55 GB, free: 18.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.3342, allocations: 0.5069 MB / 0.5505 GB, free: 17.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.3343, allocations: 56.59 kB / 0.5505 GB, free: 17.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.3345, allocations: 407.2 kB / 0.5509 GB, free: 17.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.3347, allocations: 383.4 kB / 0.5513 GB, free: 17.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.3348, allocations: 21.03 kB / 0.5513 GB, free: 17.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.3349, allocations: 394.3 kB / 0.5517 GB, free: 16.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.3366, allocations: 1.049 MB / 0.5527 GB, free: 16.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.3383, allocations: 1.228 MB / 0.5539 GB, free: 15.67 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.009985/0.3483, allocations: 5.304 MB / 0.5591 GB, free: 10.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3483, allocations: 0 / 0.5591 GB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01077/0.3591, allocations: 5.187 MB / 0.5641 GB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.3592, allocations: 61.67 kB / 0.5642 GB, free: 5.668 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.001582/0.3608, allocations: 1.117 MB / 0.5653 GB, free: 4.547 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated