Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_latest_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.001534/0.001534, allocations: 110 kB / 16.63 MB, free: 6.816 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.00167/0.00167, allocations: 189.8 kB / 17.55 MB, free: 5.949 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.278/1.278, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.169/0.169, allocations: 38.03 MB / 329.4 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 53.78 kB / 398.4 MB, free: 34.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09298, allocations: 58.07 MB / 456.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01168/0.1047, allocations: 11.6 MB / 468.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006799/0.1115, allocations: 4.144 MB / 472.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1127, allocations: 59.62 kB / 472.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.1156, allocations: 1.136 MB / 473.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.1181, allocations: 1.059 MB / 474.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1197, allocations: 0.663 MB / 475.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.1225, allocations: 2.437 MB / 477.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.124, allocations: 1.102 MB / 478.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.1257, allocations: 1.059 MB / 479.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.1278, allocations: 1.476 MB / 481.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.1282, allocations: 164 kB / 481.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.1297, allocations: 0.7411 MB / 482.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.1308, allocations: 0.9703 MB / 483.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.1322, allocations: 1.011 MB / 484.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.1346, allocations: 2.566 MB / 486.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1346, allocations: 4 kB / 486.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1346, allocations: 3.938 kB / 486.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.1346, allocations: 0 / 486.6 MB, free: 9.996 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.003824/0.1385, allocations: 2.325 MB / 489 MB, free: 7.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1385, allocations: 15.89 kB / 489 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002848/0.1388, allocations: 249.5 kB / 489.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.1405, allocations: 338.3 kB / 489.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.1422, allocations: 1.083 MB / 490.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1423, allocations: 130.9 kB / 490.8 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004063/0.1428, allocations: 191.8 kB / 491 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/0.1463, allocations: 2.469 MB / 493.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.1463, allocations: 4 kB / 493.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.1465, allocations: 63.98 kB / 493.5 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004826/0.1469, allocations: 162.8 kB / 493.7 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.1501, allocations: 2.17 MB / 495.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.1626, allocations: 9.245 MB / 0.4932 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.1651, allocations: 2.137 MB / 0.4953 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.1667, allocations: 1.181 MB / 0.4965 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.23e-05/0.1668, allocations: 17.31 kB / 0.4965 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.1686, allocations: 1.403 MB / 0.4979 GB, free: 2.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.526e-06/0.1687, allocations: 0 / 0.4979 GB, free: 2.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2856/0.4543, allocations: 6.876 MB / 0.5046 GB, free: 55.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4544, allocations: 271.7 kB / 0.5048 GB, free: 54.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4559, allocations: 0.9291 MB / 0.5057 GB, free: 54.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.456, allocations: 76.81 kB / 0.5058 GB, free: 54.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.4566, allocations: 0.7237 MB / 0.5065 GB, free: 53.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.4572, allocations: 0.6658 MB / 0.5072 GB, free: 53.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000698/0.4579, allocations: 409.7 kB / 0.5076 GB, free: 53.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.458, allocations: 305.8 kB / 0.5079 GB, free: 52.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.4598, allocations: 0.9669 MB / 0.5088 GB, free: 52.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.4621, allocations: 1.523 MB / 0.5103 GB, free: 51.5 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.01328/0.4754, allocations: 6.245 MB / 0.5164 GB, free: 48.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.4754, allocations: 4.938 kB / 0.5164 GB, free: 48.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007818/0.4833, allocations: 4.114 MB / 0.5204 GB, free: 47.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.4833, allocations: 64.66 kB / 0.5205 GB, free: 47.43 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.001392/0.4847, allocations: 1.005 MB / 0.5214 GB, free: 47.02 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated