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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 97.67 kB / 16.3 MB, free: 5.656 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.001086/0.001086, allocations: 183.2 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1842/0.1842, allocations: 38.04 MB / 309.7 MB, free: 6.129 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000592/0.0005921, allocations: 12 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2921, allocations: 56.33 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006454/0.2986, allocations: 7.03 MB / 439.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004992/0.3036, allocations: 2.675 MB / 442.5 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006264/0.3043, allocations: 47.69 kB / 442.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.3049, allocations: 182.9 kB / 442.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.306, allocations: 0.5062 MB / 443.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.307, allocations: 447.2 kB / 443.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009072/0.3079, allocations: 1.049 MB / 444.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.309, allocations: 0.9375 MB / 445.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006087/0.3096, allocations: 0.5765 MB / 446.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.3103, allocations: 0.6858 MB / 446.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.3105, allocations: 68 kB / 447 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.3113, allocations: 0.5188 MB / 447.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.3117, allocations: 0.5184 MB / 448 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3119, allocations: 241.1 kB / 448.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.313, allocations: 1.551 MB / 449.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.313, allocations: 0 / 449.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.313, allocations: 0 / 449.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.313, allocations: 3.938 kB / 449.8 MB, free: 1.746 MB / 318.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.003627/0.3167, allocations: 1.69 MB / 451.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.586e-05/0.3168, allocations: 8.031 kB / 451.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.3177, allocations: 182.5 kB / 451.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.3197, allocations: 0.8804 MB / 452.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006471/0.3204, allocations: 0.514 MB / 453.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.3206, allocations: 111.8 kB / 453.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.3248, allocations: 2.126 MB / 455.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.3248, allocations: 11.92 kB / 455.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.325, allocations: 35.98 kB / 455.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.3252, allocations: 89.95 kB / 455.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004941/0.3301, allocations: 2.408 MB / 457.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009629/0.3398, allocations: 5.851 MB / 463.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.3439, allocations: 1.751 MB / 465.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.344, allocations: 10.31 kB / 465.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002777/0.3468, allocations: 1.406 MB / 466.9 MB, free: 244 kB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.907e-06/0.3468, allocations: 0 / 466.9 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=118): time 0.02836/0.3752, allocations: 10.54 MB / 477.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.3753, allocations: 102.1 kB / 477.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.376, allocations: 0.5144 MB / 478 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002044/0.3762, allocations: 49.7 kB / 478.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.3766, allocations: 408.2 kB / 478.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.3769, allocations: 394.4 kB / 478.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.377, allocations: 24 kB / 478.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3772, allocations: 390.7 kB / 479.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.3791, allocations: 1.033 MB / 480.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.3811, allocations: 1.209 MB / 481.5 MB, free: 1.344 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed 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.01089/0.392, allocations: 4.613 MB / 486.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.3921, allocations: 8 kB / 486.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01332/0.4054, allocations: 5.164 MB / 491.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.4056, allocations: 65.61 kB / 491.4 MB, free: 7.438 MB / 366.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.002616/0.4082, allocations: 1.101 MB / 492.5 MB, free: 6.328 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated