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.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.004368/0.004368, allocations: 109.1 kB / 20.43 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.001418/0.001418, allocations: 217.5 kB / 23.73 MB, free: 2.133 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.9609/0.9609, allocations: 230.6 MB / 257.5 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1243/0.1243, allocations: 38.59 MB / 352.5 MB, free: 11.45 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_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.002094/0.002094, allocations: 79.88 kB / 494.1 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.105, allocations: 62.48 MB / 0.5435 GB, free: 5.203 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0121/0.1171, allocations: 12.41 MB / 0.5557 GB, free: 8.727 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1275, allocations: 7.293 MB / 0.5628 GB, free: 1.418 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1286, allocations: 67.44 kB / 0.5628 GB, free: 1.352 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2919/0.4205, allocations: 102.6 MB / 0.663 GB, free: 5.906 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.4236, allocations: 1.503 MB / 0.6645 GB, free: 4.805 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.4258, allocations: 1.071 MB / 0.6655 GB, free: 3.773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01715/0.4429, allocations: 15.91 MB / 0.681 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.4445, allocations: 1.257 MB / 0.6823 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02533/0.4698, allocations: 26.37 MB / 0.708 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4722, allocations: 1.963 MB / 0.7099 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.4727, allocations: 244 kB / 0.7102 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.4743, allocations: 1.061 MB / 0.7112 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.4755, allocations: 1.368 MB / 0.7125 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.477, allocations: 1.174 MB / 0.7137 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.4807, allocations: 4.048 MB / 0.7176 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4807, allocations: 0 / 0.7176 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4807, allocations: 0 / 0.7176 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001003/0.4808, allocations: 0 / 0.7176 GB, free: 14.81 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.005546/0.4864, allocations: 3.192 MB / 0.7208 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4864, allocations: 8.031 kB / 0.7208 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003339/0.4867, allocations: 321.4 kB / 0.7211 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.4884, allocations: 0.526 MB / 0.7216 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.4909, allocations: 1.754 MB / 0.7233 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/0.491, allocations: 163.8 kB / 0.7235 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.4914, allocations: 255.8 kB / 0.7237 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/0.495, allocations: 3.309 MB / 0.7269 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.495, allocations: 17.83 kB / 0.7269 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.4952, allocations: 91.97 kB / 0.727 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003142/0.4955, allocations: 207.8 kB / 0.7272 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.4987, allocations: 2.907 MB / 0.7301 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.5096, allocations: 10.65 MB / 0.7405 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.5118, allocations: 2.066 MB / 0.7425 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.5133, allocations: 1.472 MB / 0.7439 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.5134, allocations: 26 kB / 0.7439 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.515, allocations: 1.774 MB / 0.7457 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 3.827e-06/0.515, allocations: 0 / 0.7457 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275): time 0.01732/0.5323, allocations: 13.74 MB / 0.7591 GB, free: 3.426 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.5325, allocations: 405.8 kB / 0.7595 GB, free: 2.945 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.5343, allocations: 1.504 MB / 0.761 GB, free: 1.434 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.5344, allocations: 89.67 kB / 0.761 GB, free: 1.34 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006046/0.5351, allocations: 1.027 MB / 0.762 GB, free: 312 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005864/0.5356, allocations: 0.9222 MB / 0.7629 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/0.5362, allocations: 0.5265 MB / 0.7635 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.5363, allocations: 313 kB / 0.7638 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.5378, allocations: 1.393 MB / 0.7651 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.5397, allocations: 2.123 MB / 0.7672 GB, free: 10.71 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.009839/0.5495, allocations: 7.221 MB / 0.7742 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.5496, allocations: 5.062 kB / 0.7742 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.006936/0.5565, allocations: 5.282 MB / 0.7794 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.5566, allocations: 64.41 kB / 0.7795 GB, free: 13.74 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.001759/0.5583, allocations: 1.364 MB / 0.7808 GB, free: 12.35 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.7972383415326476]