Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.001392/0.001392, 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.449/1.449, allocations: 230.6 MB / 252.6 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.002214/0.002214, allocations: 216.6 kB / 309.2 MB, free: 3.16 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.4543/0.4543, allocations: 79.73 MB / 445.4 MB, free: 14.86 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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.002517/0.002517, allocations: 87.8 kB / 0.5929 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1525, allocations: 73.29 MB / 0.6645 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.01048/0.163, allocations: 8.887 MB / 0.6732 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006628/0.1696, allocations: 2.914 MB / 0.676 GB, free: 8.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1711, allocations: 19.94 kB / 0.6761 GB, free: 8.684 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1724, allocations: 349 kB / 0.6764 GB, free: 8.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.1765, allocations: 1.304 MB / 0.6777 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.1789, allocations: 0.8779 MB / 0.6785 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004332/0.1832, allocations: 2.615 MB / 0.6811 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007914/0.184, allocations: 350.7 kB / 0.6814 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.1859, allocations: 1.012 MB / 0.6824 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.1879, allocations: 1.245 MB / 0.6836 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004383/0.1883, allocations: 204 kB / 0.6838 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1894, allocations: 475.7 kB / 0.6843 GB, free: 244 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.1899, allocations: 0.5136 MB / 0.6848 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.191, allocations: 0.9906 MB / 0.6857 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.1945, allocations: 2.626 MB / 0.6883 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1945, allocations: 0 / 0.6883 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1945, allocations: 0 / 0.6883 GB, free: 12.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.871e-05/0.1945, allocations: 0 / 0.6883 GB, free: 12.09 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01572/0.2102, allocations: 4.15 MB / 0.6924 GB, free: 7.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.2103, allocations: 11.98 kB / 0.6924 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.2105, allocations: 172.7 kB / 0.6925 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/0.2152, allocations: 0.7754 MB / 0.6933 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.2178, allocations: 1.168 MB / 0.6944 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006309/0.2185, allocations: 0.6312 MB / 0.695 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.2187, allocations: 124 kB / 0.6952 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.222, allocations: 1.548 MB / 0.6967 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.2221, allocations: 0 / 0.6967 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.2222, allocations: 44 kB / 0.6967 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.2222, allocations: 28 kB / 0.6967 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.2255, allocations: 1.441 MB / 0.6982 GB, free: 1.73 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.3009/0.5264, allocations: 5.305 MB / 0.7033 GB, free: 32.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009489/0.5359, allocations: 2.514 MB / 0.7058 GB, free: 32.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/0.5387, allocations: 0.8828 MB / 0.7067 GB, free: 32.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.5391, allocations: 66.41 kB / 0.7067 GB, free: 32.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002794/0.5418, allocations: 1.129 MB / 0.7078 GB, free: 32.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.667e-06/0.5418, allocations: 1.219 kB / 0.7078 GB, free: 32.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.04128/0.5831, allocations: 9.809 MB / 0.7174 GB, free: 30.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.5832, allocations: 124 kB / 0.7175 GB, free: 30.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.5858, allocations: 1.539 MB / 0.719 GB, free: 29.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004711/0.5863, allocations: 51.7 kB / 0.7191 GB, free: 29.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.5867, allocations: 0.663 MB / 0.7197 GB, free: 28.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/0.5872, allocations: 0.5121 MB / 0.7202 GB, free: 28.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006751/0.5879, allocations: 377.9 kB / 0.7206 GB, free: 28.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.5879, allocations: 305.1 kB / 0.7209 GB, free: 27.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.5902, allocations: 1.047 MB / 0.7219 GB, free: 27.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.5927, allocations: 1.283 MB / 0.7231 GB, free: 26.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.5973, allocations: 2.231 MB / 0.7253 GB, free: 25.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.5973, allocations: 1.406 kB / 0.7253 GB, free: 25.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009942/0.6073, allocations: 3.906 MB / 0.7291 GB, free: 23.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.6073, allocations: 11.84 kB / 0.7291 GB, free: 23.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.6073, allocations: 3.969 kB / 0.7292 GB, free: 23.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009035/0.6164, allocations: 2.681 MB / 0.7318 GB, free: 22.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.6181, allocations: 365.7 kB / 0.7321 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.6238, allocations: 2.685 MB / 0.7347 GB, free: 20.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.6264, allocations: 280.7 kB / 0.735 GB, free: 20.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.6267, allocations: 66.77 kB / 0.7351 GB, free: 20.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000709/0.6274, allocations: 332.7 kB / 0.7354 GB, free: 20.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.6278, allocations: 179.4 kB / 0.7356 GB, free: 20.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/0.6423, allocations: 4.91 MB / 0.7404 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.6423, allocations: 20 kB / 0.7404 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6423, allocations: 3.625 kB / 0.7404 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/0.6423, allocations: 7.969 kB / 0.7404 GB, free: 15.92 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.01787/0.6602, allocations: 7.109 MB / 0.7473 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.6602, allocations: 5.25 kB / 0.7473 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6613, allocations: 171.8 kB / 0.7475 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006688/0.668, allocations: 2.138 MB / 0.7496 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/0.6683, allocations: 27.98 kB / 0.7496 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/0.6923, allocations: 9.968 MB / 0.7593 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.6923, allocations: 0 / 0.7593 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/0.7123, allocations: 6.153 MB / 0.7654 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/0.713, allocations: 223.1 kB / 0.7656 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.7134, allocations: 28 kB / 0.7656 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.7152, allocations: 147.8 kB / 0.7657 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008865/0.716, allocations: 281.2 kB / 0.766 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.7162, allocations: 35.98 kB / 0.766 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001799/0.718, allocations: 1.036 MB / 0.767 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.718, allocations: 0 / 0.767 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001921/0.7199, allocations: 0.5702 MB / 0.7676 GB, free: 3.883 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,eSDC2A.simpleLagLimVar.state,eSDC2A.TransducerDelay.state,eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.imDerivativeLag.x,gENROE.PSIkq,gENROE.PSIkd,gENROE.Epq,gENROE.Epd,gENROE.delta,gENROE.w,gENCLS.eq,gENCLS.delta) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.02046/0.7404, allocations: 6.773 MB / 0.7742 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009893/0.7502, allocations: 2.887 MB / 0.777 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.7503, allocations: 0 / 0.777 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006763/0.757, allocations: 1.923 MB / 0.7789 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.7586, allocations: 149.7 kB / 0.7791 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04656/0.8052, allocations: 18.79 MB / 0.7974 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/0.8061, allocations: 1.278 MB / 0.7987 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000781/0.8069, allocations: 158.9 kB / 0.7988 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.808, allocations: 0.675 MB / 0.7995 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.808, allocations: 0 / 0.7995 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/0.9137, allocations: 48.68 MB / 0.847 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/18.05, allocations: 14.39 kB / 0.847 GB, free: 2.344 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A_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_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.63263465199998] Failed to read output from testmodel.py, exit status != 0: 18.184851363002963 18.200425851 18.002731877 Calling exit ...