Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001199/0.001199, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.882/0.882, allocations: 177.2 MB / 200.3 MB, free: 5.352 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.001208/0.001208, allocations: 163.7 kB / 256.9 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2718/0.2718, allocations: 80.24 MB / 393.7 MB, free: 3.031 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 1.422 kB / 490.3 MB, free: 62.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.774e-05, allocations: 5.219 kB / 490.3 MB, free: 62.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007343/0.007371, allocations: 7.743 MB / 498 MB, free: 55.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.01265, allocations: 2.52 MB / 0.4888 GB, free: 52.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.01427, allocations: 16.62 kB / 0.4888 GB, free: 52.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.01538, allocations: 326 kB / 0.4891 GB, free: 52.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.01872, allocations: 1.174 MB / 0.4903 GB, free: 51.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.02032, allocations: 0.7005 MB / 0.491 GB, free: 50.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.02312, allocations: 2.209 MB / 0.4931 GB, free: 48.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.02376, allocations: 279.1 kB / 0.4934 GB, free: 47.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.02583, allocations: 1.239 MB / 0.4946 GB, free: 46.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.02714, allocations: 0.9074 MB / 0.4955 GB, free: 45.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004995/0.02764, allocations: 180 kB / 0.4957 GB, free: 45.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.02844, allocations: 368.3 kB / 0.496 GB, free: 45.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.02875, allocations: 478.8 kB / 0.4965 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007646/0.02952, allocations: 0.6152 MB / 0.4971 GB, free: 44.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.03172, allocations: 1.624 MB / 0.4986 GB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.03172, allocations: 3.938 kB / 0.4987 GB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03172, allocations: 0 / 0.4987 GB, free: 42.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.74e-05/0.03177, allocations: 0.8125 kB / 0.4987 GB, free: 42.45 MB / 410.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.008884/0.04065, allocations: 3.868 MB / 0.5024 GB, free: 38.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.0407, allocations: 12.03 kB / 0.5024 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/0.04395, allocations: 0.916 MB / 0.5033 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.04506, allocations: 0.9744 MB / 0.5043 GB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.0453, allocations: 0.5626 MB / 0.5048 GB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.04546, allocations: 119.9 kB / 0.505 GB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.04658, allocations: 0.8621 MB / 0.5058 GB, free: 34.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.0466, allocations: 0.5312 kB / 0.5058 GB, free: 34.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.04668, allocations: 40.62 kB / 0.5058 GB, free: 34.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.0467, allocations: 24 kB / 0.5059 GB, free: 34.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008178/0.04752, allocations: 0.5025 MB / 0.5063 GB, free: 34.41 MB / 410.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.004486/0.052, allocations: 3.381 MB / 0.5096 GB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.05491, allocations: 1.377 MB / 0.511 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.05535, allocations: 357.8 kB / 0.5113 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-05/0.05544, allocations: 24.98 kB / 0.5114 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.05609, allocations: 0.5871 MB / 0.5119 GB, free: 28.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.827e-06/0.05609, allocations: 4 kB / 0.5119 GB, free: 28.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.01838/0.07448, allocations: 6.87 MB / 0.5186 GB, free: 21.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.07451, allocations: 115.8 kB / 0.5188 GB, free: 21.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.07539, allocations: 1.183 MB / 0.5199 GB, free: 20.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/0.07548, allocations: 49.7 kB / 0.52 GB, free: 20.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.0758, allocations: 0.678 MB / 0.5206 GB, free: 19.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.07607, allocations: 487.7 kB / 0.5211 GB, free: 19.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.07651, allocations: 360.9 kB / 0.5214 GB, free: 18.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.07655, allocations: 480.8 kB / 0.5219 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.07723, allocations: 395.8 kB / 0.5223 GB, free: 17.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.078, allocations: 0.6492 MB / 0.5229 GB, free: 17.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.07941, allocations: 1.127 MB / 0.524 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.07941, allocations: 0 / 0.524 GB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007337/0.08675, allocations: 3.576 MB / 0.5275 GB, free: 12.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.08677, allocations: 12 kB / 0.5275 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.08678, allocations: 4 kB / 0.5275 GB, free: 12.4 MB / 410.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.00384/0.09062, allocations: 2.18 MB / 0.5296 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.09139, allocations: 267.6 kB / 0.5299 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.09361, allocations: 1.952 MB / 0.5318 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.0951, allocations: 202.9 kB / 0.532 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.0952, allocations: 47.98 kB / 0.532 GB, free: 7.719 MB / 410.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.0003451/0.09554, allocations: 244.2 kB / 0.5323 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.09579, allocations: 198.9 kB / 0.5325 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.1007, allocations: 3.022 MB / 0.5354 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1007, allocations: 12 kB / 0.5354 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1007, allocations: 4 kB / 0.5354 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.1007, allocations: 7.969 kB / 0.5354 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.1069, allocations: 4.162 MB / 0.5395 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1069, allocations: 0 / 0.5395 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.1073, allocations: 147.7 kB / 0.5396 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00504/0.1123, allocations: 2.126 MB / 0.5417 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.1124, allocations: 31.98 kB / 0.5417 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/0.1202, allocations: 5.096 MB / 0.5467 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1202, allocations: 4 kB / 0.5467 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006191/0.1264, allocations: 3.468 MB / 0.5501 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.1267, allocations: 190.6 kB / 0.5503 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.1269, allocations: 31.94 kB / 0.5503 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.1275, allocations: 103.9 kB / 0.5504 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.128, allocations: 261.2 kB / 0.5507 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.128, allocations: 27.98 kB / 0.5507 GB, free: 4.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006033/0.1286, allocations: 0.7023 MB / 0.5514 GB, free: 3.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1286, allocations: 0 / 0.5514 GB, free: 3.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001007/0.1296, allocations: 0.5268 MB / 0.5519 GB, free: 3.109 MB / 426.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.0002808/0.1299, allocations: 159 kB / 0.552 GB, free: 2.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.1331, allocations: 1.674 MB / 0.5537 GB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1331, allocations: 4.062 kB / 0.5537 GB, free: 1.262 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.1352, allocations: 1.357 MB / 0.555 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.1359, allocations: 165 kB / 0.5552 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.1398, allocations: 2.688 MB / 0.5578 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.14, allocations: 275.2 kB / 0.5581 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.1404, allocations: 129.7 kB / 0.5582 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.1407, allocations: 226.2 kB / 0.5584 GB, free: 12.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.964e-06/0.1407, allocations: 0 / 0.5584 GB, free: 12.35 MB / 442.7 MB Notification: Performance of Templates: time 0.03457/0.1753, allocations: 32.66 MB / 0.5903 GB, free: 11.9 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8650931059382856]