Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05006/0.05006, allocations: 9.51 MB / 29.37 MB, free: 160 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000853/0.000853, allocations: 99.33 kB / 35.55 MB, free: 0.5625 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.844/0.844, allocations: 158.6 MB / 197.4 MB, free: 6.914 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.001213/0.001213, allocations: 164.5 kB / 249.9 MB, free: 5.43 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2202/0.2202, allocations: 59.7 MB / 312.9 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 351 MB, free: 92 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.629e-05, allocations: 6.25 kB / 351.1 MB, free: 84 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.1556/0.1556, allocations: 7.744 MB / 358.8 MB, free: 19.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.16, allocations: 2.575 MB / 361.4 MB, free: 17.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.1607, allocations: 12.78 kB / 361.4 MB, free: 17.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.1613, allocations: 325.3 kB / 361.7 MB, free: 17.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.1631, allocations: 1.27 MB / 363 MB, free: 16.23 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1641, allocations: 0.6982 MB / 363.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1658, allocations: 2.343 MB / 366 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.1662, allocations: 306.7 kB / 366.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1674, allocations: 1.238 MB / 367.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/0.1684, allocations: 0.9153 MB / 368.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.1688, allocations: 182.3 kB / 368.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.1693, allocations: 379.6 kB / 369 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.1695, allocations: 471.9 kB / 369.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.1699, allocations: 0.6152 MB / 370.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.1712, allocations: 1.642 MB / 371.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1712, allocations: 0 / 371.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1712, allocations: 0 / 371.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.1712, allocations: 0.8125 kB / 371.7 MB, free: 9.562 MB / 330.7 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.006377/0.1776, allocations: 3.757 MB / 375.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1776, allocations: 9.25 kB / 375.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.1804, allocations: 0.9404 MB / 376.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1814, allocations: 0.7056 MB / 377.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.1816, allocations: 0.5661 MB / 377.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.1818, allocations: 112 kB / 377.8 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.1827, allocations: 0.8739 MB / 378.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1827, allocations: 0 / 378.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.1828, allocations: 40.88 kB / 378.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1828, allocations: 24.75 kB / 378.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.1834, allocations: 433.3 kB / 379.2 MB, free: 1.98 MB / 330.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.003304/0.1868, allocations: 2.42 MB / 381.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.189, allocations: 1.326 MB / 382.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.1894, allocations: 301.4 kB / 383.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.1895, allocations: 28.98 kB / 383.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.19, allocations: 0.5618 MB / 383.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=126): time 3.226e-06/0.19, allocations: 1.594 kB / 383.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=126): time 0.01455/0.2046, allocations: 6.526 MB / 390.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.2047, allocations: 115.8 kB / 390.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.2056, allocations: 1.065 MB / 391.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.2057, allocations: 49.7 kB / 391.6 MB, free: 5.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.2059, allocations: 441.3 kB / 392 MB, free: 5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.2063, allocations: 491.8 kB / 392.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.2067, allocations: 327.3 kB / 392.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.2067, allocations: 305.1 kB / 393.1 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.2074, allocations: 374.7 kB / 393.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.208, allocations: 0.5533 MB / 394 MB, free: 2.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2094, allocations: 1.071 MB / 395.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2094, allocations: 7.938 kB / 395.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003928/0.2133, allocations: 2.258 MB / 397.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.2133, allocations: 7.938 kB / 397.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.2133, allocations: 6.031 kB / 397.4 MB, free: 15.52 MB / 362.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.003712/0.2171, allocations: 1.872 MB / 399.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.218, allocations: 320.6 kB / 399.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.2203, allocations: 1.573 MB / 401.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.2214, allocations: 206.9 kB / 401.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.2215, allocations: 51.92 kB / 401.4 MB, free: 11.49 MB / 362.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 (156): * Single equations (assignments): 155 * 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.0003755/0.2219, allocations: 188.4 kB / 401.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.2221, allocations: 127.9 kB / 401.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/0.2271, allocations: 2.813 MB / 404.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.2271, allocations: 16 kB / 404.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2271, allocations: 0 / 404.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.2271, allocations: 7.922 kB / 404.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00631/0.2334, allocations: 3.627 MB / 408.1 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2334, allocations: 4 kB / 408.2 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.2339, allocations: 151.7 kB / 408.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005237/0.2391, allocations: 2.101 MB / 410.4 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.2393, allocations: 27.94 kB / 410.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008864/0.2482, allocations: 4.246 MB / 414.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2482, allocations: 0 / 414.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007773/0.256, allocations: 3.184 MB / 417.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/0.2565, allocations: 162.6 kB / 418 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.2567, allocations: 24 kB / 418 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.2575, allocations: 95.91 kB / 418.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006896/0.2582, allocations: 253.3 kB / 418.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.2583, allocations: 28.78 kB / 418.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006891/0.259, allocations: 0.562 MB / 419 MB, free: 9.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.259, allocations: 0 / 419 MB, free: 9.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001185/0.2601, allocations: 0.5268 MB / 419.5 MB, free: 9.172 MB / 378.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 (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.0003008/0.2604, allocations: 132.2 kB / 419.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003948/0.2644, allocations: 1.574 MB / 421.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/0.2644, allocations: 16 kB / 421.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.2671, allocations: 1.241 MB / 422.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.2679, allocations: 163.9 kB / 422.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.2722, allocations: 2.504 MB / 425.1 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2724, allocations: 279.2 kB / 425.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004/0.2728, allocations: 132.6 kB / 425.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.2732, allocations: 203.4 kB / 425.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2732, allocations: 0 / 425.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of Templates: time 0.04236/0.3156, allocations: 31.27 MB / 457 MB, free: 3.773 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.982305717188865]