Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001335/0.001335, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001463/0.001463, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.11 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.186/0.186, allocations: 38.51 MB / 349.4 MB, free: 2.594 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_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.002094/0.002094, allocations: 71.89 kB / 487.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1415, allocations: 62.42 MB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004253/0.1457, allocations: 2.191 MB / 0.5395 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1477, allocations: 1.096 MB / 0.5406 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.1478, allocations: 0 / 0.5406 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.148, allocations: 23.84 kB / 0.5406 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1481, allocations: 47.8 kB / 0.5406 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1491, allocations: 294.9 kB / 0.5409 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1493, allocations: 119.5 kB / 0.541 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1494, allocations: 4.281 kB / 0.541 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1495, allocations: 55.83 kB / 0.5411 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1497, allocations: 79.69 kB / 0.5412 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1497, allocations: 4 kB / 0.5412 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007942/0.1505, allocations: 482.9 kB / 0.5416 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.1506, allocations: 43.81 kB / 0.5417 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1506, allocations: 39.75 kB / 0.5417 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.1513, allocations: 0.5142 MB / 0.5422 GB, free: 2.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1513, allocations: 0 / 0.5422 GB, free: 2.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1513, allocations: 4 kB / 0.5422 GB, free: 2.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1513, allocations: 4 kB / 0.5422 GB, free: 2.555 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.0006022/0.1519, allocations: 472.1 kB / 0.5427 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.152, allocations: 8.031 kB / 0.5427 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.326e-05/0.152, allocations: 16.16 kB / 0.5427 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.65e-05/0.1521, allocations: 70.58 kB / 0.5428 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.1522, allocations: 20.84 kB / 0.5428 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1524, allocations: 220 kB / 0.543 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1524, allocations: 8.125 kB / 0.543 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.1525, allocations: 20 kB / 0.543 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1528, allocations: 182.1 kB / 0.5432 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1528, allocations: 7.953 kB / 0.5432 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1528, allocations: 4 kB / 0.5432 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1528, allocations: 0 / 0.5432 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.1531, allocations: 123.8 kB / 0.5433 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1535, allocations: 356.5 kB / 0.5437 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1538, allocations: 222.4 kB / 0.5439 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.1541, allocations: 156.8 kB / 0.544 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1541, allocations: 4 kB / 0.544 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.1541, allocations: 42.5 kB / 0.5441 GB, free: 496 kB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/0.1541, allocations: 0 / 0.5441 GB, free: 496 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: 2.9494882189901546] Failed to read output from testmodel.py, exit status != 0: 0.16235457599395886 0.17948160399999996 0.024796584 Calling exit ...