Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_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.001357/0.001357, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.001438/0.001439, allocations: 196.1 kB / 18 MB, free: 5.191 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.174/0.174, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 457.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3434, allocations: 58.06 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01453/0.358, allocations: 13.32 MB / 0.5166 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.3725, allocations: 7.918 MB / 0.5244 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.3744, allocations: 51.06 kB / 0.5244 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1414/0.5158, allocations: 91.21 MB / 0.6135 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.5207, allocations: 1.474 MB / 0.6149 GB, free: 6.559 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.5241, allocations: 1.048 MB / 0.616 GB, free: 5.512 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02328/0.5474, allocations: 14.52 MB / 0.6301 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.5508, allocations: 1.603 MB / 0.6317 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03933/0.5902, allocations: 23.51 MB / 0.6547 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.5939, allocations: 1.892 MB / 0.6565 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.595, allocations: 240 kB / 0.6567 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.5978, allocations: 1.01 MB / 0.6577 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.6, allocations: 1.348 MB / 0.659 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.6031, allocations: 1.427 MB / 0.6604 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00672/0.6099, allocations: 3.997 MB / 0.6643 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6099, allocations: 0 / 0.6643 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6099, allocations: 0 / 0.6643 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001495/0.6101, allocations: 0 / 0.6643 GB, free: 3.836 MB / 0.5137 GB 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.008428/0.6185, allocations: 3.256 MB / 0.6675 GB, free: 500 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6186, allocations: 8.031 kB / 0.6675 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007988/0.6194, allocations: 320.8 kB / 0.6678 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.6222, allocations: 474.8 kB / 0.6683 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/0.6265, allocations: 1.856 MB / 0.6701 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.6268, allocations: 159.8 kB / 0.6702 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000922/0.6277, allocations: 255.8 kB / 0.6705 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00691/0.6346, allocations: 3.18 MB / 0.6736 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-05/0.6348, allocations: 11.94 kB / 0.6736 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004458/0.6352, allocations: 95.89 kB / 0.6737 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007126/0.636, allocations: 211.7 kB / 0.6739 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005947/0.6419, allocations: 2.845 MB / 0.6767 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.6634, allocations: 11.54 MB / 0.6879 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.6679, allocations: 2.601 MB / 0.6905 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/0.6709, allocations: 1.522 MB / 0.692 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.6711, allocations: 26.06 kB / 0.692 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003304/0.6744, allocations: 1.694 MB / 0.6937 GB, free: 4.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 9.067e-06/0.6744, allocations: 0 / 0.6937 GB, free: 4.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.0348/0.7092, allocations: 14.15 MB / 0.7075 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003131/0.7096, allocations: 417.8 kB / 0.7079 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.7122, allocations: 1.477 MB / 0.7093 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003469/0.7126, allocations: 85.64 kB / 0.7094 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.7138, allocations: 1.031 MB / 0.7104 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.7149, allocations: 0.9259 MB / 0.7113 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.7161, allocations: 0.5343 MB / 0.7118 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7163, allocations: 301.1 kB / 0.7121 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/0.7188, allocations: 1.343 MB / 0.7134 GB, free: 260 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2417/0.9605, allocations: 2.015 MB / 0.7154 GB, free: 187 MB / 0.5606 GB 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.01855/0.9791, allocations: 7.242 MB / 0.7225 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-05/0.9792, allocations: 4.844 kB / 0.7225 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01259/0.9918, allocations: 5.39 MB / 0.7277 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/0.9919, allocations: 65.06 kB / 0.7278 GB, free: 182.4 MB / 0.5606 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.002811/0.9948, allocations: 1.363 MB / 0.7291 GB, free: 181.9 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated