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.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.421/1.421, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.002462/0.002462, allocations: 217.3 kB / 309.2 MB, free: 3.141 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.4408/0.4408, allocations: 79.74 MB / 445.4 MB, free: 14.87 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.00347/0.00347, allocations: 83.88 kB / 0.5929 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1545, allocations: 73.3 MB / 0.6645 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01025/0.1647, allocations: 8.345 MB / 0.6727 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006235/0.1709, allocations: 2.599 MB / 0.6752 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.1721, allocations: 16 kB / 0.6752 GB, free: 9.555 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009633/0.1731, allocations: 329.3 kB / 0.6755 GB, free: 9.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.1762, allocations: 1.275 MB / 0.6768 GB, free: 7.957 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.1779, allocations: 0.692 MB / 0.6775 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.181, allocations: 2.369 MB / 0.6798 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.1815, allocations: 300.7 kB / 0.6801 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1829, allocations: 0.9145 MB / 0.681 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.1844, allocations: 1.159 MB / 0.6821 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.1847, allocations: 180 kB / 0.6823 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007805/0.1855, allocations: 419.7 kB / 0.6827 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.1859, allocations: 462.2 kB / 0.6831 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008612/0.1868, allocations: 0.9129 MB / 0.684 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.1894, allocations: 2.307 MB / 0.6863 GB, free: 14.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1894, allocations: 4 kB / 0.6863 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1894, allocations: 0 / 0.6863 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.1895, allocations: 0 / 0.6863 GB, free: 14.21 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.01384/0.2033, allocations: 3.913 MB / 0.6901 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2033, allocations: 11.98 kB / 0.6901 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.2036, allocations: 156.1 kB / 0.6902 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/0.208, allocations: 0.7637 MB / 0.691 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.2101, allocations: 1.053 MB / 0.692 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005945/0.2107, allocations: 0.577 MB / 0.6926 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.2109, allocations: 112 kB / 0.6927 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.2139, allocations: 1.432 MB / 0.6941 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2139, allocations: 0 / 0.6941 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.214, allocations: 36 kB / 0.6941 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.214, allocations: 24 kB / 0.6941 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.2171, allocations: 1.347 MB / 0.6955 GB, free: 4.574 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.2935/0.5106, allocations: 4.86 MB / 0.7002 GB, free: 32.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007929/0.5185, allocations: 2.33 MB / 0.7025 GB, free: 32.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.5204, allocations: 0.8331 MB / 0.7033 GB, free: 32.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.5206, allocations: 23.41 kB / 0.7033 GB, free: 32.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/0.5228, allocations: 1.057 MB / 0.7043 GB, free: 32.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.396e-06/0.5228, allocations: 0 / 0.7043 GB, free: 32.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04093/0.5637, allocations: 9.686 MB / 0.7138 GB, free: 32.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.5638, allocations: 116.2 kB / 0.7139 GB, free: 32.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.5659, allocations: 1.414 MB / 0.7153 GB, free: 31.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.5661, allocations: 52.02 kB / 0.7153 GB, free: 31.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.5665, allocations: 0.6066 MB / 0.7159 GB, free: 31.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.5669, allocations: 480.7 kB / 0.7164 GB, free: 31.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.5674, allocations: 339.5 kB / 0.7167 GB, free: 30.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.5675, allocations: 302.2 kB / 0.717 GB, free: 30.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.5695, allocations: 0.9702 MB / 0.718 GB, free: 30.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.5718, allocations: 1.174 MB / 0.7191 GB, free: 29.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.576, allocations: 2.081 MB / 0.7211 GB, free: 28.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.576, allocations: 1.531 kB / 0.7211 GB, free: 28.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009067/0.5851, allocations: 3.663 MB / 0.7247 GB, free: 26.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.5851, allocations: 10.94 kB / 0.7247 GB, free: 26.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5851, allocations: 2.688 kB / 0.7247 GB, free: 26.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00939/0.5945, allocations: 2.972 MB / 0.7276 GB, free: 25.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.5959, allocations: 267.9 kB / 0.7279 GB, free: 25.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006898/0.6028, allocations: 2.994 MB / 0.7308 GB, free: 23.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.6051, allocations: 259 kB / 0.7311 GB, free: 23.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.6053, allocations: 68.94 kB / 0.7311 GB, free: 23.43 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.0005504/0.6058, allocations: 296.9 kB / 0.7314 GB, free: 23.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.6061, allocations: 173.1 kB / 0.7316 GB, free: 23.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.6204, allocations: 4.779 MB / 0.7362 GB, free: 20.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.6204, allocations: 12 kB / 0.7362 GB, free: 20.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6204, allocations: 4 kB / 0.7362 GB, free: 20.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/0.6204, allocations: 7.969 kB / 0.7363 GB, free: 20.22 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.01643/0.6369, allocations: 6.815 MB / 0.7429 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.6369, allocations: 6.125 kB / 0.7429 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.6377, allocations: 147.8 kB / 0.7431 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006542/0.6443, allocations: 2.145 MB / 0.7452 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/0.6445, allocations: 27.94 kB / 0.7452 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/0.6665, allocations: 9.964 MB / 0.7549 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6665, allocations: 4 kB / 0.7549 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/0.6853, allocations: 5.925 MB / 0.7607 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.686, allocations: 203.8 kB / 0.7609 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.6862, allocations: 27.98 kB / 0.7609 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.6878, allocations: 136.6 kB / 0.7611 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008311/0.6887, allocations: 269.3 kB / 0.7613 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6888, allocations: 39.92 kB / 0.7613 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001549/0.6903, allocations: 0.9581 MB / 0.7623 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6903, allocations: 0 / 0.7623 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001448/0.6918, allocations: 0.5298 MB / 0.7628 GB, free: 8.887 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.01973/0.7115, allocations: 6.513 MB / 0.7692 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009368/0.7209, allocations: 2.732 MB / 0.7718 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7209, allocations: 0 / 0.7718 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006279/0.7272, allocations: 1.842 MB / 0.7736 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.7285, allocations: 145.2 kB / 0.7738 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04499/0.7735, allocations: 18.95 MB / 0.7923 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009591/0.7745, allocations: 1.227 MB / 0.7935 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000569/0.775, allocations: 146 kB / 0.7936 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009011/0.7759, allocations: 0.61 MB / 0.7942 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of SimCode: time 1.011e-06/0.7759, allocations: 0 / 0.7942 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09448/0.8704, allocations: 45.91 MB / 0.839 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/16.94, allocations: 2.578 kB / 0.839 GB, free: 10.64 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 & 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: 20.43667421399732] Failed to read output from testmodel.py, exit status != 0: 17.080136389999097 17.09409744 16.901580525 Calling exit ...