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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008304/0.0008304, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009255/0.0009254, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.219/1.219, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2661/0.2661, allocations: 38.07 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002901, allocations: 12 kB / 400 MB, free: 9.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2492, allocations: 59.17 MB / 459.1 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006075/0.2553, allocations: 7.025 MB / 466.2 MB, free: 25.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.2592, allocations: 2.644 MB / 468.8 MB, free: 23.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.2597, allocations: 48.28 kB / 468.8 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.2601, allocations: 183.5 kB / 469 MB, free: 23.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.2613, allocations: 0.4981 MB / 469.5 MB, free: 23.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2623, allocations: 458.4 kB / 470 MB, free: 22.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.2634, allocations: 1.049 MB / 471 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.2645, allocations: 0.9293 MB / 472 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.2652, allocations: 0.576 MB / 472.5 MB, free: 21.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008913/0.2661, allocations: 0.6886 MB / 473.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.2663, allocations: 66.59 kB / 473.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008798/0.2672, allocations: 0.5118 MB / 473.8 MB, free: 21.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005363/0.2677, allocations: 0.5175 MB / 474.3 MB, free: 21.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.268, allocations: 238.9 kB / 474.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.2692, allocations: 1.558 MB / 476.1 MB, free: 20.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2692, allocations: 0 / 476.1 MB, free: 20.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2692, allocations: 0 / 476.1 MB, free: 20.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.2692, allocations: 1.5 kB / 476.1 MB, free: 20.29 MB / 350.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.003335/0.2725, allocations: 1.687 MB / 477.8 MB, free: 19.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2726, allocations: 18.03 kB / 477.8 MB, free: 19.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/0.2734, allocations: 187.5 kB / 478 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.2751, allocations: 0.8714 MB / 478.9 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/0.2756, allocations: 0.5211 MB / 479.4 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.2758, allocations: 104.4 kB / 479.5 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.2795, allocations: 2.128 MB / 481.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.2795, allocations: 1.219 kB / 481.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.2797, allocations: 40.81 kB / 481.7 MB, free: 16.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/0.2799, allocations: 85.23 kB / 481.7 MB, free: 16.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.2841, allocations: 2.419 MB / 484.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/0.2917, allocations: 5.846 MB / 490 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/0.2952, allocations: 1.74 MB / 491.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.2953, allocations: 13.06 kB / 491.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/0.2976, allocations: 1.405 MB / 493.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 2.725e-06/0.2976, allocations: 0 / 493.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.02635/0.324, allocations: 10.54 MB / 0.4919 GB, free: 10.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.3241, allocations: 98.09 kB / 0.492 GB, free: 10.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.3247, allocations: 0.5067 MB / 0.4925 GB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.3248, allocations: 53.64 kB / 0.4925 GB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.3251, allocations: 412.2 kB / 0.4929 GB, free: 9.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.3255, allocations: 394.4 kB / 0.4933 GB, free: 9.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.3256, allocations: 24 kB / 0.4933 GB, free: 9.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3257, allocations: 390.8 kB / 0.4937 GB, free: 8.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.3276, allocations: 1.025 MB / 0.4947 GB, free: 7.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.3296, allocations: 1.216 MB / 0.4959 GB, free: 6.629 MB / 366.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.01047/0.3401, allocations: 4.608 MB / 0.5004 GB, free: 1.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3401, allocations: 4 kB / 0.5004 GB, free: 1.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01297/0.3531, allocations: 5.164 MB / 0.5054 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.368e-05/0.3532, allocations: 61.67 kB / 0.5055 GB, free: 12.73 MB / 382.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.002124/0.3553, allocations: 1.116 MB / 0.5066 GB, free: 11.6 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated