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.04839/0.04839, allocations: 9.511 MB / 29.37 MB, free: 144 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.0009019/0.0009019, allocations: 99.31 kB / 35.55 MB, free: 0.5508 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.8114/0.8114, allocations: 158.6 MB / 197.4 MB, free: 6.91 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.001171/0.001171, allocations: 172.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.2231/0.2231, allocations: 59.7 MB / 312.9 MB, free: 6.32 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.402e-06/1.402e-06, allocations: 0 / 351 MB, free: 140 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.501e-05, allocations: 6.25 kB / 351 MB, free: 132 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.1576/0.1576, allocations: 7.696 MB / 358.7 MB, free: 19.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.1622, allocations: 2.574 MB / 361.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.1632, allocations: 14.84 kB / 361.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.1639, allocations: 322.8 kB / 361.6 MB, free: 17.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.166, allocations: 1.274 MB / 362.9 MB, free: 16.27 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.001127/0.1671, allocations: 0.6972 MB / 363.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.1691, allocations: 2.351 MB / 365.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.1695, allocations: 300.7 kB / 366.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.1708, allocations: 1.242 MB / 367.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008968/0.1717, allocations: 0.9187 MB / 368.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.172, allocations: 182.9 kB / 368.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.1725, allocations: 361.7 kB / 368.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.1727, allocations: 474 kB / 369.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1731, allocations: 0.6191 MB / 370 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1743, allocations: 1.638 MB / 371.6 MB, free: 9.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1743, allocations: 3.984 kB / 371.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1743, allocations: 0.6875 kB / 371.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.1743, allocations: 0 / 371.6 MB, free: 9.621 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.005548/0.1799, allocations: 3.764 MB / 375.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1799, allocations: 9.188 kB / 375.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.182, allocations: 0.9338 MB / 376.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.1829, allocations: 0.7121 MB / 377.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.1831, allocations: 0.5626 MB / 377.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.1833, allocations: 112.6 kB / 377.7 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.1841, allocations: 0.8656 MB / 378.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1841, allocations: 0 / 378.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.1842, allocations: 41.06 kB / 378.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1842, allocations: 24 kB / 378.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/0.1848, allocations: 435.2 kB / 379.1 MB, free: 2.047 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.003438/0.1882, allocations: 2.426 MB / 381.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.1906, allocations: 1.322 MB / 382.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.1909, allocations: 301.4 kB / 383.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.191, allocations: 29 kB / 383.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.1916, allocations: 0.5644 MB / 383.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=126): time 3.196e-06/0.1916, allocations: 0 / 383.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=126): time 0.01363/0.2052, allocations: 6.518 MB / 390.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2052, allocations: 123.8 kB / 390.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.2062, allocations: 1.057 MB / 391.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.2063, allocations: 57.64 kB / 391.5 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2065, allocations: 445.2 kB / 391.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.2068, allocations: 479.8 kB / 392.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.2072, allocations: 331.3 kB / 392.7 MB, free: 4.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.2073, allocations: 301.1 kB / 393 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.2079, allocations: 374.7 kB / 393.4 MB, free: 3.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.2085, allocations: 0.5611 MB / 393.9 MB, free: 3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.2098, allocations: 1.071 MB / 395 MB, free: 1.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.2098, allocations: 0 / 395 MB, free: 1.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003821/0.2136, allocations: 2.252 MB / 397.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.2136, allocations: 11.94 kB / 397.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2136, allocations: 4 kB / 397.3 MB, free: 15.61 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.00459/0.2182, allocations: 1.884 MB / 399.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.2191, allocations: 255.6 kB / 399.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.2217, allocations: 1.567 MB / 401 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.2229, allocations: 218.9 kB / 401.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.223, allocations: 43.98 kB / 401.2 MB, free: 11.63 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.000383/0.2234, allocations: 196.3 kB / 401.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.2236, allocations: 139.4 kB / 401.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/0.2301, allocations: 2.808 MB / 404.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.2301, allocations: 12 kB / 404.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2301, allocations: 4 kB / 404.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.2301, allocations: 7.969 kB / 404.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007981/0.2381, allocations: 3.625 MB / 408 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2381, allocations: 4.031 kB / 408 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.2386, allocations: 139.8 kB / 408.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006372/0.245, allocations: 2.097 MB / 410.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.2451, allocations: 31.92 kB / 410.3 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008471/0.2535, allocations: 4.213 MB / 414.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2536, allocations: 4 kB / 414.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/0.2608, allocations: 3.184 MB / 417.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.2612, allocations: 150.7 kB / 417.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.2614, allocations: 31.98 kB / 417.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.2621, allocations: 101 kB / 418 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005521/0.2627, allocations: 245.3 kB / 418.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.2628, allocations: 31.98 kB / 418.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000569/0.2633, allocations: 0.558 MB / 418.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2633, allocations: 0 / 418.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001102/0.2644, allocations: 0.5268 MB / 419.3 MB, free: 9.348 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.0002811/0.2647, allocations: 138.3 kB / 419.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.2684, allocations: 1.567 MB / 421 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.2684, allocations: 16.88 kB / 421 MB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.271, allocations: 1.243 MB / 422.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.2718, allocations: 170.2 kB / 422.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.2775, allocations: 2.505 MB / 424.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2778, allocations: 275.2 kB / 425.2 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.2782, allocations: 127.4 kB / 425.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.2786, allocations: 207.3 kB / 425.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.2786, allocations: 0 / 425.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of Templates: time 0.03557/0.3141, allocations: 31.03 MB / 456.6 MB, free: 4.18 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 -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.794836157001555]