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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 115.4 kB / 20.44 MB, free: 4.594 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 213.5 kB / 23.73 MB, free: 2.129 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9606/0.9606, allocations: 230.6 MB / 257.5 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1234/0.1234, allocations: 38.57 MB / 352.5 MB, free: 11.33 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 71.89 kB / 494.1 MB, free: 3.766 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09828, allocations: 62.48 MB / 0.5435 GB, free: 5.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01013/0.1084, allocations: 12.34 MB / 0.5555 GB, free: 8.793 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009055/0.1175, allocations: 7.302 MB / 0.5627 GB, free: 1.473 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.1188, allocations: 67.44 kB / 0.5627 GB, free: 1.406 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2861/0.4049, allocations: 102.6 MB / 0.6629 GB, free: 5.965 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.4079, allocations: 1.501 MB / 0.6644 GB, free: 4.855 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.4097, allocations: 1.074 MB / 0.6654 GB, free: 3.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01639/0.4261, allocations: 15.91 MB / 0.6809 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.4278, allocations: 1.25 MB / 0.6822 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02939/0.4572, allocations: 26.38 MB / 0.7079 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.46, allocations: 1.96 MB / 0.7098 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005987/0.4606, allocations: 244 kB / 0.7101 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.4625, allocations: 1.054 MB / 0.7111 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.4636, allocations: 1.374 MB / 0.7124 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.465, allocations: 1.178 MB / 0.7136 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.4691, allocations: 4.036 MB / 0.7175 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4691, allocations: 0 / 0.7175 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4691, allocations: 4 kB / 0.7175 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.239e-05/0.4692, allocations: 0 / 0.7175 GB, free: 14.89 MB / 0.5417 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.004844/0.474, allocations: 3.188 MB / 0.7207 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4741, allocations: 8.031 kB / 0.7207 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003407/0.4744, allocations: 327.7 kB / 0.721 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.4764, allocations: 0.526 MB / 0.7215 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.4796, allocations: 1.75 MB / 0.7232 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4797, allocations: 171.8 kB / 0.7234 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000569/0.4803, allocations: 251.9 kB / 0.7236 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/0.4855, allocations: 3.3 MB / 0.7268 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.4856, allocations: 15.89 kB / 0.7268 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.4858, allocations: 87.95 kB / 0.7269 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005209/0.4863, allocations: 208.4 kB / 0.7271 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005315/0.4916, allocations: 2.916 MB / 0.73 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.5036, allocations: 10.65 MB / 0.7404 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.5057, allocations: 2.061 MB / 0.7424 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.5072, allocations: 1.476 MB / 0.7438 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.011e-05/0.5072, allocations: 25.98 kB / 0.7439 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.5091, allocations: 1.774 MB / 0.7456 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 3.908e-06/0.5091, allocations: 0 / 0.7456 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275): time 0.0172/0.5263, allocations: 13.74 MB / 0.759 GB, free: 3.512 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.5264, allocations: 417.8 kB / 0.7594 GB, free: 3.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.5277, allocations: 1.5 MB / 0.7609 GB, free: 1.512 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.5279, allocations: 81.69 kB / 0.7609 GB, free: 1.426 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.5284, allocations: 1.027 MB / 0.7619 GB, free: 400 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/0.529, allocations: 0.9224 MB / 0.7628 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005405/0.5295, allocations: 0.5382 MB / 0.7634 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.5296, allocations: 308.9 kB / 0.7637 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5311, allocations: 1.393 MB / 0.765 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.5332, allocations: 2.12 MB / 0.7671 GB, free: 10.79 MB / 0.5886 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.009508/0.5427, allocations: 7.217 MB / 0.7741 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.5427, allocations: 4 kB / 0.7741 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.006499/0.5492, allocations: 5.288 MB / 0.7793 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.5492, allocations: 71.34 kB / 0.7794 GB, free: 13.81 MB / 0.6042 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.001475/0.5507, allocations: 1.355 MB / 0.7807 GB, free: 12.43 MB / 0.6042 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.6561783524230123]