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.0008887/0.0008887, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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 1.01/1.01, allocations: 177.1 MB / 200 MB, free: 5.551 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.001509/0.001509, allocations: 152.7 kB / 256.6 MB, free: 13.01 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.2882/0.2882, allocations: 80.36 MB / 393.5 MB, free: 2.094 MB / 314.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 2.385e-06/2.385e-06, allocations: 3.938 kB / 490 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.217e-05, allocations: 3.438 kB / 490 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007092/0.007125, allocations: 7.907 MB / 497.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.01196, allocations: 2.534 MB / 0.4887 GB, free: 1.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.01306, allocations: 13.59 kB / 0.4887 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009591/0.01401, allocations: 317.1 kB / 0.489 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.01626, allocations: 1.178 MB / 0.4902 GB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.01758, allocations: 0.7158 MB / 0.4909 GB, free: 14.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.01959, allocations: 2.205 MB / 0.493 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.02, allocations: 280.9 kB / 0.4933 GB, free: 12.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.0212, allocations: 1.232 MB / 0.4945 GB, free: 11.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008487/0.02205, allocations: 0.9074 MB / 0.4954 GB, free: 10.15 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.02227, allocations: 184.5 kB / 0.4955 GB, free: 9.969 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.02286, allocations: 374 kB / 0.4959 GB, free: 9.605 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.02316, allocations: 466.1 kB / 0.4963 GB, free: 9.148 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.02362, allocations: 0.623 MB / 0.497 GB, free: 8.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.02516, allocations: 1.634 MB / 0.4985 GB, free: 6.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02517, allocations: 0 / 0.4985 GB, free: 6.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.02517, allocations: 0 / 0.4985 GB, free: 6.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.02518, allocations: 0.9062 kB / 0.4986 GB, free: 6.883 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.006498/0.03168, allocations: 3.84 MB / 0.5023 GB, free: 3.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.03172, allocations: 16.03 kB / 0.5023 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.03415, allocations: 0.912 MB / 0.5032 GB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.03537, allocations: 1.01 MB / 0.5042 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.03566, allocations: 0.5692 MB / 0.5047 GB, free: 364 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.03581, allocations: 108 kB / 0.5049 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.03712, allocations: 0.9701 MB / 0.5058 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.03713, allocations: 4 kB / 0.5058 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/0.03722, allocations: 36 kB / 0.5058 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.03723, allocations: 24 kB / 0.5059 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.03827, allocations: 0.6323 MB / 0.5065 GB, free: 14.56 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.004678/0.04295, allocations: 3.573 MB / 0.51 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.04586, allocations: 1.455 MB / 0.5114 GB, free: 9.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.04645, allocations: 425.9 kB / 0.5118 GB, free: 8.992 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.04656, allocations: 25 kB / 0.5118 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008338/0.0474, allocations: 0.6498 MB / 0.5125 GB, free: 8.289 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 4.608e-06/0.0474, allocations: 3.984 kB / 0.5125 GB, free: 8.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.0178/0.0652, allocations: 7.256 MB / 0.5195 GB, free: 1.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.06525, allocations: 115.8 kB / 0.5197 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.06663, allocations: 1.235 MB / 0.5209 GB, free: 15.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.06681, allocations: 53.69 kB / 0.5209 GB, free: 15.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.06719, allocations: 0.6704 MB / 0.5216 GB, free: 14.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.06755, allocations: 475.9 kB / 0.522 GB, free: 14.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/0.06797, allocations: 349.1 kB / 0.5223 GB, free: 14.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.06807, allocations: 476.8 kB / 0.5228 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.06882, allocations: 443.7 kB / 0.5232 GB, free: 13.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.06967, allocations: 0.6884 MB / 0.5239 GB, free: 12.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.07128, allocations: 1.213 MB / 0.5251 GB, free: 11.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.07128, allocations: 0 / 0.5251 GB, free: 11.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007392/0.07868, allocations: 3.716 MB / 0.5287 GB, free: 7.395 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.0787, allocations: 4 kB / 0.5287 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.07871, allocations: 4 kB / 0.5287 GB, free: 7.387 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.004259/0.08297, allocations: 2.211 MB / 0.5309 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.08379, allocations: 263.6 kB / 0.5311 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.08656, allocations: 1.975 MB / 0.5331 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.08781, allocations: 218.8 kB / 0.5333 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.08792, allocations: 63.98 kB / 0.5333 GB, free: 2.625 MB / 458.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.000384/0.08831, allocations: 232.3 kB / 0.5336 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.08858, allocations: 206.9 kB / 0.5337 GB, free: 2.184 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006581/0.09517, allocations: 3.206 MB / 0.5369 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.09518, allocations: 12 kB / 0.5369 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.09519, allocations: 8 kB / 0.5369 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.09522, allocations: 7.969 kB / 0.5369 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008436/0.1037, allocations: 4.497 MB / 0.5413 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.1037, allocations: 0 / 0.5413 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.1042, allocations: 143.8 kB / 0.5414 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006022/0.1102, allocations: 2.188 MB / 0.5436 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.1104, allocations: 24 kB / 0.5436 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009445/0.1199, allocations: 5.35 MB / 0.5488 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-05/0.12, allocations: 3.984 kB / 0.5488 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00793/0.1279, allocations: 3.734 MB / 0.5525 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.1285, allocations: 190.6 kB / 0.5527 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.1287, allocations: 24 kB / 0.5527 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.1295, allocations: 107.8 kB / 0.5528 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007146/0.1302, allocations: 261.3 kB / 0.553 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.1303, allocations: 32 kB / 0.5531 GB, free: 14.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008676/0.1311, allocations: 0.7729 MB / 0.5538 GB, free: 13.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1311, allocations: 0 / 0.5538 GB, free: 13.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001319/0.1324, allocations: 0.5385 MB / 0.5543 GB, free: 12.83 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.0004136/0.1329, allocations: 155 kB / 0.5545 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.1369, allocations: 1.799 MB / 0.5562 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1369, allocations: 0 / 0.5562 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.1398, allocations: 1.428 MB / 0.5576 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.1406, allocations: 169.1 kB / 0.5578 GB, free: 9.258 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.1446, allocations: 2.707 MB / 0.5604 GB, free: 6.508 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1448, allocations: 275.2 kB / 0.5607 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.1451, allocations: 129.7 kB / 0.5608 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.1453, allocations: 100.5 kB / 0.5609 GB, free: 5.988 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1453, allocations: 0 / 0.5609 GB, free: 5.988 MB / 490.7 MB Notification: Performance of Templates: time 0.0326/0.1779, allocations: 31.65 MB / 0.5918 GB, free: 6.406 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.34259863384068]