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.001683/0.001683, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00211/0.00211, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.584/1.584, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.1951/0.1951, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.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.003326/0.003326, allocations: 74.17 kB / 493.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4096, allocations: 62.46 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004067/0.4136, allocations: 2.238 MB / 0.5449 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.4155, allocations: 1.019 MB / 0.5459 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.4156, allocations: 1.031 kB / 0.5459 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.4157, allocations: 25.91 kB / 0.5459 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.4159, allocations: 49.11 kB / 0.546 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.4171, allocations: 339.3 kB / 0.5463 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.4174, allocations: 120.3 kB / 0.5464 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.4174, allocations: 5.828 kB / 0.5464 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.4176, allocations: 56.5 kB / 0.5465 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.4178, allocations: 71.66 kB / 0.5465 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.4178, allocations: 6.906 kB / 0.5465 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.419, allocations: 0.6071 MB / 0.5471 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.4191, allocations: 34.14 kB / 0.5472 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.4192, allocations: 34.19 kB / 0.5472 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.4202, allocations: 0.5344 MB / 0.5477 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.4202, allocations: 1.094 kB / 0.5477 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4202, allocations: 0 / 0.5477 GB, free: 12.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4202, allocations: 0 / 0.5477 GB, free: 12.54 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.0008003/0.421, allocations: 397 kB / 0.5481 GB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.138e-05/0.4211, allocations: 13.89 kB / 0.5481 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.664e-05/0.4212, allocations: 19.45 kB / 0.5481 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.4213, allocations: 75.56 kB / 0.5482 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.4214, allocations: 21.45 kB / 0.5482 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.4217, allocations: 146.5 kB / 0.5484 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.4217, allocations: 13.78 kB / 0.5484 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.4218, allocations: 17.8 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.4223, allocations: 235.6 kB / 0.5486 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.4223, allocations: 7.984 kB / 0.5486 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.4223, allocations: 9.281 kB / 0.5486 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.4224, allocations: 2.312 kB / 0.5486 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.4227, allocations: 179.7 kB / 0.5488 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4232, allocations: 315.2 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.4237, allocations: 272.3 kB / 0.5494 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.424, allocations: 220.5 kB / 0.5496 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.424, allocations: 3.188 kB / 0.5496 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.4241, allocations: 37.25 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/0.4241, allocations: 0 / 0.5496 GB, free: 11.06 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 (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.3014474040828645] Failed to read output from testmodel.py, exit status != 0: 0.435752238961868 0.45180689500000004 0.027963853 Calling exit ...