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.001754/0.001754, 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.002359/0.002359, 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.578/1.578, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.21/0.21, allocations: 38.53 MB / 353.2 MB, free: 12.57 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.003187/0.003187, allocations: 63.91 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3413, allocations: 62.48 MB / 0.5428 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003818/0.3451, allocations: 2.271 MB / 0.545 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.3474, allocations: 1.111 MB / 0.5461 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.3475, allocations: 1.75 kB / 0.5461 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3476, allocations: 17.69 kB / 0.5461 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3478, allocations: 56.25 kB / 0.5462 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.349, allocations: 343 kB / 0.5465 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.3492, allocations: 112.1 kB / 0.5466 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.3493, allocations: 6.75 kB / 0.5466 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3495, allocations: 59.25 kB / 0.5467 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3496, allocations: 80.44 kB / 0.5467 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.3496, allocations: 2.688 kB / 0.5467 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3507, allocations: 0.6486 MB / 0.5474 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.3508, allocations: 41.89 kB / 0.5474 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.3509, allocations: 39.11 kB / 0.5474 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007677/0.3516, allocations: 0.5432 MB / 0.548 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3516, allocations: 0 / 0.548 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3516, allocations: 4 kB / 0.548 GB, free: 12.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3517, allocations: 1.125 kB / 0.548 GB, free: 12.56 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.0005608/0.3522, allocations: 397.8 kB / 0.5484 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3523, allocations: 13.89 kB / 0.5484 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.795e-05/0.3523, allocations: 16.39 kB / 0.5484 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.3524, allocations: 70.31 kB / 0.5485 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.3525, allocations: 21.42 kB / 0.5485 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.3527, allocations: 147 kB / 0.5486 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3527, allocations: 12.66 kB / 0.5486 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.3528, allocations: 17.83 kB / 0.5486 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.3531, allocations: 180.4 kB / 0.5488 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3532, allocations: 3.656 kB / 0.5488 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3532, allocations: 5.219 kB / 0.5488 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3532, allocations: 6.062 kB / 0.5488 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.3534, allocations: 124.8 kB / 0.5489 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.3539, allocations: 330.4 kB / 0.5493 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.3543, allocations: 218 kB / 0.5495 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.3545, allocations: 158.5 kB / 0.5496 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3545, allocations: 2.5 kB / 0.5496 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3546, allocations: 32.62 kB / 0.5497 GB, free: 11.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.3546, allocations: 0 / 0.5497 GB, free: 11.25 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.2493240020121448] Failed to read output from testmodel.py, exit status != 0: 0.3646830159705132 0.38047981299999994 0.025320948000000003 Calling exit ...