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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001904/0.001904, allocations: 195 kB / 18 MB, free: 5.105 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.316/1.316, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1837/0.1837, allocations: 37.98 MB / 309.2 MB, free: 5.965 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.001503/0.001503, allocations: 72.23 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09592, allocations: 55.23 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.0107/0.1067, allocations: 10.18 MB / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.1128, allocations: 3.759 MB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009104/0.1137, allocations: 35.81 kB / 0.4889 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.1168, allocations: 1.21 MB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.1196, allocations: 1.14 MB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1213, allocations: 0.7212 MB / 0.4919 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.1241, allocations: 2.441 MB / 0.4942 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.1258, allocations: 1.028 MB / 0.4952 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.1277, allocations: 1.07 MB / 0.4963 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1298, allocations: 1.375 MB / 0.4976 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.1303, allocations: 164 kB / 0.4978 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.1319, allocations: 0.71 MB / 0.4985 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.1331, allocations: 0.9664 MB / 0.4994 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.1348, allocations: 1.007 MB / 0.5004 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.1379, allocations: 2.594 MB / 0.5029 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.138, allocations: 0 / 0.5029 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.138, allocations: 0 / 0.5029 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.158e-05/0.1381, allocations: 4 kB / 0.5029 GB, free: 12.32 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.004862/0.1429, allocations: 2.329 MB / 0.5052 GB, free: 9.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.143, allocations: 11.89 kB / 0.5052 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004049/0.1434, allocations: 253.5 kB / 0.5055 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.1453, allocations: 338.2 kB / 0.5058 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.1473, allocations: 1.129 MB / 0.5069 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1474, allocations: 118.9 kB / 0.507 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004414/0.1478, allocations: 203.9 kB / 0.5072 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/0.1515, allocations: 2.461 MB / 0.5096 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.1516, allocations: 11.84 kB / 0.5096 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.1518, allocations: 71.91 kB / 0.5097 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004784/0.1522, allocations: 158.9 kB / 0.5098 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.1556, allocations: 2.178 MB / 0.512 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.1686, allocations: 9.187 MB / 0.5209 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.1713, allocations: 2.12 MB / 0.523 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.173, allocations: 1.178 MB / 0.5242 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.652e-05/0.1731, allocations: 25.38 kB / 0.5242 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.175, allocations: 1.411 MB / 0.5256 GB, free: 4.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.92e-06/0.175, allocations: 0 / 0.5256 GB, free: 4.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.2043/0.3794, allocations: 6.872 MB / 0.5323 GB, free: 50.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.3795, allocations: 272.9 kB / 0.5325 GB, free: 50.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.3808, allocations: 0.932 MB / 0.5334 GB, free: 49.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.381, allocations: 74.67 kB / 0.5335 GB, free: 49.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.3815, allocations: 0.7227 MB / 0.5342 GB, free: 49.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/0.382, allocations: 0.662 MB / 0.5349 GB, free: 48.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.3827, allocations: 407.6 kB / 0.5353 GB, free: 48.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.3827, allocations: 303 kB / 0.5355 GB, free: 48.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.3843, allocations: 0.9676 MB / 0.5365 GB, free: 48.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.3859, allocations: 1.52 MB / 0.538 GB, free: 47.17 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.01291/0.3988, allocations: 6.232 MB / 0.5441 GB, free: 44.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.3989, allocations: 4.594 kB / 0.5441 GB, free: 44.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007838/0.4067, allocations: 4.115 MB / 0.5481 GB, free: 43.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.4068, allocations: 66.3 kB / 0.5481 GB, free: 43.11 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.001562/0.4084, allocations: 0.9751 MB / 0.5491 GB, free: 42.72 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated