Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001316/0.001316, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001555/0.001555, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2757/0.2757, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.002068/0.002068, allocations: 63.91 kB / 493.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 62.47 MB / 0.5427 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004157/0.3941, allocations: 2.216 MB / 0.5449 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.3974, allocations: 1.905 MB / 0.5467 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.3974, allocations: 1.375 kB / 0.5467 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.3976, allocations: 17.28 kB / 0.5468 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.3977, allocations: 37.38 kB / 0.5468 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.4007, allocations: 0.9609 MB / 0.5477 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4009, allocations: 94.27 kB / 0.5478 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.401, allocations: 14.08 kB / 0.5478 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.4011, allocations: 55.38 kB / 0.5479 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.4013, allocations: 62.42 kB / 0.548 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.4013, allocations: 2.312 kB / 0.548 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.4048, allocations: 1.996 MB / 0.5499 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.4049, allocations: 35.14 kB / 0.5499 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.405, allocations: 29.84 kB / 0.55 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.407, allocations: 1.335 MB / 0.5513 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.407, allocations: 1.156 kB / 0.5513 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.407, allocations: 0 / 0.5513 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.407, allocations: 0 / 0.5513 GB, free: 10.09 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007742/0.4078, allocations: 492.5 kB / 0.5517 GB, free: 9.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4078, allocations: 14.2 kB / 0.5518 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.518e-05/0.4079, allocations: 19.52 kB / 0.5518 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.141e-05/0.408, allocations: 75.7 kB / 0.5518 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.408, allocations: 21.58 kB / 0.5519 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4082, allocations: 175.9 kB / 0.552 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4083, allocations: 5.219 kB / 0.552 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.4083, allocations: 22.98 kB / 0.5521 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.4087, allocations: 218.8 kB / 0.5523 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4087, allocations: 11.52 kB / 0.5523 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.4087, allocations: 1.094 kB / 0.5523 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4087, allocations: 3.219 kB / 0.5523 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.409, allocations: 163.1 kB / 0.5524 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.4094, allocations: 324.2 kB / 0.5527 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.4098, allocations: 275.6 kB / 0.553 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.4101, allocations: 216.6 kB / 0.5532 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4101, allocations: 3.406 kB / 0.5532 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4102, allocations: 36.75 kB / 0.5533 GB, free: 8.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.724e-06/0.4102, allocations: 0 / 0.5533 GB, free: 8.527 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:268:5-268:157:writable] Error: Derivative of expression \"algorithm (r_rd, xsig_rd, xm_d) := PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.equiCircuit(2, {omega_nom * tc_d[1], omega_nom * tc_d[2]}, PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.T_open(x_d, xtr_d, {omega_nom * tc_d[1], omega_nom * tc_d[2]}), x_d, xsig_s, r_s, if0, alpha_if0 + 3.141592653589793, tol, true); (r_rq, xsig_rq, xm_q) := PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.equiCircuit(2, {omega_nom * tc_q[1], omega_nom * tc_q[2]}, PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.T_open(x_q, xtr_q, {omega_nom * tc_q[1], omega_nom * tc_q[2]}), x_q, xsig_s, r_s, 0.0, 0.0, 0.0, false); \" w.r.t. \"time\" is non-existent. Error: Internal error Differentiate.differentiateEquationTime failed for algorithm (r_rd, xsig_rd, xm_d) := PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.equiCircuit(2, {omega_nom * tc_d[1], omega_nom * tc_d[2]}, PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.T_open(x_d, xtr_d, {omega_nom * tc_d[1], omega_nom * tc_d[2]}), x_d, xsig_s, r_s, if0, alpha_if0 + 3.141592653589793, tol, true); (r_rq, xsig_rq, xm_q) := PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.equiCircuit(2, {omega_nom * tc_q[1], omega_nom * tc_q[2]}, PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.T_open(x_q, xtr_q, {omega_nom * tc_q[1], omega_nom * tc_q[2]}), x_q, xsig_s, r_s, 0.0, 0.0, 0.0, false); Error: Internal error - IndexReduction.pantelidesIndexReduction failed! Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1632899389369413] Failed to read output from testmodel.py, exit status != 0: 0.4188109989045188 0.437459193 0.026545954 Calling exit ...