Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008765/0.0008763, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.404/1.404, allocations: 223.3 MB / 239.4 MB, free: 5.477 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.001289/0.001289, allocations: 184.5 kB / 290.6 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5301/0.5301, allocations: 91.93 MB / 433.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 12 kB / 0.5048 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3561, allocations: 72.46 MB / 0.5755 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006389/0.3625, allocations: 8.109 MB / 0.5835 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.3674, allocations: 2.591 MB / 0.586 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.3688, allocations: 15 kB / 0.586 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.3698, allocations: 239.3 kB / 0.5862 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.3726, allocations: 0.9868 MB / 0.5872 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3738, allocations: 0.6288 MB / 0.5878 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3759, allocations: 2.075 MB / 0.5898 GB, free: 27.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.3764, allocations: 370 kB / 0.5902 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008962/0.3773, allocations: 0.7654 MB / 0.5909 GB, free: 26.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.3782, allocations: 1.011 MB / 0.5919 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.3784, allocations: 88.97 kB / 0.592 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.3791, allocations: 312.2 kB / 0.5923 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.3794, allocations: 354.7 kB / 0.5926 GB, free: 25.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.38, allocations: 0.8266 MB / 0.5934 GB, free: 25.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.3818, allocations: 2.145 MB / 0.5955 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3818, allocations: 0 / 0.5955 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3818, allocations: 5 kB / 0.5955 GB, free: 24.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.3819, allocations: 0 / 0.5955 GB, free: 24.59 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.012/0.3939, allocations: 3.327 MB / 0.5988 GB, free: 23.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3939, allocations: 10.14 kB / 0.5988 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.3989, allocations: 0.7555 MB / 0.5995 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.4014, allocations: 1.104 MB / 0.6006 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/0.4018, allocations: 443.9 kB / 0.601 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.4022, allocations: 116 kB / 0.6012 GB, free: 21.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.4054, allocations: 1.514 MB / 0.6026 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4054, allocations: 0 / 0.6026 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4055, allocations: 37.17 kB / 0.6027 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.4056, allocations: 27.09 kB / 0.6027 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.4088, allocations: 1.438 MB / 0.6041 GB, free: 20.93 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.009348/0.4182, allocations: 5.017 MB / 0.609 GB, free: 18.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009211/0.4274, allocations: 3.473 MB / 0.6124 GB, free: 16.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.4297, allocations: 0.9984 MB / 0.6134 GB, free: 16.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.4298, allocations: 23.02 kB / 0.6134 GB, free: 16.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002417/0.4322, allocations: 1.142 MB / 0.6145 GB, free: 16.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.827e-06/0.4323, allocations: 0 / 0.6145 GB, free: 16.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04445/0.4767, allocations: 11.98 MB / 0.6262 GB, free: 9.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.4768, allocations: 115.8 kB / 0.6263 GB, free: 9.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.479, allocations: 1.411 MB / 0.6277 GB, free: 7.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.4793, allocations: 53.7 kB / 0.6277 GB, free: 7.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.4797, allocations: 0.6001 MB / 0.6283 GB, free: 7.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.4801, allocations: 469.5 kB / 0.6288 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.4803, allocations: 173.6 kB / 0.6289 GB, free: 6.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.4803, allocations: 301.1 kB / 0.6292 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.4823, allocations: 1.054 MB / 0.6303 GB, free: 5.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.4844, allocations: 1.252 MB / 0.6315 GB, free: 3.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/0.4885, allocations: 2.238 MB / 0.6337 GB, free: 1.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.4885, allocations: 3.938 kB / 0.6337 GB, free: 1.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0101/0.4986, allocations: 4.109 MB / 0.6377 GB, free: 13.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.4987, allocations: 4 kB / 0.6377 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4987, allocations: 7.984 kB / 0.6377 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/0.51, allocations: 3.364 MB / 0.641 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.5116, allocations: 267.6 kB / 0.6412 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008188/0.5198, allocations: 3.316 MB / 0.6445 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.5225, allocations: 298.3 kB / 0.6448 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.5227, allocations: 67.97 kB / 0.6448 GB, free: 6.031 MB / 446.1 MB 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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0006781/0.5234, allocations: 303.9 kB / 0.6451 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.5238, allocations: 161.9 kB / 0.6453 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/0.5425, allocations: 5.862 MB / 0.651 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/0.5426, allocations: 12 kB / 0.651 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.5426, allocations: 4 kB / 0.651 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/0.5427, allocations: 11.91 kB / 0.651 GB, free: 15.66 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.02289/0.5656, allocations: 7.941 MB / 0.6588 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.5657, allocations: 32 / 0.6588 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/0.5667, allocations: 147.8 kB / 0.6589 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008418/0.5751, allocations: 2.513 MB / 0.6614 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/0.5754, allocations: 24 kB / 0.6614 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.6023, allocations: 10.33 MB / 0.6715 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6024, allocations: 0 / 0.6715 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/0.6247, allocations: 7.083 MB / 0.6784 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.626, allocations: 282.6 kB / 0.6787 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/0.6266, allocations: 20 kB / 0.6787 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.6286, allocations: 183.8 kB / 0.6789 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/0.6297, allocations: 261.2 kB / 0.6791 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.6298, allocations: 32 kB / 0.6791 GB, free: 2.512 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00252/0.6324, allocations: 0.9581 MB / 0.6801 GB, free: 1.555 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.6324, allocations: 0 / 0.6801 GB, free: 1.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00225/0.6346, allocations: 0.523 MB / 0.6806 GB, free: 1.031 MB / 478.1 MB 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,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (83): * Single equations (assignments): 82 * 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.0005123/0.6352, allocations: 155.1 kB / 0.6807 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.6459, allocations: 3.216 MB / 0.6839 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6459, allocations: 0 / 0.6839 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006744/0.6527, allocations: 2.174 MB / 0.686 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6541, allocations: 137.1 kB / 0.6861 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/0.6602, allocations: 3.723 MB / 0.6898 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.661, allocations: 1.227 MB / 0.691 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007427/0.6618, allocations: 138 kB / 0.6911 GB, free: 6.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.6621, allocations: 95.34 kB / 0.6912 GB, free: 6.098 MB / 494.1 MB Notification: Performance of SimCode: time 1.974e-06/0.6622, allocations: 0 / 0.6912 GB, free: 6.098 MB / 494.1 MB Notification: Performance of Templates: time 0.04313/0.7053, allocations: 26.71 MB / 0.7173 GB, free: 11.41 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)