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.001794/0.001794, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 252.7 MB, free: 8.328 MB / 206.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.00171/0.00171, allocations: 206.9 kB / 309.2 MB, free: 3.148 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4568/0.4568, allocations: 79.75 MB / 445.4 MB, free: 14.82 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002889/0.002889, allocations: 87.81 kB / 0.593 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1488, allocations: 73.28 MB / 0.6645 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01108/0.1598, allocations: 8.361 MB / 0.6727 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006622/0.1665, allocations: 2.607 MB / 0.6752 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.168, allocations: 12 kB / 0.6752 GB, free: 9.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.1694, allocations: 321.3 kB / 0.6756 GB, free: 9.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.1739, allocations: 1.261 MB / 0.6768 GB, free: 7.922 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001947/0.1759, allocations: 0.6909 MB / 0.6775 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.1796, allocations: 2.377 MB / 0.6798 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.1804, allocations: 296.7 kB / 0.6801 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.182, allocations: 0.9223 MB / 0.681 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.1839, allocations: 1.148 MB / 0.6821 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005805/0.1845, allocations: 184 kB / 0.6823 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1857, allocations: 419.7 kB / 0.6827 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.1864, allocations: 470.2 kB / 0.6831 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.1879, allocations: 0.8935 MB / 0.684 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.1916, allocations: 2.315 MB / 0.6862 GB, free: 14.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1916, allocations: 0 / 0.6862 GB, free: 14.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1916, allocations: 4 kB / 0.6862 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.538e-05/0.1917, allocations: 4 kB / 0.6862 GB, free: 14.18 MB / 494.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.01549/0.2072, allocations: 3.916 MB / 0.6901 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.2072, allocations: 11.98 kB / 0.6901 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.2075, allocations: 156.1 kB / 0.6902 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.2121, allocations: 0.7637 MB / 0.691 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.2144, allocations: 1.053 MB / 0.692 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006166/0.2151, allocations: 0.5692 MB / 0.6926 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.2153, allocations: 115.9 kB / 0.6927 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.2184, allocations: 1.435 MB / 0.6941 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.2185, allocations: 0 / 0.6941 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2186, allocations: 40 kB / 0.6941 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.2186, allocations: 24 kB / 0.6941 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.2218, allocations: 1.351 MB / 0.6955 GB, free: 4.527 MB / 494.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.2754/0.4972, allocations: 4.856 MB / 0.7002 GB, free: 32.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008186/0.5054, allocations: 2.34 MB / 0.7025 GB, free: 32.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.5073, allocations: 0.8284 MB / 0.7033 GB, free: 32.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.5075, allocations: 25.28 kB / 0.7033 GB, free: 32.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/0.5098, allocations: 1.054 MB / 0.7043 GB, free: 32.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.617e-06/0.5098, allocations: 0 / 0.7043 GB, free: 32.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.0416/0.5514, allocations: 9.685 MB / 0.7138 GB, free: 32.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5514, allocations: 118.4 kB / 0.7139 GB, free: 32.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.5535, allocations: 1.412 MB / 0.7153 GB, free: 31.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.5538, allocations: 54.83 kB / 0.7153 GB, free: 31.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.5541, allocations: 0.6039 MB / 0.7159 GB, free: 31.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.5546, allocations: 487.1 kB / 0.7164 GB, free: 31.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005829/0.5552, allocations: 336.7 kB / 0.7167 GB, free: 30.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.5552, allocations: 301.1 kB / 0.717 GB, free: 30.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.5572, allocations: 0.9733 MB / 0.718 GB, free: 30.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.5595, allocations: 1.171 MB / 0.7191 GB, free: 29.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.5637, allocations: 2.075 MB / 0.7211 GB, free: 28.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.5637, allocations: 2.188 kB / 0.7211 GB, free: 28.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009397/0.5731, allocations: 3.667 MB / 0.7247 GB, free: 26.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.5731, allocations: 6.375 kB / 0.7247 GB, free: 26.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5731, allocations: 3.938 kB / 0.7247 GB, free: 26.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009927/0.583, allocations: 2.971 MB / 0.7276 GB, free: 25.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.5845, allocations: 271.4 kB / 0.7279 GB, free: 25.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/0.5917, allocations: 3 MB / 0.7308 GB, free: 23.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.5943, allocations: 250.1 kB / 0.7311 GB, free: 23.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.5946, allocations: 63.2 kB / 0.7311 GB, free: 23.39 MB / 494.1 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 (161): * Single equations (assignments): 160 * 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.0008293/0.5954, allocations: 311.1 kB / 0.7314 GB, free: 23.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/0.5959, allocations: 173.3 kB / 0.7316 GB, free: 23.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.6106, allocations: 4.776 MB / 0.7362 GB, free: 20.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.6106, allocations: 20 kB / 0.7363 GB, free: 20.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.6106, allocations: 0 / 0.7363 GB, free: 20.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.6106, allocations: 7.969 kB / 0.7363 GB, free: 20.21 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01795/0.6286, allocations: 6.821 MB / 0.7429 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.6286, allocations: 0 / 0.7429 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009065/0.6295, allocations: 139.8 kB / 0.7431 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007038/0.6366, allocations: 2.146 MB / 0.7452 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003345/0.6369, allocations: 27.94 kB / 0.7452 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02393/0.6608, allocations: 9.965 MB / 0.7549 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6608, allocations: 7.984 kB / 0.7549 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/0.681, allocations: 5.91 MB / 0.7607 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/0.6818, allocations: 204.9 kB / 0.7609 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/0.6824, allocations: 38.19 kB / 0.7609 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/0.6845, allocations: 131.8 kB / 0.761 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/0.6855, allocations: 269.3 kB / 0.7613 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/0.6857, allocations: 39.92 kB / 0.7613 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002046/0.6878, allocations: 0.9509 MB / 0.7623 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.6878, allocations: 3.938 kB / 0.7623 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002421/0.6902, allocations: 0.5322 MB / 0.7628 GB, free: 8.871 MB / 0.4981 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.02123/0.7114, allocations: 6.516 MB / 0.7692 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009933/0.7214, allocations: 2.73 MB / 0.7718 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7214, allocations: 0 / 0.7718 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006863/0.7282, allocations: 1.848 MB / 0.7736 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.73, allocations: 145.2 kB / 0.7738 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05279/0.7827, allocations: 18.95 MB / 0.7923 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.7841, allocations: 1.227 MB / 0.7935 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008204/0.7849, allocations: 138 kB / 0.7936 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.7861, allocations: 0.6099 MB / 0.7942 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.7861, allocations: 0 / 0.7942 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.8903, allocations: 45.9 MB / 0.839 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.76, allocations: 13.5 kB / 0.839 GB, free: 10.61 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.47479620296508] Failed to read output from testmodel.py, exit status != 0: 16.90592424198985 16.921734772 16.726703864 Calling exit ...