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.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.0009619/0.0009619, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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 0.9246/0.9246, allocations: 177.2 MB / 200.3 MB, free: 5.367 MB / 186.7 MB " [Timeout remaining time 179] 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.001408/0.001408, allocations: 159.4 kB / 256.9 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.3222/0.3222, allocations: 83.29 MB / 396.7 MB, free: 15.01 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 494.4 MB, free: 6.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.409e-05, allocations: 5.125 kB / 494.4 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.005788/0.005802, allocations: 7.729 MB / 0.4904 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.008662, allocations: 2.524 MB / 0.4928 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.009008, allocations: 12.94 kB / 0.4928 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.00955, allocations: 317.2 kB / 0.4931 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.01097, allocations: 1.187 MB / 0.4943 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.01177, allocations: 0.7125 MB / 0.495 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.01339, allocations: 2.201 MB / 0.4971 GB, free: 8.297 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.01381, allocations: 280.9 kB / 0.4974 GB, free: 8.004 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009753/0.01478, allocations: 1.24 MB / 0.4986 GB, free: 6.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.01548, allocations: 0.9088 MB / 0.4995 GB, free: 5.852 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.01566, allocations: 180 kB / 0.4997 GB, free: 5.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.01611, allocations: 371.7 kB / 0.5 GB, free: 5.312 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.01639, allocations: 470 kB / 0.5005 GB, free: 4.852 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.01679, allocations: 0.6157 MB / 0.5011 GB, free: 4.234 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.01806, allocations: 1.631 MB / 0.5027 GB, free: 2.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01807, allocations: 3.938 kB / 0.5027 GB, free: 2.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01807, allocations: 0.8125 kB / 0.5027 GB, free: 2.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.01808, allocations: 0 / 0.5027 GB, free: 2.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.005853/0.02393, allocations: 3.856 MB / 0.5064 GB, free: 14.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.02396, allocations: 12.03 kB / 0.5065 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.02619, allocations: 0.9198 MB / 0.5074 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.0271, allocations: 0.9822 MB / 0.5083 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.02735, allocations: 0.5575 MB / 0.5089 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.02748, allocations: 112 kB / 0.509 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.02842, allocations: 0.8723 MB / 0.5098 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.02844, allocations: 0 / 0.5098 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.02851, allocations: 36 kB / 0.5099 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.02852, allocations: 28 kB / 0.5099 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.02932, allocations: 0.5014 MB / 0.5104 GB, free: 10.52 MB / 442.7 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.003811/0.03314, allocations: 3.389 MB / 0.5137 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.03552, allocations: 1.372 MB / 0.515 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.0359, allocations: 345.9 kB / 0.5154 GB, free: 5.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.03599, allocations: 24.98 kB / 0.5154 GB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.03658, allocations: 0.591 MB / 0.516 GB, free: 4.656 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 2.605e-06/0.03658, allocations: 4 kB / 0.516 GB, free: 4.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.01505/0.05163, allocations: 6.874 MB / 0.5227 GB, free: 13.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.05167, allocations: 115.8 kB / 0.5228 GB, free: 13.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.05254, allocations: 1.175 MB / 0.5239 GB, free: 12.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.651e-05/0.05263, allocations: 49.7 kB / 0.524 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.05311, allocations: 0.6857 MB / 0.5246 GB, free: 11.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/0.05347, allocations: 491.8 kB / 0.5251 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/0.05388, allocations: 348.9 kB / 0.5254 GB, free: 10.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.05397, allocations: 484.8 kB / 0.5259 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.05453, allocations: 399.7 kB / 0.5263 GB, free: 9.969 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.0552, allocations: 0.6375 MB / 0.5269 GB, free: 9.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.05642, allocations: 1.131 MB / 0.528 GB, free: 8.078 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.05643, allocations: 0 / 0.528 GB, free: 8.078 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006153/0.06258, allocations: 3.591 MB / 0.5315 GB, free: 4.473 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.0626, allocations: 8 kB / 0.5315 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.06261, allocations: 4 kB / 0.5315 GB, free: 4.461 MB / 458.7 MB Warning: Initialization start-value cycle: the start attribute of 'sCRX.switch1.u1' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'sCRX.switch1.u1' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'sCRX.switch1.u1' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/0.06627, allocations: 2.172 MB / 0.5337 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.06687, allocations: 263.6 kB / 0.5339 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.06909, allocations: 1.948 MB / 0.5358 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.06995, allocations: 207 kB / 0.536 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.07004, allocations: 55.97 kB / 0.5361 GB, free: 15.78 MB / 474.7 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 (157): * Single equations (assignments): 156 * 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.0003232/0.07036, allocations: 236.3 kB / 0.5363 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.07058, allocations: 202.9 kB / 0.5365 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005493/0.07607, allocations: 3.026 MB / 0.5394 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.07608, allocations: 12 kB / 0.5394 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.07608, allocations: 8 kB / 0.5395 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.07609, allocations: 7.969 kB / 0.5395 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00641/0.0825, allocations: 4.158 MB / 0.5435 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.08251, allocations: 0 / 0.5435 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.08289, allocations: 147.8 kB / 0.5437 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005128/0.08802, allocations: 2.129 MB / 0.5457 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.08809, allocations: 31.98 kB / 0.5458 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.09547, allocations: 5.096 MB / 0.5507 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.09547, allocations: 0 / 0.5507 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/0.1016, allocations: 3.472 MB / 0.5541 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.1019, allocations: 198.6 kB / 0.5543 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.102, allocations: 31.94 kB / 0.5544 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.1026, allocations: 99.91 kB / 0.5545 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/0.103, allocations: 257.3 kB / 0.5547 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.103, allocations: 24 kB / 0.5547 GB, free: 12.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000509/0.1035, allocations: 0.6984 MB / 0.5554 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1035, allocations: 0 / 0.5554 GB, free: 11.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009777/0.1045, allocations: 0.5307 MB / 0.5559 GB, free: 11.19 MB / 490.7 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 (84): * Single equations (assignments): 83 * 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.0002652/0.1048, allocations: 159 kB / 0.5561 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.1078, allocations: 1.682 MB / 0.5577 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1078, allocations: 0 / 0.5577 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.1099, allocations: 1.365 MB / 0.5591 GB, free: 7.949 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.1104, allocations: 165 kB / 0.5592 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.1138, allocations: 2.677 MB / 0.5618 GB, free: 5.066 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.114, allocations: 279.2 kB / 0.5621 GB, free: 4.762 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.1143, allocations: 133.7 kB / 0.5622 GB, free: 4.629 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.1147, allocations: 218.2 kB / 0.5624 GB, free: 4.414 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1147, allocations: 0 / 0.5624 GB, free: 4.414 MB / 490.7 MB Notification: Performance of Templates: time 0.03237/0.147, allocations: 32.66 MB / 0.5943 GB, free: 3.934 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.114615777973086]