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.001571/0.001571, 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.00152/0.00152, 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2357/0.2357, allocations: 38.53 MB / 353.2 MB, free: 12.53 MB / 286.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.003209/0.003209, allocations: 63.91 kB / 493.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3845, allocations: 62.47 MB / 0.5428 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.00389/0.3884, allocations: 2.261 MB / 0.545 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.3919, allocations: 2.113 MB / 0.5471 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.3919, allocations: 0.8125 kB / 0.5471 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3921, allocations: 14.52 kB / 0.5471 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3922, allocations: 41.27 kB / 0.5471 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.395, allocations: 0.9618 MB / 0.548 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3952, allocations: 97.98 kB / 0.5481 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.658e-05/0.3953, allocations: 10.52 kB / 0.5481 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.3954, allocations: 58.67 kB / 0.5482 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3956, allocations: 58.45 kB / 0.5483 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3956, allocations: 2.188 kB / 0.5483 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.3996, allocations: 2.179 MB / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.3996, allocations: 27.72 kB / 0.5504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.3997, allocations: 37.89 kB / 0.5505 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.4024, allocations: 1.367 MB / 0.5518 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4024, allocations: 4 kB / 0.5518 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4024, allocations: 0 / 0.5518 GB, free: 9.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4024, allocations: 1.188 kB / 0.5518 GB, free: 9.84 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.001049/0.4035, allocations: 493.7 kB / 0.5523 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.4035, allocations: 13.17 kB / 0.5523 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.509e-05/0.4036, allocations: 17.39 kB / 0.5523 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.4037, allocations: 70.36 kB / 0.5524 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.4038, allocations: 25.27 kB / 0.5524 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.404, allocations: 169.5 kB / 0.5525 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.404, allocations: 13.72 kB / 0.5526 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.4041, allocations: 14.31 kB / 0.5526 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.4045, allocations: 172.5 kB / 0.5527 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4045, allocations: 10.89 kB / 0.5527 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.4045, allocations: 5.938 kB / 0.5528 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4045, allocations: 3.438 kB / 0.5528 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.4047, allocations: 114.9 kB / 0.5529 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.4053, allocations: 336.2 kB / 0.5532 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.4058, allocations: 226.4 kB / 0.5534 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.406, allocations: 159.1 kB / 0.5536 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.4061, allocations: 3.344 kB / 0.5536 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.4061, allocations: 40.75 kB / 0.5536 GB, free: 8.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.4061, allocations: 3.938 kB / 0.5536 GB, free: 8.43 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.1227599669946358] Failed to read output from testmodel.py, exit status != 0: 0.41731642198283225 0.43567815299999996 0.029384176 Calling exit ...