Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 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.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_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.001481/0.001481, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001627/0.001627, allocations: 192 kB / 18.62 MB, free: 4.41 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.429/1.429, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1827/0.1827, allocations: 37.98 MB / 309.8 MB, free: 5.973 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.001521/0.001521, allocations: 75.03 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2632, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008542/0.2718, allocations: 10.19 MB / 442.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.277, allocations: 3.751 MB / 446 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008055/0.2778, allocations: 35.81 kB / 446 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.2808, allocations: 1.212 MB / 447.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.2833, allocations: 1.14 MB / 448.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.2849, allocations: 0.7173 MB / 449.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.2877, allocations: 2.44 MB / 451.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.2894, allocations: 1.032 MB / 452.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.2918, allocations: 1.051 MB / 453.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.2945, allocations: 1.375 MB / 455 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.295, allocations: 168 kB / 455.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.2968, allocations: 0.7021 MB / 455.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.2981, allocations: 0.9704 MB / 456.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.3001, allocations: 1.007 MB / 457.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.3032, allocations: 2.597 MB / 460.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3032, allocations: 0 / 460.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3032, allocations: 3.938 kB / 460.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.3033, allocations: 0 / 460.4 MB, free: 6.988 MB / 334.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.004062/0.3073, allocations: 2.329 MB / 462.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3074, allocations: 11.89 kB / 462.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.309, allocations: 334.3 kB / 463.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.3112, allocations: 1.133 MB / 464.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.3114, allocations: 127.1 kB / 464.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/0.3119, allocations: 191.8 kB / 464.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.3154, allocations: 2.465 MB / 467 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.121e-05/0.3155, allocations: 7.938 kB / 467 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.3157, allocations: 71.95 kB / 467.1 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004728/0.3162, allocations: 158.9 kB / 467.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003301/0.3195, allocations: 2.166 MB / 469.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.3317, allocations: 9.195 MB / 478.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.3344, allocations: 2.136 MB / 480.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.336, allocations: 1.178 MB / 481.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3361, allocations: 25.36 kB / 481.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.338, allocations: 1.407 MB / 483.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 4.028e-06/0.338, allocations: 4 kB / 483.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.0111/0.3491, allocations: 6.87 MB / 490.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.3493, allocations: 277.3 kB / 490.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3505, allocations: 0.9275 MB / 491.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3506, allocations: 69.7 kB / 491.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.3512, allocations: 0.7297 MB / 492.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000585/0.3518, allocations: 0.6704 MB / 492.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/0.3524, allocations: 408.7 kB / 493.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3525, allocations: 305.1 kB / 493.6 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.354, allocations: 0.9612 MB / 494.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.3559, allocations: 1.524 MB / 496 MB, free: 2.137 MB / 366.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.01335/0.3693, allocations: 6.226 MB / 0.4905 GB, free: 11.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/0.3694, allocations: 4 kB / 0.4905 GB, free: 11.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008392/0.3778, allocations: 4.119 MB / 0.4945 GB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.3779, allocations: 63.41 kB / 0.4946 GB, free: 7.434 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.001631/0.3795, allocations: 0.9794 MB / 0.4955 GB, free: 6.457 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated