Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.7 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 187.7 kB / 303.1 MB, free: 8.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5499/0.5499, allocations: 99.65 MB / 458 MB, free: 3.953 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 83.86 kB / 0.6129 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1554, allocations: 76.99 MB / 0.6881 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009864/0.1653, allocations: 8.08 MB / 0.696 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3363/0.5016, allocations: 2.513 MB / 0.6985 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.5029, allocations: 12.34 kB / 0.6985 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.5038, allocations: 319.4 kB / 0.6988 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.5065, allocations: 1.051 MB / 0.6998 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.5082, allocations: 0.768 MB / 0.7006 GB, free: 9.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002992/0.5112, allocations: 2.164 MB / 0.7027 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.5117, allocations: 271.3 kB / 0.7029 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.5132, allocations: 0.8726 MB / 0.7038 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.5144, allocations: 1.106 MB / 0.7049 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.5147, allocations: 175 kB / 0.705 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.5154, allocations: 354.5 kB / 0.7054 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.5158, allocations: 446.9 kB / 0.7058 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.5165, allocations: 0.865 MB / 0.7066 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.519, allocations: 2.189 MB / 0.7088 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.519, allocations: 0 / 0.7088 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.519, allocations: 2.812 kB / 0.7088 GB, free: 6.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.519, allocations: 0 / 0.7088 GB, free: 6.945 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.01312/0.5322, allocations: 3.657 MB / 0.7124 GB, free: 5.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5322, allocations: 15.8 kB / 0.7124 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.537, allocations: 0.7513 MB / 0.7131 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.539, allocations: 1.033 MB / 0.7141 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/0.5394, allocations: 426 kB / 0.7145 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.5396, allocations: 104.1 kB / 0.7146 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.5428, allocations: 1.37 MB / 0.716 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.5428, allocations: 0 / 0.716 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.543, allocations: 40.73 kB / 0.716 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.543, allocations: 21.12 kB / 0.716 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/0.5461, allocations: 1.325 MB / 0.7173 GB, free: 3.285 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008503/0.5546, allocations: 4.613 MB / 0.7218 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008621/0.5633, allocations: 2.355 MB / 0.7241 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.5656, allocations: 0.8344 MB / 0.7249 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.5658, allocations: 21.73 kB / 0.7249 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/0.5684, allocations: 1.06 MB / 0.726 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=125): time 3.296e-06/0.5684, allocations: 0 / 0.726 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125): time 0.04638/0.6148, allocations: 10.14 MB / 0.7359 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.6149, allocations: 121.4 kB / 0.736 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.6174, allocations: 1.345 MB / 0.7373 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004274/0.6178, allocations: 51.2 kB / 0.7374 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.6184, allocations: 0.5827 MB / 0.7379 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006844/0.6191, allocations: 476.5 kB / 0.7384 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.6202, allocations: 327.6 kB / 0.7387 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6203, allocations: 302.6 kB / 0.739 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.6243, allocations: 0.9613 MB / 0.7399 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.6283, allocations: 1.166 MB / 0.7411 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007425/0.6357, allocations: 2.077 MB / 0.7431 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.6357, allocations: 0 / 0.7431 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01794/0.6537, allocations: 3.795 MB / 0.7468 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.6537, allocations: 8 kB / 0.7468 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6537, allocations: 4 kB / 0.7468 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01662/0.6704, allocations: 2.735 MB / 0.7495 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.6729, allocations: 299.6 kB / 0.7498 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009137/0.6821, allocations: 2.715 MB / 0.7524 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.6849, allocations: 250.8 kB / 0.7527 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.6852, allocations: 67.97 kB / 0.7527 GB, free: 11.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008508/0.686, allocations: 298.6 kB / 0.753 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/0.6866, allocations: 159 kB / 0.7532 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/0.7042, allocations: 4.76 MB / 0.7578 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7042, allocations: 16 kB / 0.7578 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7042, allocations: 0 / 0.7578 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.7042, allocations: 7.969 kB / 0.7578 GB, free: 6.703 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/0.7256, allocations: 6.856 MB / 0.7645 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.7256, allocations: 0.875 kB / 0.7645 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/0.7265, allocations: 147.7 kB / 0.7647 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009621/0.7362, allocations: 2.207 MB / 0.7668 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/0.7364, allocations: 27.98 kB / 0.7668 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02986/0.7663, allocations: 10.11 MB / 0.7767 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7663, allocations: 4 kB / 0.7767 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/0.7865, allocations: 5.968 MB / 0.7826 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.7872, allocations: 198.6 kB / 0.7827 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.7876, allocations: 28 kB / 0.7828 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.7894, allocations: 139.8 kB / 0.7829 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007965/0.7902, allocations: 269.2 kB / 0.7832 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.7903, allocations: 35.98 kB / 0.7832 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001657/0.792, allocations: 0.9134 MB / 0.7841 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.792, allocations: 0 / 0.7841 GB, free: 11.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001613/0.7936, allocations: 0.5152 MB / 0.7846 GB, free: 11.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/0.7939, allocations: 156.8 kB / 0.7847 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009268/0.8032, allocations: 2.701 MB / 0.7874 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8032, allocations: 0 / 0.7874 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006811/0.81, allocations: 1.885 MB / 0.7892 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.8116, allocations: 127.2 kB / 0.7893 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.8178, allocations: 3.008 MB / 0.7923 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/0.8187, allocations: 1.204 MB / 0.7935 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006867/0.8193, allocations: 141.7 kB / 0.7936 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.8198, allocations: 99.41 kB / 0.7937 GB, free: 1.68 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.8198, allocations: 0 / 0.7937 GB, free: 1.68 MB / 0.545 GB Notification: Performance of Templates: time 0.04963/0.8694, allocations: 30.91 MB / 0.8239 GB, free: 2.785 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.104870543815196] Failed to read output from testmodel.py, exit status != 0: 0.8778219679370522 0.891623087 0.36959542999999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe5411617b0>