Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001821/0.001821, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002604/0.002604, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2096/0.2096, allocations: 38.55 MB / 353.2 MB, free: 12.33 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.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_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.002186/0.002186, allocations: 67.84 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 62.47 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004707/0.3453, allocations: 2.223 MB / 0.5449 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.3489, allocations: 1.908 MB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.349, allocations: 0 / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.3491, allocations: 10.42 kB / 0.5468 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.3493, allocations: 44.56 kB / 0.5468 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.3525, allocations: 0.9685 MB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3527, allocations: 98.5 kB / 0.5478 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.3528, allocations: 11.23 kB / 0.5479 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3529, allocations: 45.69 kB / 0.5479 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.353, allocations: 66.41 kB / 0.548 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.353, allocations: 2.438 kB / 0.548 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.3565, allocations: 2 MB / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.3566, allocations: 34.84 kB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.3567, allocations: 30.33 kB / 0.55 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.3592, allocations: 1.331 MB / 0.5513 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3592, allocations: 0 / 0.5513 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3592, allocations: 1.344 kB / 0.5513 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3592, allocations: 0 / 0.5513 GB, free: 10.12 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.0008776/0.3601, allocations: 496.1 kB / 0.5518 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3602, allocations: 13.33 kB / 0.5518 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.072e-05/0.3602, allocations: 12.38 kB / 0.5518 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.769e-05/0.3603, allocations: 74.8 kB / 0.5518 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.3604, allocations: 22.3 kB / 0.5519 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3606, allocations: 161.4 kB / 0.552 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3606, allocations: 13.56 kB / 0.552 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.3607, allocations: 22.03 kB / 0.5521 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.361, allocations: 223.9 kB / 0.5523 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.361, allocations: 7.438 kB / 0.5523 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.361, allocations: 6.062 kB / 0.5523 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3611, allocations: 1.25 kB / 0.5523 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.3613, allocations: 163.4 kB / 0.5524 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.3617, allocations: 323.7 kB / 0.5527 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.3621, allocations: 276.2 kB / 0.553 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.3624, allocations: 217.3 kB / 0.5532 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.3624, allocations: 3.625 kB / 0.5532 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3624, allocations: 32.72 kB / 0.5533 GB, free: 8.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.3624, allocations: 0 / 0.5533 GB, free: 8.562 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.211120535968803] Failed to read output from testmodel.py, exit status != 0: 0.3713572530541569 0.386732097 0.024165170000000003 Calling exit ...