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.08453/0.08453, allocations: 12.37 MB / 31.21 MB, free: 6.438 MB / 26.18 MB " [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.001313/0.001313, allocations: 113 kB / 37.24 MB, free: 1.125 MB / 26.18 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 1.446/1.446, allocations: 207.7 MB / 250.9 MB, free: 7.258 MB / 190.1 MB " [Timeout remaining time 178] 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.001841/0.001841, allocations: 212.3 kB / 306.1 MB, free: 300 kB / 238.1 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.3404/0.3404, allocations: 79.72 MB / 440.9 MB, free: 12.29 MB / 318.1 MB " [Timeout remaining time 179] 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: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004634/0.004634, allocations: 149.1 kB / 0.588 GB, free: 6.945 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3541, allocations: 71.95 MB / 0.6583 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00899/0.3631, allocations: 7.28 MB / 0.6654 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007429/0.3706, allocations: 2.424 MB / 0.6677 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.3726, allocations: 16.53 kB / 0.6678 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.3739, allocations: 316.5 kB / 0.6681 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.3783, allocations: 1.232 MB / 0.6693 GB, free: 11.18 MB / 462.1 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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.3805, allocations: 0.7016 MB / 0.6699 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.3848, allocations: 2.363 MB / 0.6723 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000694/0.3855, allocations: 279.2 kB / 0.6725 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.3875, allocations: 0.9186 MB / 0.6734 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.3899, allocations: 1.045 MB / 0.6744 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007415/0.3906, allocations: 182.1 kB / 0.6746 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.3923, allocations: 360.4 kB / 0.675 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.3933, allocations: 460.9 kB / 0.6754 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.395, allocations: 0.7531 MB / 0.6761 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.3993, allocations: 2.312 MB / 0.6784 GB, free: 5.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3993, allocations: 0 / 0.6784 GB, free: 5.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3993, allocations: 0 / 0.6784 GB, free: 5.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.3994, allocations: 5.312 kB / 0.6784 GB, free: 5.496 MB / 462.1 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.01626/0.4157, allocations: 3.912 MB / 0.6822 GB, free: 3.242 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4157, allocations: 9.625 kB / 0.6822 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.4207, allocations: 0.7633 MB / 0.683 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.4234, allocations: 1.049 MB / 0.684 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000655/0.424, allocations: 0.5769 MB / 0.6846 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.4243, allocations: 112.1 kB / 0.6847 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.4276, allocations: 1.429 MB / 0.6861 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.4276, allocations: 7.922 kB / 0.6861 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.4277, allocations: 37.16 kB / 0.6861 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.4278, allocations: 26.06 kB / 0.6861 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.4309, allocations: 1.336 MB / 0.6874 GB, free: 15.95 MB / 478.1 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.009393/0.4403, allocations: 3.669 MB / 0.691 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008376/0.4487, allocations: 2.346 MB / 0.6933 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.451, allocations: 0.8214 MB / 0.6941 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.4511, allocations: 19.81 kB / 0.6941 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002406/0.4535, allocations: 1.061 MB / 0.6952 GB, free: 11.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.477e-06/0.4535, allocations: 1.312 kB / 0.6952 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.04223/0.4958, allocations: 9.662 MB / 0.7046 GB, free: 2.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.4959, allocations: 119.8 kB / 0.7047 GB, free: 2.375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.4984, allocations: 1.357 MB / 0.706 GB, free: 1.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.4988, allocations: 57.64 kB / 0.7061 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.4993, allocations: 0.6123 MB / 0.7067 GB, free: 332 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006554/0.5, allocations: 476.1 kB / 0.7071 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006626/0.5007, allocations: 331.5 kB / 0.7075 GB, free: 15.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5008, allocations: 301.1 kB / 0.7077 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.5032, allocations: 0.9682 MB / 0.7087 GB, free: 14.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.5058, allocations: 1.166 MB / 0.7098 GB, free: 13.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.5107, allocations: 2.062 MB / 0.7118 GB, free: 10.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.5107, allocations: 4 kB / 0.7118 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01702/0.5277, allocations: 4.686 MB / 0.7164 GB, free: 6.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.5278, allocations: 8 kB / 0.7164 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.5278, allocations: 4 kB / 0.7164 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/0.5398, allocations: 2.962 MB / 0.7193 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5413, allocations: 259.6 kB / 0.7196 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008795/0.5501, allocations: 3.008 MB / 0.7225 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/0.5529, allocations: 238.8 kB / 0.7227 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/0.5533, allocations: 71.97 kB / 0.7228 GB, free: 15.67 MB / 0.4981 GB 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.001032/0.5543, allocations: 297.5 kB / 0.7231 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007004/0.555, allocations: 162.9 kB / 0.7232 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/0.5727, allocations: 4.779 MB / 0.7279 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.5727, allocations: 12 kB / 0.7279 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5727, allocations: 0 / 0.7279 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/0.5728, allocations: 19.91 kB / 0.7279 GB, free: 10.37 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.02154/0.5943, allocations: 6.043 MB / 0.7338 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.5943, allocations: 0 / 0.7338 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5953, allocations: 143.8 kB / 0.734 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008404/0.6037, allocations: 2.146 MB / 0.7361 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003394/0.6041, allocations: 27.98 kB / 0.7361 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02905/0.6331, allocations: 9.681 MB / 0.7456 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.6331, allocations: 7.938 kB / 0.7456 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/0.6541, allocations: 5.917 MB / 0.7513 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/0.6549, allocations: 202.5 kB / 0.7515 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/0.6555, allocations: 20 kB / 0.7516 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/0.6576, allocations: 139.8 kB / 0.7517 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/0.6587, allocations: 269.2 kB / 0.7519 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/0.659, allocations: 32 kB / 0.752 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002161/0.6611, allocations: 0.9136 MB / 0.7529 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6611, allocations: 0 / 0.7529 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002308/0.6634, allocations: 0.5463 MB / 0.7534 GB, free: 96 kB / 0.5137 GB 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.0004741/0.6639, allocations: 143.1 kB / 0.7535 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009837/0.6737, allocations: 2.719 MB / 0.7562 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6738, allocations: 0.875 kB / 0.7562 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007031/0.6808, allocations: 1.844 MB / 0.758 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.6829, allocations: 140.4 kB / 0.7581 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/0.6897, allocations: 3.065 MB / 0.7611 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.6905, allocations: 0.6496 MB / 0.7618 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006738/0.6912, allocations: 133.7 kB / 0.7619 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.6917, allocations: 91.42 kB / 0.762 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.021e-06/0.6917, allocations: 112 / 0.762 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.05272/0.7444, allocations: 32.33 MB / 0.7935 GB, free: 6.84 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.919955853372812] Failed to read output from testmodel.py, exit status != 0: 0.753904776647687 0.7681448150000001 0.36552136700000004 Calling exit ...