Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) 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.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 222.9 MB / 239.9 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 192.4 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5628/0.5628, allocations: 92.61 MB / 433 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.88 kB / 0.5034 GB, free: 6.926 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4274, allocations: 71.39 MB / 0.5731 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.009514/0.437, allocations: 9.254 MB / 0.5821 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.4434, allocations: 2.875 MB / 0.5849 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.4455, allocations: 16.66 kB / 0.5849 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.4469, allocations: 367.9 kB / 0.5853 GB, free: 28.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.4506, allocations: 1.177 MB / 0.5864 GB, free: 27.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4527, allocations: 0.8451 MB / 0.5873 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003607/0.4563, allocations: 2.589 MB / 0.5898 GB, free: 25.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.4574, allocations: 0.5346 MB / 0.5903 GB, free: 25.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.4595, allocations: 1.024 MB / 0.5913 GB, free: 25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.4617, allocations: 1.288 MB / 0.5926 GB, free: 24.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009796/0.4627, allocations: 220.2 kB / 0.5928 GB, free: 24.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.4645, allocations: 477.4 kB / 0.5932 GB, free: 24.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.4655, allocations: 0.5348 MB / 0.5938 GB, free: 23.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.4669, allocations: 1.056 MB / 0.5948 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.4701, allocations: 2.702 MB / 0.5974 GB, free: 22.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4701, allocations: 0 / 0.5974 GB, free: 22.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4701, allocations: 0 / 0.5974 GB, free: 22.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.591e-05/0.4702, allocations: 0 / 0.5974 GB, free: 22.04 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01475/0.4849, allocations: 3.955 MB / 0.6013 GB, free: 20.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.485, allocations: 8.219 kB / 0.6013 GB, free: 20.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.4899, allocations: 0.7922 MB / 0.6021 GB, free: 20.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.4928, allocations: 1.286 MB / 0.6033 GB, free: 19.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/0.4932, allocations: 471.2 kB / 0.6038 GB, free: 18.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.4935, allocations: 133.9 kB / 0.6039 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.4971, allocations: 1.624 MB / 0.6055 GB, free: 18.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.4971, allocations: 1.75 kB / 0.6055 GB, free: 18.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.4973, allocations: 50.23 kB / 0.6055 GB, free: 18.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.4973, allocations: 27 kB / 0.6056 GB, free: 18.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.5007, allocations: 1.502 MB / 0.607 GB, free: 17.66 MB / 430.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.01181/0.5126, allocations: 5.825 MB / 0.6127 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008974/0.5216, allocations: 3.182 MB / 0.6158 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.5241, allocations: 0.9917 MB / 0.6168 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005267/0.5247, allocations: 0.7299 MB / 0.6175 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002592/0.5273, allocations: 1.204 MB / 0.6187 GB, free: 11.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.567e-06/0.5273, allocations: 0 / 0.6187 GB, free: 11.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03976/0.5671, allocations: 9.977 MB / 0.6284 GB, free: 4.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.5672, allocations: 145.8 kB / 0.6286 GB, free: 4.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.5702, allocations: 1.654 MB / 0.6302 GB, free: 2.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005615/0.5708, allocations: 57.7 kB / 0.6302 GB, free: 2.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.5712, allocations: 0.703 MB / 0.6309 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.5718, allocations: 0.5354 MB / 0.6315 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006561/0.5725, allocations: 391.9 kB / 0.6318 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.5725, allocations: 301.1 kB / 0.6321 GB, free: 472 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.5748, allocations: 1.082 MB / 0.6332 GB, free: 15.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/0.5776, allocations: 1.311 MB / 0.6345 GB, free: 14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/0.5827, allocations: 2.323 MB / 0.6367 GB, free: 11.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.5827, allocations: 4 kB / 0.6367 GB, free: 11.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.0109/0.5936, allocations: 4.006 MB / 0.6406 GB, free: 7.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.5937, allocations: 33.69 kB / 0.6407 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.5937, allocations: 8 kB / 0.6407 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009781/0.6035, allocations: 2.655 MB / 0.6433 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.6057, allocations: 387.4 kB / 0.6436 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/0.6127, allocations: 2.687 MB / 0.6463 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.6161, allocations: 298 kB / 0.6465 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.6164, allocations: 75.98 kB / 0.6466 GB, free: 1.344 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0009637/0.6174, allocations: 346.3 kB / 0.6469 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005509/0.6179, allocations: 185.7 kB / 0.6471 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/0.6359, allocations: 5.171 MB / 0.6522 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/0.636, allocations: 16 kB / 0.6522 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.636, allocations: 0 / 0.6522 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.716e-05/0.6361, allocations: 15.97 kB / 0.6522 GB, free: 11.59 MB / 462.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 postOpt removeSimpleEquations (simulation): time 0.02301/0.6591, allocations: 7.643 MB / 0.6597 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.6591, allocations: 3.938 kB / 0.6597 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6603, allocations: 171.7 kB / 0.6598 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00847/0.6688, allocations: 2.244 MB / 0.662 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004342/0.6693, allocations: 35.98 kB / 0.6621 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03146/0.7008, allocations: 12.07 MB / 0.6739 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7008, allocations: 0 / 0.6739 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/0.7224, allocations: 6.367 MB / 0.6801 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.7236, allocations: 298.5 kB / 0.6804 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.7246, allocations: 35.98 kB / 0.6804 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/0.7272, allocations: 163.8 kB / 0.6805 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/0.7283, allocations: 289.2 kB / 0.6808 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.7285, allocations: 43.98 kB / 0.6809 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002306/0.7308, allocations: 1.109 MB / 0.6819 GB, free: 12.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7308, allocations: 0 / 0.6819 GB, free: 12.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002304/0.7331, allocations: 0.6009 MB / 0.6825 GB, free: 12.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004813/0.7336, allocations: 163.1 kB / 0.6827 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01148/0.7451, allocations: 3.241 MB / 0.6859 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.7452, allocations: 192 / 0.6859 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00793/0.7531, allocations: 2.183 MB / 0.688 GB, free: 6.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.7562, allocations: 179.2 kB / 0.6882 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/0.7649, allocations: 3.649 MB / 0.6917 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7661, allocations: 1.339 MB / 0.693 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008146/0.7669, allocations: 127.4 kB / 0.6932 GB, free: 1.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7669, allocations: 0 / 0.6932 GB, free: 1.043 MB / 494.1 MB Notification: Performance of Templates: time 0.06192/0.8289, allocations: 33.84 MB / 0.7262 GB, free: 15.18 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)