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.001206/0.001206, allocations: 104 kB / 17.73 MB, free: 5.367 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.001185/0.001186, allocations: 183.1 kB / 18.66 MB, free: 4.449 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.244/1.244, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1638/0.1638, allocations: 37.99 MB / 309.9 MB, free: 5.957 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.001353/0.001353, allocations: 71.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.0952, allocations: 55.23 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.0105/0.1057, allocations: 10.19 MB / 498 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.1119, allocations: 3.759 MB / 0.49 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000831/0.1128, allocations: 35.81 kB / 0.49 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.1157, allocations: 1.21 MB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.1183, allocations: 1.144 MB / 0.4923 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1199, allocations: 0.7173 MB / 0.493 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.1225, allocations: 2.441 MB / 0.4954 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.124, allocations: 1.032 MB / 0.4964 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.1257, allocations: 1.066 MB / 0.4974 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.1277, allocations: 1.379 MB / 0.4988 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.1283, allocations: 164 kB / 0.4989 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.1297, allocations: 0.706 MB / 0.4996 GB, free: 408 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009993/0.1308, allocations: 0.9703 MB / 0.5006 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.132, allocations: 1.003 MB / 0.5016 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.1344, allocations: 2.601 MB / 0.5041 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1344, allocations: 0 / 0.5041 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1344, allocations: 3.938 kB / 0.5041 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.116e-05/0.1345, allocations: 4 kB / 0.5041 GB, free: 11.8 MB / 398.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.00376/0.1382, allocations: 2.325 MB / 0.5064 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1383, allocations: 11.89 kB / 0.5064 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.1399, allocations: 334.3 kB / 0.5067 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.1416, allocations: 1.13 MB / 0.5078 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.1417, allocations: 123.1 kB / 0.5079 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/0.1421, allocations: 199.8 kB / 0.5081 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.1454, allocations: 2.465 MB / 0.5105 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.1455, allocations: 3.938 kB / 0.5105 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.1456, allocations: 71.97 kB / 0.5106 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004456/0.1461, allocations: 158.9 kB / 0.5107 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.1492, allocations: 2.178 MB / 0.5129 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.1605, allocations: 9.191 MB / 0.5218 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.163, allocations: 2.12 MB / 0.5239 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.1645, allocations: 1.174 MB / 0.5251 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.782e-05/0.1646, allocations: 21.31 kB / 0.5251 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.1664, allocations: 1.411 MB / 0.5265 GB, free: 4.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.517e-06/0.1664, allocations: 0 / 0.5265 GB, free: 4.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.1815/0.3479, allocations: 6.874 MB / 0.5332 GB, free: 50.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.348, allocations: 279.4 kB / 0.5334 GB, free: 50.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3491, allocations: 0.928 MB / 0.5343 GB, free: 50.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.3493, allocations: 74.95 kB / 0.5344 GB, free: 49.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.3497, allocations: 0.7265 MB / 0.5351 GB, free: 49.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.3502, allocations: 0.6603 MB / 0.5358 GB, free: 48.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.3507, allocations: 408.7 kB / 0.5362 GB, free: 48.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.3507, allocations: 302.4 kB / 0.5364 GB, free: 48.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.3521, allocations: 0.9705 MB / 0.5374 GB, free: 48.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.3537, allocations: 1.518 MB / 0.5389 GB, free: 47.16 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.01208/0.3658, allocations: 6.229 MB / 0.545 GB, free: 44.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.3658, allocations: 4.281 kB / 0.545 GB, free: 44.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007234/0.3731, allocations: 4.115 MB / 0.549 GB, free: 43.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.3732, allocations: 64.75 kB / 0.549 GB, free: 43.12 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001312/0.3745, allocations: 0.9716 MB / 0.55 GB, free: 42.73 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated