Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 97.62 kB / 16.31 MB, free: 6.461 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.001024/0.001024, allocations: 173.8 kB / 17.19 MB, free: 6.348 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.221/1.221, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2634/0.2634, allocations: 38.08 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 12 kB / 400 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 59.15 MB / 459.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.007639/0.2464, allocations: 9.917 MB / 469.1 MB, free: 23.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.252, allocations: 3.951 MB / 473 MB, free: 20.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.2527, allocations: 60.56 kB / 473.1 MB, free: 20.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007043/0.2535, allocations: 337.8 kB / 473.4 MB, free: 20.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2553, allocations: 0.8621 MB / 474.3 MB, free: 19.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2568, allocations: 0.6236 MB / 474.9 MB, free: 19.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.258, allocations: 1.172 MB / 476 MB, free: 18.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.2598, allocations: 1.386 MB / 477.4 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.2607, allocations: 0.7199 MB / 478.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009751/0.2617, allocations: 0.9279 MB / 479.1 MB, free: 17.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.2619, allocations: 78.31 kB / 479.2 MB, free: 17.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.2628, allocations: 0.5457 MB / 479.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.2634, allocations: 0.8124 MB / 480.5 MB, free: 16.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.2637, allocations: 358 kB / 480.9 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2651, allocations: 1.922 MB / 482.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2651, allocations: 4 kB / 482.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2651, allocations: 0 / 482.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.2652, allocations: 0 / 482.8 MB, free: 15.27 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.003276/0.2684, allocations: 1.995 MB / 484.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2685, allocations: 9.281 kB / 484.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.2702, allocations: 351 kB / 485.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.272, allocations: 1.054 MB / 486.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.272, allocations: 126.9 kB / 486.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.2724, allocations: 195.8 kB / 486.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.275, allocations: 2.444 MB / 489 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.2751, allocations: 7.938 kB / 489 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.2752, allocations: 71.95 kB / 489 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004074/0.2756, allocations: 158.9 kB / 489.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.2781, allocations: 2.159 MB / 491.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009493/0.2876, allocations: 9.323 MB / 0.4889 GB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.29, allocations: 2.122 MB / 0.491 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.2901, allocations: 29.38 kB / 0.491 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.2918, allocations: 1.407 MB / 0.4924 GB, free: 10.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.416e-06/0.2918, allocations: 0 / 0.4924 GB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.01002/0.3018, allocations: 7.269 MB / 0.4995 GB, free: 2.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.302, allocations: 281.3 kB / 0.4998 GB, free: 2.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.303, allocations: 0.9196 MB / 0.5007 GB, free: 1.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.3031, allocations: 69.69 kB / 0.5007 GB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.3037, allocations: 0.7413 MB / 0.5015 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000484/0.3042, allocations: 0.659 MB / 0.5021 GB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3043, allocations: 43.94 kB / 0.5021 GB, free: 15.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3044, allocations: 418.8 kB / 0.5025 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.3058, allocations: 0.9455 MB / 0.5035 GB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.3074, allocations: 1.493 MB / 0.5049 GB, free: 12.73 MB / 382.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.007686/0.3151, allocations: 2.869 MB / 0.5077 GB, free: 9.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.3152, allocations: 8 kB / 0.5077 GB, free: 9.855 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. Error: No system for the symbolic initialization was generated