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.001355/0.001355, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001445/0.001445, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1902/0.1902, allocations: 38.54 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="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.001968/0.001968, allocations: 67.91 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 62.47 MB / 0.5428 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.02233/0.3574, allocations: 13.63 MB / 0.5561 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3742, allocations: 8.02 MB / 0.5639 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.3758, allocations: 67.44 kB / 0.564 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1672/0.543, allocations: 103.7 MB / 0.6652 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.5475, allocations: 1.498 MB / 0.6667 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.5504, allocations: 1.065 MB / 0.6677 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02513/0.5755, allocations: 16.05 MB / 0.6834 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.5778, allocations: 1.259 MB / 0.6846 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04144/0.6193, allocations: 26.6 MB / 0.7106 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.6228, allocations: 2.048 MB / 0.7126 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006408/0.6234, allocations: 244 kB / 0.7128 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.6259, allocations: 1.123 MB / 0.7139 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.6275, allocations: 1.371 MB / 0.7153 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.6295, allocations: 1.431 MB / 0.7167 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.6354, allocations: 4.013 MB / 0.7206 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6354, allocations: 4 kB / 0.7206 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6354, allocations: 3.938 kB / 0.7206 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001107/0.6355, allocations: 0 / 0.7206 GB, free: 14.1 MB / 0.5606 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.007283/0.6428, allocations: 3.187 MB / 0.7237 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6428, allocations: 11.98 kB / 0.7237 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.298e-05/0.6429, allocations: 56.08 kB / 0.7238 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004344/0.6433, allocations: 316.8 kB / 0.7241 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.6459, allocations: 0.5338 MB / 0.7246 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.6499, allocations: 1.753 MB / 0.7263 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.65, allocations: 163.8 kB / 0.7265 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005765/0.6506, allocations: 251.9 kB / 0.7267 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/0.6561, allocations: 3.184 MB / 0.7298 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.128e-05/0.6561, allocations: 15.83 kB / 0.7298 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.6564, allocations: 83.97 kB / 0.7299 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006776/0.6571, allocations: 211.8 kB / 0.7301 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.6625, allocations: 2.857 MB / 0.7329 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2912/0.9537, allocations: 11.4 MB / 0.744 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.9574, allocations: 2.011 MB / 0.746 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.9597, allocations: 1.395 MB / 0.7474 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.9599, allocations: 36.09 kB / 0.7474 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/0.9622, allocations: 1.693 MB / 0.749 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=247): time 3.977e-06/0.9622, allocations: 3.938 kB / 0.749 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.02376/0.9859, allocations: 13.6 MB / 0.7623 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.986, allocations: 417.8 kB / 0.7627 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.9876, allocations: 1.478 MB / 0.7642 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.9878, allocations: 81.61 kB / 0.7642 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/0.9884, allocations: 1.024 MB / 0.7652 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006162/0.989, allocations: 0.9285 MB / 0.7662 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006675/0.9897, allocations: 0.5301 MB / 0.7667 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.9897, allocations: 301.1 kB / 0.767 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.9915, allocations: 1.355 MB / 0.7683 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.9935, allocations: 2.022 MB / 0.7703 GB, free: 154.4 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.01439/1.008, allocations: 7.236 MB / 0.7773 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/1.008, allocations: 4 kB / 0.7773 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009053/1.017, allocations: 5.252 MB / 0.7825 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/1.017, allocations: 73.44 kB / 0.7825 GB, free: 141.5 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.001949/1.019, allocations: 1.351 MB / 0.7838 GB, free: 140.1 MB / 0.5606 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: 3.5943429399630986] Failed to read output from testmodel.py, exit status != 0: 1.0256616820115596 1.036634649 0.39871162899999996 Calling exit ...