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.001703/0.001703, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001738/0.001738, allocations: 219 kB / 21.46 MB, free: 1.586 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.514/1.514, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.1857/0.1857, allocations: 38.5 MB / 349.4 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] 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.002016/0.002016, allocations: 63.69 kB / 487.8 MB, free: 32.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1278, allocations: 62.42 MB / 0.5374 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003821/0.1317, allocations: 2.176 MB / 0.5395 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.1353, allocations: 2.093 MB / 0.5415 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.1354, allocations: 0 / 0.5415 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.1356, allocations: 15.86 kB / 0.5416 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1357, allocations: 39.8 kB / 0.5416 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.1384, allocations: 0.83 MB / 0.5424 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1387, allocations: 99.55 kB / 0.5425 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.1387, allocations: 7.984 kB / 0.5425 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1389, allocations: 47.83 kB / 0.5426 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.139, allocations: 59.73 kB / 0.5426 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.139, allocations: 4 kB / 0.5426 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.1415, allocations: 1.587 MB / 0.5442 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1416, allocations: 35.89 kB / 0.5442 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.1417, allocations: 39.69 kB / 0.5442 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.1435, allocations: 1.336 MB / 0.5455 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1435, allocations: 0 / 0.5455 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1435, allocations: 0 / 0.5455 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1436, allocations: 0 / 0.5455 GB, free: 1.105 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.0008924/0.1444, allocations: 0.5461 MB / 0.5461 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1445, allocations: 12.03 kB / 0.5461 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.155e-05/0.1446, allocations: 16.11 kB / 0.5461 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.1446, allocations: 78.52 kB / 0.5462 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.1447, allocations: 20.8 kB / 0.5462 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1449, allocations: 219.9 kB / 0.5464 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.145, allocations: 12 kB / 0.5464 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.145, allocations: 15.95 kB / 0.5464 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.1453, allocations: 177.3 kB / 0.5466 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1454, allocations: 15.95 kB / 0.5466 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1454, allocations: 0 / 0.5466 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1454, allocations: 7.984 kB / 0.5466 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1456, allocations: 115.8 kB / 0.5467 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.146, allocations: 364.5 kB / 0.5471 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.1464, allocations: 223.6 kB / 0.5473 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.1466, allocations: 157.2 kB / 0.5474 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1466, allocations: 8 kB / 0.5474 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1467, allocations: 42.5 kB / 0.5475 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.383e-06/0.1467, allocations: 0 / 0.5475 GB, free: 14.93 MB / 414.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: 2.9497293420135975] Failed to read output from testmodel.py, exit status != 0: 0.15425128600327298 0.169510469 0.02288513 Calling exit ...