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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",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.001365/0.001365, allocations: 106 kB / 16.62 MB, free: 6.805 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.001244/0.001244, allocations: 193.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.262/1.262, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1659/0.1659, allocations: 38.04 MB / 329.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 60.22 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1212, allocations: 58.06 MB / 456.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01622/0.1375, allocations: 15.34 MB / 471.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1502, allocations: 8.527 MB / 480.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.152, allocations: 87.44 kB / 480.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3345/0.4866, allocations: 98.64 MB / 0.5655 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.4901, allocations: 1.367 MB / 0.5668 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.4927, allocations: 0.9649 MB / 0.5678 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01876/0.5115, allocations: 15.49 MB / 0.5829 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.5143, allocations: 1.687 MB / 0.5845 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03198/0.5462, allocations: 25.44 MB / 0.6094 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.5494, allocations: 2.035 MB / 0.6114 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.5506, allocations: 244 kB / 0.6116 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.5534, allocations: 1.037 MB / 0.6126 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002054/0.5555, allocations: 1.355 MB / 0.6139 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002876/0.5584, allocations: 1.43 MB / 0.6153 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005204/0.5636, allocations: 3.923 MB / 0.6192 GB, free: 5.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5637, allocations: 4 kB / 0.6192 GB, free: 5.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5637, allocations: 0 / 0.6192 GB, free: 5.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.5638, allocations: 0 / 0.6192 GB, free: 5.93 MB / 446.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.007568/0.5714, allocations: 3.166 MB / 0.6222 GB, free: 2.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5715, allocations: 11.89 kB / 0.6223 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000709/0.5722, allocations: 323.5 kB / 0.6226 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.5746, allocations: 461.2 kB / 0.623 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.578, allocations: 1.787 MB / 0.6248 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.5782, allocations: 162.8 kB / 0.6249 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/0.5789, allocations: 258.6 kB / 0.6252 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005643/0.5846, allocations: 3.181 MB / 0.6283 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/0.5847, allocations: 7.938 kB / 0.6283 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.5849, allocations: 95.02 kB / 0.6284 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006226/0.5855, allocations: 207.8 kB / 0.6286 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/0.5905, allocations: 2.855 MB / 0.6313 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.6082, allocations: 11.59 MB / 0.6427 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.6116, allocations: 2.602 MB / 0.6452 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.6138, allocations: 1.538 MB / 0.6467 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.6139, allocations: 22 kB / 0.6467 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.6163, allocations: 1.7 MB / 0.6484 GB, free: 7.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 7.283e-06/0.6163, allocations: 4 kB / 0.6484 GB, free: 7.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02169/0.638, allocations: 11.51 MB / 0.6596 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.6382, allocations: 407.8 kB / 0.66 GB, free: 11.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.64, allocations: 1.481 MB / 0.6615 GB, free: 9.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.6402, allocations: 84.03 kB / 0.6616 GB, free: 9.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000795/0.641, allocations: 1.004 MB / 0.6625 GB, free: 8.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007174/0.6417, allocations: 0.8499 MB / 0.6634 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/0.6425, allocations: 0.5285 MB / 0.6639 GB, free: 7.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.6426, allocations: 301.1 kB / 0.6642 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.6447, allocations: 1.335 MB / 0.6655 GB, free: 5.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.6474, allocations: 2.002 MB / 0.6674 GB, free: 3.297 MB / 494.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.01504/0.6624, allocations: 7.004 MB / 0.6743 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.6624, allocations: 4 kB / 0.6743 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009447/0.6719, allocations: 5.327 MB / 0.6795 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.672, allocations: 72.38 kB / 0.6795 GB, free: 6.477 MB / 0.4981 GB 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.001971/0.674, allocations: 1.36 MB / 0.6809 GB, free: 5.074 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated