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.001387/0.001387, allocations: 108.5 kB / 16.46 MB, free: 6.453 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.44/1.44, allocations: 230.6 MB / 249.8 MB, free: 9.246 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.001548/0.001548, allocations: 216 kB / 306 MB, free: 4.293 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.4469/0.4469, allocations: 79.71 MB / 441.8 MB, free: 128 kB / 302.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.002436/0.002436, allocations: 86.06 kB / 0.5878 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1376, allocations: 73.26 MB / 0.6594 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009989/0.1476, allocations: 8.302 MB / 0.6675 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.1535, allocations: 2.595 MB / 0.67 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.1545, allocations: 12 kB / 0.67 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009483/0.1555, allocations: 325.3 kB / 0.6703 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.159, allocations: 1.271 MB / 0.6716 GB, free: 11.62 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.001609/0.1606, allocations: 0.6858 MB / 0.6723 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00296/0.1635, allocations: 2.346 MB / 0.6745 GB, free: 8.582 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.164, allocations: 300.2 kB / 0.6748 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1652, allocations: 0.9106 MB / 0.6757 GB, free: 7.348 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1666, allocations: 1.148 MB / 0.6768 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.1669, allocations: 184 kB / 0.677 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007911/0.1677, allocations: 423.7 kB / 0.6774 GB, free: 5.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.1682, allocations: 462.2 kB / 0.6779 GB, free: 5.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008923/0.1691, allocations: 0.909 MB / 0.6787 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.1719, allocations: 2.307 MB / 0.681 GB, free: 1.918 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.172, allocations: 0 / 0.681 GB, free: 1.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.172, allocations: 0 / 0.681 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.172, allocations: 0 / 0.681 GB, free: 1.918 MB / 478.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.01533/0.1873, allocations: 3.826 MB / 0.6847 GB, free: 14.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1874, allocations: 8.031 kB / 0.6847 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/0.1877, allocations: 156.1 kB / 0.6849 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.1926, allocations: 0.7598 MB / 0.6856 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.1952, allocations: 1.125 MB / 0.6867 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005723/0.1958, allocations: 428.7 kB / 0.6871 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.196, allocations: 112 kB / 0.6873 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.1992, allocations: 1.424 MB / 0.6886 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.1993, allocations: 4 kB / 0.6886 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.1994, allocations: 44 kB / 0.6887 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.1994, allocations: 24 kB / 0.6887 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.2027, allocations: 1.343 MB / 0.69 GB, free: 8.469 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.01028/0.213, allocations: 4.924 MB / 0.6948 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009272/0.2223, allocations: 2.797 MB / 0.6976 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2686/0.4909, allocations: 0.8165 MB / 0.6984 GB, free: 35.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.491, allocations: 25.12 kB / 0.6984 GB, free: 35.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002286/0.4933, allocations: 1.056 MB / 0.6994 GB, free: 35.56 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 2.955e-06/0.4933, allocations: 2.031 kB / 0.6994 GB, free: 35.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.044/0.5373, allocations: 9.756 MB / 0.7089 GB, free: 35.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.5374, allocations: 117.8 kB / 0.7091 GB, free: 35.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.5396, allocations: 1.415 MB / 0.7104 GB, free: 34.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.5399, allocations: 51.52 kB / 0.7105 GB, free: 34.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.5402, allocations: 0.6105 MB / 0.7111 GB, free: 34.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.5406, allocations: 478.2 kB / 0.7115 GB, free: 34.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006228/0.5413, allocations: 340.6 kB / 0.7119 GB, free: 34.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5413, allocations: 305.1 kB / 0.7122 GB, free: 33.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.5434, allocations: 0.9708 MB / 0.7131 GB, free: 33.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.5456, allocations: 1.179 MB / 0.7143 GB, free: 32.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.5499, allocations: 2.07 MB / 0.7163 GB, free: 31.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.5499, allocations: 1.062 kB / 0.7163 GB, free: 31.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00948/0.5594, allocations: 3.667 MB / 0.7199 GB, free: 30.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5594, allocations: 13.77 kB / 0.7199 GB, free: 30.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5594, allocations: 3.469 kB / 0.7199 GB, free: 30.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.5695, allocations: 2.965 MB / 0.7228 GB, free: 28.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5709, allocations: 271.1 kB / 0.723 GB, free: 28.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.5777, allocations: 3.004 MB / 0.726 GB, free: 27.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.5802, allocations: 261.9 kB / 0.7262 GB, free: 27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.5805, allocations: 63.39 kB / 0.7263 GB, free: 26.98 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.0006169/0.5811, allocations: 293.6 kB / 0.7266 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.5814, allocations: 169.4 kB / 0.7267 GB, free: 26.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/0.5972, allocations: 4.782 MB / 0.7314 GB, free: 24.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.5972, allocations: 12.44 kB / 0.7314 GB, free: 24.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5973, allocations: 8.922 kB / 0.7314 GB, free: 24.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.5973, allocations: 7.172 kB / 0.7314 GB, free: 24.2 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.01772/0.615, allocations: 6.847 MB / 0.7381 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.615, allocations: 32 / 0.7381 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009498/0.616, allocations: 143.8 kB / 0.7382 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007192/0.6232, allocations: 2.139 MB / 0.7403 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/0.6235, allocations: 27.98 kB / 0.7403 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/0.6472, allocations: 10.08 MB / 0.7502 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6472, allocations: 0 / 0.7502 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/0.6656, allocations: 5.922 MB / 0.756 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/0.6662, allocations: 282.5 kB / 0.7562 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.6665, allocations: 25.52 kB / 0.7563 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.6683, allocations: 135.8 kB / 0.7564 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008836/0.6691, allocations: 258.7 kB / 0.7566 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.6693, allocations: 36 kB / 0.7567 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001676/0.6709, allocations: 0.9542 MB / 0.7576 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6709, allocations: 4 kB / 0.7576 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001694/0.6726, allocations: 0.5266 MB / 0.7581 GB, free: 12.77 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.02102/0.6936, allocations: 6.524 MB / 0.7645 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01036/0.704, allocations: 2.734 MB / 0.7672 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.704, allocations: 0 / 0.7672 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007051/0.7111, allocations: 1.848 MB / 0.769 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.7124, allocations: 135.3 kB / 0.7691 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04911/0.7615, allocations: 18.96 MB / 0.7876 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009177/0.7624, allocations: 1.227 MB / 0.7888 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006469/0.7631, allocations: 146 kB / 0.789 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009848/0.7641, allocations: 0.6086 MB / 0.7896 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of SimCode: time 7.51e-07/0.7641, allocations: 0 / 0.7896 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09725/0.8613, allocations: 44.61 MB / 0.8331 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.72, allocations: 5.719 kB / 0.8331 GB, free: 15.77 MB / 0.5762 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 19.187351550994208] Failed to read output from testmodel.py, exit status != 0: 15.845085615990683 15.872504567 15.695483916 Calling exit ...