Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.DoubleRXlineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008119, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0008333/0.0008333, allocations: 183.3 kB / 17.2 MB, free: 6.34 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.207/1.207, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.265/0.265, allocations: 38.08 MB / 330.3 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 12 kB / 400 MB, free: 9.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2399, allocations: 59.14 MB / 459.1 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0104/0.2504, allocations: 13.12 MB / 472.2 MB, free: 21.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2618, allocations: 7.95 MB / 480.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.2639, allocations: 80.5 kB / 480.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01812/0.282, allocations: 12.71 MB / 493 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.2859, allocations: 1.075 MB / 494.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.2885, allocations: 0.8772 MB / 494.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002848/0.2913, allocations: 1.677 MB / 496.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.2936, allocations: 1.754 MB / 498.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.2951, allocations: 0.9692 MB / 499.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.2968, allocations: 1.238 MB / 0.4888 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.2971, allocations: 108 kB / 0.4889 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.2987, allocations: 0.78 MB / 0.4897 GB, free: 13.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.2998, allocations: 1.107 MB / 0.4908 GB, free: 12.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.3003, allocations: 0.4925 MB / 0.4913 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.3032, allocations: 3.004 MB / 0.4942 GB, free: 8.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3032, allocations: 0 / 0.4942 GB, free: 8.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3032, allocations: 0 / 0.4942 GB, free: 8.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-05/0.3033, allocations: 0 / 0.4942 GB, free: 8.961 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.005443/0.3087, allocations: 2.725 MB / 0.4969 GB, free: 6.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3088, allocations: 8.031 kB / 0.4969 GB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.311, allocations: 476.3 kB / 0.4973 GB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003485/0.3145, allocations: 1.742 MB / 0.499 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3147, allocations: 159.8 kB / 0.4992 GB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.3151, allocations: 255.8 kB / 0.4994 GB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/0.3195, allocations: 3.169 MB / 0.5025 GB, free: 148 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.3196, allocations: 7.938 kB / 0.5025 GB, free: 140 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.3198, allocations: 83.97 kB / 0.5026 GB, free: 56 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005607/0.3204, allocations: 211.7 kB / 0.5028 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004112/0.3245, allocations: 2.857 MB / 0.5056 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.3401, allocations: 11.78 MB / 0.5171 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.3434, allocations: 2.601 MB / 0.5196 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.3435, allocations: 38.11 kB / 0.5197 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/0.3458, allocations: 1.698 MB / 0.5213 GB, free: 12.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=247): time 3.998e-06/0.3458, allocations: 0 / 0.5213 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=267): time 0.02229/0.3681, allocations: 12.07 MB / 0.5331 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.3683, allocations: 409.8 kB / 0.5335 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.3701, allocations: 1.461 MB / 0.5349 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.3704, allocations: 85.62 kB / 0.535 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/0.3713, allocations: 1.001 MB / 0.536 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008385/0.3722, allocations: 0.8593 MB / 0.5368 GB, free: 12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3723, allocations: 59.98 kB / 0.5369 GB, free: 11.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.3725, allocations: 436.5 kB / 0.5373 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.3745, allocations: 1.306 MB / 0.5386 GB, free: 10.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.3769, allocations: 1.982 MB / 0.5405 GB, free: 7.953 MB / 414.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.0105/0.3874, allocations: 3.903 MB / 0.5443 GB, free: 4.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.3874, allocations: 4 kB / 0.5443 GB, free: 4.027 MB / 414.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