Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG.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.DoubleLineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6666,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.DoubleLineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6666,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.DoubleLineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 93.08 kB / 16.3 MB, free: 6.133 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.0008471/0.0008471, allocations: 179 kB / 17.2 MB, free: 6.016 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.211/1.211, allocations: 223.2 MB / 241.1 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.154/0.154, allocations: 38.09 MB / 330.3 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 8 kB / 400 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09255, allocations: 59.16 MB / 459.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG): time 0.01252/0.1051, allocations: 13.33 MB / 472.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1176, allocations: 8.284 MB / 480.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.1195, allocations: 79.44 kB / 480.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01921/0.1387, allocations: 12.74 MB / 493.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.1426, allocations: 1.137 MB / 494.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.1457, allocations: 1.044 MB / 495.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.1492, allocations: 1.855 MB / 497.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.1523, allocations: 1.778 MB / 499.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.1543, allocations: 1.121 MB / 0.4888 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.1566, allocations: 1.48 MB / 0.4902 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006273/0.1572, allocations: 120 kB / 0.4903 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.1592, allocations: 0.8113 MB / 0.4911 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.1607, allocations: 1.204 MB / 0.4923 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009536/0.1617, allocations: 0.5276 MB / 0.4928 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.1657, allocations: 3.281 MB / 0.496 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1657, allocations: 0 / 0.496 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1657, allocations: 0 / 0.496 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001761/0.1659, allocations: 0 / 0.496 GB, free: 6.484 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 613 * Number of variables: 613 Notification: Performance of Generate backend data structure: time 0.006672/0.1726, allocations: 2.922 MB / 0.4989 GB, free: 3.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1726, allocations: 8.031 kB / 0.4989 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/0.1754, allocations: 0.5389 MB / 0.4994 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.1794, allocations: 1.872 MB / 0.5012 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.1796, allocations: 155.9 kB / 0.5014 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/0.1805, allocations: 415.5 kB / 0.5018 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1833/0.3639, allocations: 3.601 MB / 0.5053 GB, free: 54.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.364, allocations: 11.05 kB / 0.5053 GB, free: 54.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.3642, allocations: 91.2 kB / 0.5054 GB, free: 54.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001305/0.3655, allocations: 287.9 kB / 0.5057 GB, free: 54.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/0.3703, allocations: 3.175 MB / 0.5088 GB, free: 53.2 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.3882, allocations: 13.23 MB / 0.5217 GB, free: 45.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/0.3917, allocations: 2.97 MB / 0.5246 GB, free: 43.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3919, allocations: 36.72 kB / 0.5246 GB, free: 43.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002563/0.3944, allocations: 2.166 MB / 0.5267 GB, free: 42.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=285): time 3.937e-06/0.3945, allocations: 3.938 kB / 0.5267 GB, free: 42.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=300): time 0.01996/0.4144, allocations: 13.66 MB / 0.5401 GB, free: 30.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.4146, allocations: 414.8 kB / 0.5405 GB, free: 29.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.4162, allocations: 1.536 MB / 0.542 GB, free: 28.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/0.4164, allocations: 87.09 kB / 0.5421 GB, free: 28.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.4171, allocations: 1.05 MB / 0.5431 GB, free: 27.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006826/0.4177, allocations: 1.011 MB / 0.5441 GB, free: 26.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4179, allocations: 68 kB / 0.5441 GB, free: 26.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4181, allocations: 465.7 kB / 0.5446 GB, free: 25.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.4202, allocations: 1.787 MB / 0.5463 GB, free: 23.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.4226, allocations: 2.487 MB / 0.5487 GB, free: 21.05 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.01401/0.4366, allocations: 5.431 MB / 0.5541 GB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.4366, allocations: 8 kB / 0.5541 GB, free: 15.6 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