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.001312/0.001312, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002657/0.002657, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.1878/0.1878, allocations: 38.53 MB / 353.2 MB, free: 12.64 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.00208/0.00208, allocations: 67.89 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 62.47 MB / 0.5428 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004006/0.3416, allocations: 2.265 MB / 0.545 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3451, allocations: 2.111 MB / 0.5471 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.3452, allocations: 0 / 0.5471 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.3453, allocations: 18.12 kB / 0.5471 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3455, allocations: 33.16 kB / 0.5471 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.3483, allocations: 0.9659 MB / 0.548 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3486, allocations: 90.06 kB / 0.5481 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.3486, allocations: 15.41 kB / 0.5481 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.3488, allocations: 49.77 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3489, allocations: 62.88 kB / 0.5483 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3489, allocations: 2.312 kB / 0.5483 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.353, allocations: 2.176 MB / 0.5504 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.3531, allocations: 34.81 kB / 0.5504 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.3532, allocations: 42.59 kB / 0.5505 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.3554, allocations: 1.367 MB / 0.5518 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3554, allocations: 0 / 0.5518 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3554, allocations: 0 / 0.5518 GB, free: 9.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3554, allocations: 0.875 kB / 0.5518 GB, free: 9.875 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.0009875/0.3564, allocations: 493.7 kB / 0.5523 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3565, allocations: 14.27 kB / 0.5523 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.351e-05/0.3566, allocations: 24.17 kB / 0.5523 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.3567, allocations: 70.23 kB / 0.5524 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.3567, allocations: 21.92 kB / 0.5524 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.357, allocations: 165 kB / 0.5525 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.357, allocations: 9.688 kB / 0.5526 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.357, allocations: 18.11 kB / 0.5526 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.3574, allocations: 173 kB / 0.5527 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3574, allocations: 7.203 kB / 0.5527 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.3574, allocations: 9.094 kB / 0.5527 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3574, allocations: 3.375 kB / 0.5528 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.3576, allocations: 120.4 kB / 0.5529 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.3582, allocations: 335.5 kB / 0.5532 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.3585, allocations: 227.6 kB / 0.5534 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.3588, allocations: 168.1 kB / 0.5536 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3588, allocations: 6.125 kB / 0.5536 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3588, allocations: 36.22 kB / 0.5536 GB, free: 8.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.293e-06/0.3588, allocations: 0 / 0.5536 GB, free: 8.457 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.1109780489932746] Failed to read output from testmodel.py, exit status != 0: 0.36801392695633695 0.384539356 0.025940921000000002 Calling exit ...