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.0007461/0.0007461, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.52 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.001054/0.001053, allocations: 172.5 kB / 291.3 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5039/0.5039, allocations: 91.93 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 16 kB / 0.5054 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3747, allocations: 72.46 MB / 0.5762 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.006759/0.3815, allocations: 9.026 MB / 0.585 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.3872, allocations: 2.898 MB / 0.5878 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.3888, allocations: 16.94 kB / 0.5878 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.3898, allocations: 283.3 kB / 0.5881 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.3926, allocations: 1.037 MB / 0.5891 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3942, allocations: 0.7706 MB / 0.5899 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3969, allocations: 2.442 MB / 0.5923 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.3976, allocations: 498.8 kB / 0.5927 GB, free: 26.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.399, allocations: 0.8638 MB / 0.5936 GB, free: 25.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.4003, allocations: 1.137 MB / 0.5947 GB, free: 25.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.4006, allocations: 102.4 kB / 0.5948 GB, free: 25.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.4014, allocations: 348.8 kB / 0.5951 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.4018, allocations: 411.3 kB / 0.5955 GB, free: 24.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008397/0.4026, allocations: 0.9441 MB / 0.5964 GB, free: 24.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.4043, allocations: 2.018 MB / 0.5984 GB, free: 23.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4043, allocations: 4 kB / 0.5984 GB, free: 23.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4044, allocations: 1.312 kB / 0.5984 GB, free: 23.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.4044, allocations: 0 / 0.5984 GB, free: 23.7 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.0132/0.4176, allocations: 3.685 MB / 0.602 GB, free: 22.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4177, allocations: 9.281 kB / 0.602 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.423, allocations: 0.7901 MB / 0.6028 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.4261, allocations: 1.284 MB / 0.604 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/0.4267, allocations: 488.1 kB / 0.6045 GB, free: 20.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/0.427, allocations: 133 kB / 0.6046 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.4309, allocations: 1.703 MB / 0.6063 GB, free: 20.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.431, allocations: 5.094 kB / 0.6063 GB, free: 20.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.4311, allocations: 54.69 kB / 0.6064 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.4312, allocations: 28.67 kB / 0.6064 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.4348, allocations: 1.587 MB / 0.6079 GB, free: 19.53 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.01187/0.4467, allocations: 5.917 MB / 0.6137 GB, free: 16.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00986/0.4566, allocations: 3.744 MB / 0.6174 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.4593, allocations: 1.079 MB / 0.6184 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.4599, allocations: 0.7354 MB / 0.6191 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002829/0.4627, allocations: 1.282 MB / 0.6204 GB, free: 13.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.009e-06/0.4627, allocations: 0 / 0.6204 GB, free: 13.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.0415/0.5042, allocations: 12.01 MB / 0.6321 GB, free: 3.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.5043, allocations: 149.8 kB / 0.6323 GB, free: 3.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.5069, allocations: 1.639 MB / 0.6339 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005033/0.5074, allocations: 65.7 kB / 0.6339 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.5079, allocations: 0.703 MB / 0.6346 GB, free: 1.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007853/0.5087, allocations: 0.5315 MB / 0.6351 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.509, allocations: 206 kB / 0.6353 GB, free: 312 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.509, allocations: 305.1 kB / 0.6356 GB, free: 4 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/0.5116, allocations: 1.16 MB / 0.6368 GB, free: 14.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.5143, allocations: 1.389 MB / 0.6381 GB, free: 13.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/0.5194, allocations: 2.495 MB / 0.6406 GB, free: 10.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.5194, allocations: 0 / 0.6406 GB, free: 10.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01099/0.5304, allocations: 4.409 MB / 0.6449 GB, free: 6.328 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.5305, allocations: 37.69 kB / 0.6449 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.5305, allocations: 4 kB / 0.6449 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009823/0.5404, allocations: 3.038 MB / 0.6479 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.5425, allocations: 379.5 kB / 0.6482 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00688/0.5494, allocations: 3.005 MB / 0.6512 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.5526, allocations: 350 kB / 0.6515 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/0.553, allocations: 71.98 kB / 0.6516 GB, free: 15.42 MB / 462.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.00096/0.554, allocations: 349.4 kB / 0.6519 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004943/0.5545, allocations: 185.7 kB / 0.6521 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/0.5738, allocations: 6.233 MB / 0.6582 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.5739, allocations: 19.98 kB / 0.6582 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.5739, allocations: 11.94 kB / 0.6582 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.732e-05/0.574, allocations: 7.969 kB / 0.6582 GB, free: 8.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.02378/0.5978, allocations: 8.713 MB / 0.6667 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.5978, allocations: 0 / 0.6667 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.5991, allocations: 167.8 kB / 0.6669 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009044/0.6081, allocations: 2.615 MB / 0.6694 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004185/0.6086, allocations: 31.98 kB / 0.6694 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02953/0.6381, allocations: 12.23 MB / 0.6814 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6382, allocations: 0 / 0.6814 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02242/0.6606, allocations: 7.519 MB / 0.6887 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008757/0.6615, allocations: 302.5 kB / 0.689 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007373/0.6623, allocations: 31.98 kB / 0.6891 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/0.6644, allocations: 207.8 kB / 0.6893 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/0.6654, allocations: 277.3 kB / 0.6895 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6655, allocations: 43.98 kB / 0.6896 GB, free: 7.984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.6675, allocations: 1.113 MB / 0.6906 GB, free: 6.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6675, allocations: 0 / 0.6906 GB, free: 6.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001994/0.6695, allocations: 0.6048 MB / 0.6912 GB, free: 6.273 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.0004136/0.6699, allocations: 167 kB / 0.6914 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.68, allocations: 3.503 MB / 0.6948 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.68, allocations: 0 / 0.6948 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007426/0.6875, allocations: 2.428 MB / 0.6972 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.6895, allocations: 174.2 kB / 0.6974 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/0.6968, allocations: 4.429 MB / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.6978, allocations: 1.339 MB / 0.703 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/0.6985, allocations: 111.4 kB / 0.7031 GB, free: 10 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.6985, allocations: 0 / 0.7031 GB, free: 10 MB / 0.4981 GB Notification: Performance of Templates: time 0.04552/0.7441, allocations: 33.65 MB / 0.736 GB, free: 8.332 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)