Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001375/0.001375, allocations: 110.3 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.001481/0.001481, allocations: 217.4 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.55/1.55, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.1973/0.1973, allocations: 38.5 MB / 349.4 MB, free: 2.562 MB / 270.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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",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.002045/0.002045, allocations: 63.91 kB / 487.8 MB, free: 22.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1321, allocations: 62.42 MB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003777/0.1359, allocations: 2.185 MB / 0.5395 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1378, allocations: 1.111 MB / 0.5406 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.1378, allocations: 0 / 0.5406 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.138, allocations: 11.91 kB / 0.5406 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1381, allocations: 55.73 kB / 0.5406 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1391, allocations: 279.2 kB / 0.5409 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1393, allocations: 111.6 kB / 0.541 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.1394, allocations: 12.27 kB / 0.541 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1395, allocations: 63.75 kB / 0.5411 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1397, allocations: 71.72 kB / 0.5412 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1397, allocations: 4 kB / 0.5412 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.1405, allocations: 483 kB / 0.5416 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.1405, allocations: 39.83 kB / 0.5417 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1406, allocations: 43.73 kB / 0.5417 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.1413, allocations: 0.5181 MB / 0.5422 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1413, allocations: 0 / 0.5422 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1413, allocations: 4 kB / 0.5422 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1413, allocations: 0 / 0.5422 GB, free: 2.516 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000641/0.1419, allocations: 472.1 kB / 0.5427 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.142, allocations: 15.97 kB / 0.5427 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.185e-05/0.1421, allocations: 12.16 kB / 0.5427 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.353e-05/0.1422, allocations: 78.52 kB / 0.5428 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.1422, allocations: 20.84 kB / 0.5428 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1425, allocations: 216.1 kB / 0.543 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1425, allocations: 12.12 kB / 0.543 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.1425, allocations: 16 kB / 0.543 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1429, allocations: 182.1 kB / 0.5432 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1429, allocations: 11.94 kB / 0.5432 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1429, allocations: 4 kB / 0.5432 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1429, allocations: 4 kB / 0.5432 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1431, allocations: 119.8 kB / 0.5433 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.1436, allocations: 356.6 kB / 0.5437 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.144, allocations: 214.4 kB / 0.5439 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.1442, allocations: 164.8 kB / 0.544 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1442, allocations: 4 kB / 0.544 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1442, allocations: 30.56 kB / 0.5441 GB, free: 456 kB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 1.373e-06/0.1442, allocations: 0 / 0.5441 GB, free: 456 kB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:268:5-268:157:writable] Error: Derivative of expression \"algorithm (Tc_d, To_d, xtr_d) := PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.transientData(2, x_d, xsig_s, r_s, xm_d, xsig_rd, r_rd); tc_d := {Tc_d[1] / omega_nom, Tc_d[2] / omega_nom}; to_d := {To_d[1] / omega_nom, To_d[2] / omega_nom}; (Tc_q, To_q, xtr_q) := PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.transientData(2, x_q, xsig_s, r_s, {0.0}, xsig_rq, r_rq); tc_q := {Tc_q[1] / omega_nom, Tc_q[2] / omega_nom}; to_q := {To_q[1] / omega_nom, To_q[2] / omega_nom}; \" w.r.t. \"time\" is non-existent. Error: Internal error Differentiate.differentiateEquationTime failed for algorithm (Tc_d, To_d, xtr_d) := PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.transientData(2, x_d, xsig_s, r_s, xm_d, xsig_rd, r_rd); tc_d := {Tc_d[1] / omega_nom, Tc_d[2] / omega_nom}; to_d := {To_d[1] / omega_nom, To_d[2] / omega_nom}; (Tc_q, To_q, xtr_q) := PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.transientData(2, x_q, xsig_s, r_s, {0.0}, xsig_rq, r_rq); tc_q := {Tc_q[1] / omega_nom, Tc_q[2] / omega_nom}; to_q := {To_q[1] / omega_nom, To_q[2] / omega_nom}; 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.0006396080134436] Failed to read output from testmodel.py, exit status != 0: 0.15360350999981165 0.16909595100000002 0.024699763000000003 Calling exit ...