Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008446/0.0008446, allocations: 170.4 kB / 16.08 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007886/0.0007886, allocations: 89.17 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1656/0.1656, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 15.94 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 56.32 MB / 479.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01199/0.2898, allocations: 13.9 MB / 493.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.3039, allocations: 8.057 MB / 0.4899 GB, free: 9.863 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.3063, allocations: 89.44 kB / 0.49 GB, free: 9.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1271/0.4334, allocations: 92.65 MB / 0.5805 GB, free: 3.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.438, allocations: 1.482 MB / 0.5819 GB, free: 2.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.4411, allocations: 0.9337 MB / 0.5829 GB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02097/0.4621, allocations: 15.64 MB / 0.5981 GB, free: 1.477 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003393/0.4655, allocations: 1.97 MB / 0.6001 GB, free: 15.43 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03298/0.4985, allocations: 23.89 MB / 0.6234 GB, free: 7.512 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.5014, allocations: 1.854 MB / 0.6252 GB, free: 5.652 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004732/0.5019, allocations: 108 kB / 0.6253 GB, free: 5.547 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.5039, allocations: 0.9047 MB / 0.6262 GB, free: 4.641 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.5053, allocations: 1.22 MB / 0.6274 GB, free: 3.418 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.507, allocations: 1.218 MB / 0.6286 GB, free: 2.188 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.5102, allocations: 3 MB / 0.6315 GB, free: 15.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5102, allocations: 0 / 0.6315 GB, free: 15.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5102, allocations: 0 / 0.6315 GB, free: 15.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.812e-05/0.5103, allocations: 0 / 0.6315 GB, free: 15.18 MB / 474.7 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.005748/0.5161, allocations: 2.714 MB / 0.6341 GB, free: 12.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5162, allocations: 8.031 kB / 0.6342 GB, free: 12.37 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005873/0.5167, allocations: 320.7 kB / 0.6345 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.5189, allocations: 461.3 kB / 0.6349 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.5223, allocations: 1.8 MB / 0.6367 GB, free: 9.738 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.5224, allocations: 155.9 kB / 0.6368 GB, free: 9.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.5229, allocations: 259.8 kB / 0.6371 GB, free: 9.332 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.5279, allocations: 3.177 MB / 0.6402 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.528, allocations: 11.94 kB / 0.6402 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.5282, allocations: 83.92 kB / 0.6402 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006222/0.5289, allocations: 211.7 kB / 0.6404 GB, free: 5.699 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.5336, allocations: 2.857 MB / 0.6432 GB, free: 2.836 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2047/0.7383, allocations: 11.62 MB / 0.6546 GB, free: 154.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.7418, allocations: 2.602 MB / 0.6571 GB, free: 153.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.7446, allocations: 1.543 MB / 0.6586 GB, free: 152.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.7448, allocations: 30.5 kB / 0.6587 GB, free: 152.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00297/0.7477, allocations: 1.707 MB / 0.6603 GB, free: 152.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 6.412e-06/0.7478, allocations: 1.25 kB / 0.6603 GB, free: 152.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.0232/0.771, allocations: 11.56 MB / 0.6716 GB, free: 147.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.7711, allocations: 414 kB / 0.672 GB, free: 146.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.7729, allocations: 1.472 MB / 0.6735 GB, free: 145.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.7731, allocations: 77.89 kB / 0.6735 GB, free: 145.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.7737, allocations: 1.007 MB / 0.6745 GB, free: 144.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/0.7742, allocations: 0.8551 MB / 0.6753 GB, free: 144.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.7744, allocations: 59.33 kB / 0.6754 GB, free: 144.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7745, allocations: 432.5 kB / 0.6758 GB, free: 143.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.7762, allocations: 1.317 MB / 0.6771 GB, free: 143.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.7781, allocations: 2.004 MB / 0.6791 GB, free: 141.6 MB / 474.7 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.01388/0.792, allocations: 6.992 MB / 0.6859 GB, free: 134.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.792, allocations: 4 kB / 0.6859 GB, free: 134.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008596/0.8006, allocations: 5.29 MB / 0.6911 GB, free: 129.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.8009, allocations: 0.6944 MB / 0.6917 GB, free: 128.3 MB / 474.7 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.001761/0.8027, allocations: 1.35 MB / 0.6931 GB, free: 126.9 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated