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 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.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.0007753/0.0007754, allocations: 93.58 kB / 16.65 MB, free: 6.586 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.0007765/0.0007765, allocations: 185.3 kB / 17.56 MB, free: 6.203 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.249/1.249, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1708/0.1708, allocations: 38.06 MB / 310.1 MB, free: 5.898 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.0004881/0.0004882, allocations: 19.59 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 56.33 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01045/0.2173, allocations: 14.74 MB / 448.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.229, allocations: 8.681 MB / 457 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.2308, allocations: 79.44 kB / 457.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2969/0.5277, allocations: 95.18 MB / 0.5393 GB, free: 66.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.5313, allocations: 1.394 MB / 0.5407 GB, free: 65.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.5334, allocations: 0.9502 MB / 0.5416 GB, free: 65.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.5486, allocations: 17.17 MB / 0.5584 GB, free: 49.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.5512, allocations: 2.01 MB / 0.5604 GB, free: 47.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02273/0.574, allocations: 24.47 MB / 0.5842 GB, free: 24.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.5762, allocations: 1.881 MB / 0.5861 GB, free: 22.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.5765, allocations: 112 kB / 0.5862 GB, free: 22.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.578, allocations: 0.9163 MB / 0.5871 GB, free: 21.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008137/0.5788, allocations: 1.21 MB / 0.5883 GB, free: 20.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009919/0.5798, allocations: 1.276 MB / 0.5895 GB, free: 19.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.5823, allocations: 3.745 MB / 0.5932 GB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5823, allocations: 0 / 0.5932 GB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5823, allocations: 0 / 0.5932 GB, free: 15.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.806e-05/0.5824, allocations: 0 / 0.5932 GB, free: 15.38 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: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.004789/0.5872, allocations: 2.709 MB / 0.5958 GB, free: 12.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5872, allocations: 8.031 kB / 0.5958 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/0.5876, allocations: 323.2 kB / 0.5961 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.5896, allocations: 457.2 kB / 0.5966 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.5922, allocations: 1.792 MB / 0.5983 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.5923, allocations: 166.1 kB / 0.5985 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/0.5927, allocations: 259 kB / 0.5987 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.5966, allocations: 3.194 MB / 0.6018 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/0.5966, allocations: 15.83 kB / 0.6019 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.5968, allocations: 84.22 kB / 0.6019 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005315/0.5974, allocations: 211.7 kB / 0.6021 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.601, allocations: 2.869 MB / 0.6049 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.6155, allocations: 11.64 MB / 0.6163 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.6188, allocations: 2.61 MB / 0.6189 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.6211, allocations: 1.542 MB / 0.6204 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.6212, allocations: 29.66 kB / 0.6204 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.6235, allocations: 1.715 MB / 0.6221 GB, free: 1.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 3.787e-06/0.6235, allocations: 0 / 0.6221 GB, free: 1.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.02158/0.6451, allocations: 11.57 MB / 0.6334 GB, free: 5.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/0.6454, allocations: 409.6 kB / 0.6338 GB, free: 4.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.6472, allocations: 1.485 MB / 0.6352 GB, free: 3.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.6474, allocations: 81.69 kB / 0.6353 GB, free: 3.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/0.6481, allocations: 1.006 MB / 0.6363 GB, free: 2.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/0.6489, allocations: 0.8489 MB / 0.6371 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.6492, allocations: 268.2 kB / 0.6374 GB, free: 1.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6493, allocations: 305.2 kB / 0.6376 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.6514, allocations: 1.326 MB / 0.6389 GB, free: 15.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.6539, allocations: 2.006 MB / 0.6409 GB, free: 13.3 MB / 446.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.01599/0.6699, allocations: 7.029 MB / 0.6478 GB, free: 5.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.6699, allocations: 4 kB / 0.6478 GB, free: 5.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01011/0.68, allocations: 5.344 MB / 0.653 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/0.6805, allocations: 0.6831 MB / 0.6536 GB, free: 15.55 MB / 462.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.002153/0.6827, allocations: 1.383 MB / 0.655 GB, free: 14.13 MB / 462.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated