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.001342/0.001342, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001482/0.001482, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.505/1.505, 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.1853/0.1853, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.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.00205/0.00205, allocations: 70.55 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3834, allocations: 62.47 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003929/0.3873, allocations: 2.266 MB / 0.545 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3894, allocations: 1.116 MB / 0.5461 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.3894, allocations: 0 / 0.5461 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.3896, allocations: 14.66 kB / 0.5461 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3898, allocations: 60.53 kB / 0.5462 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.391, allocations: 339.9 kB / 0.5465 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.3912, allocations: 118.7 kB / 0.5466 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.3913, allocations: 2.75 kB / 0.5466 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3914, allocations: 55.89 kB / 0.5466 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3916, allocations: 76.83 kB / 0.5467 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3916, allocations: 2.344 kB / 0.5467 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.3928, allocations: 0.6564 MB / 0.5474 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.3928, allocations: 37.64 kB / 0.5474 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.3929, allocations: 39.53 kB / 0.5474 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000832/0.3937, allocations: 0.5381 MB / 0.548 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3937, allocations: 1.125 kB / 0.548 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3937, allocations: 0 / 0.548 GB, free: 12.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3938, allocations: 0 / 0.548 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.0006193/0.3944, allocations: 404.3 kB / 0.5483 GB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3944, allocations: 13.98 kB / 0.5484 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.058e-05/0.3945, allocations: 15.45 kB / 0.5484 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.474e-05/0.3946, allocations: 82.58 kB / 0.5485 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.3946, allocations: 21.55 kB / 0.5485 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3948, allocations: 149.4 kB / 0.5486 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3948, allocations: 13.41 kB / 0.5486 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.3949, allocations: 17.86 kB / 0.5486 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.3952, allocations: 180.3 kB / 0.5488 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3952, allocations: 6.25 kB / 0.5488 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.3952, allocations: 5.844 kB / 0.5488 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3952, allocations: 2.844 kB / 0.5488 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3954, allocations: 116.1 kB / 0.5489 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3959, allocations: 331 kB / 0.5493 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.3962, allocations: 216.8 kB / 0.5495 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.3965, allocations: 163.9 kB / 0.5496 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3965, allocations: 6.969 kB / 0.5496 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.3965, allocations: 32.03 kB / 0.5497 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 1.653e-06/0.3965, allocations: 0 / 0.5497 GB, free: 11.21 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.0793503599707037] Failed to read output from testmodel.py, exit status != 0: 0.4053495490225032 0.42158804399999994 0.024356709 Calling exit ...