Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001827/0.001827, 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.487/1.487, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001784/0.001784, allocations: 228.6 kB / 309.2 MB, free: 3.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5776/0.5776, allocations: 101.3 MB / 467 MB, free: 10.32 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.002766/0.002766, allocations: 83.88 kB / 0.6245 GB, free: 12.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4621, allocations: 78.6 MB / 0.7012 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.00867/0.4707, allocations: 8.959 MB / 0.71 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.477, allocations: 2.908 MB / 0.7128 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.4791, allocations: 18.94 kB / 0.7128 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.4807, allocations: 351.3 kB / 0.7131 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.4853, allocations: 1.101 MB / 0.7142 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.4882, allocations: 0.9889 MB / 0.7152 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004371/0.4926, allocations: 2.465 MB / 0.7176 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008622/0.4934, allocations: 344.6 kB / 0.7179 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.4956, allocations: 1.01 MB / 0.7189 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.4978, allocations: 1.212 MB / 0.7201 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007308/0.4986, allocations: 208.6 kB / 0.7203 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.5001, allocations: 483.6 kB / 0.7208 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.5012, allocations: 0.497 MB / 0.7212 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.5036, allocations: 0.9918 MB / 0.7222 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.5081, allocations: 2.597 MB / 0.7247 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5081, allocations: 0 / 0.7247 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5081, allocations: 0 / 0.7247 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.21e-05/0.5082, allocations: 0.75 kB / 0.7247 GB, free: 10.29 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.01502/0.5232, allocations: 3.86 MB / 0.7285 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.5233, allocations: 10.31 kB / 0.7285 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.5236, allocations: 167.8 kB / 0.7287 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.5289, allocations: 0.7841 MB / 0.7295 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.532, allocations: 1.161 MB / 0.7306 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007495/0.5328, allocations: 0.6404 MB / 0.7312 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.5331, allocations: 128.8 kB / 0.7313 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.5369, allocations: 1.553 MB / 0.7329 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.537, allocations: 0 / 0.7329 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.5371, allocations: 45.31 kB / 0.7329 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.5371, allocations: 30.36 kB / 0.7329 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/0.5407, allocations: 1.453 MB / 0.7343 GB, free: 5.305 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 preOpt removeSimpleEquations (simulation): time 0.0112/0.5519, allocations: 5.393 MB / 0.7396 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008706/0.5606, allocations: 2.508 MB / 0.7421 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.5632, allocations: 0.8811 MB / 0.7429 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.5636, allocations: 67.03 kB / 0.743 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002486/0.566, allocations: 1.133 MB / 0.7441 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=134): time 3.907e-06/0.566, allocations: 0 / 0.7441 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=134): time 0.04494/0.611, allocations: 10.33 MB / 0.7542 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.6111, allocations: 125.6 kB / 0.7543 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.6141, allocations: 1.531 MB / 0.7558 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004548/0.6145, allocations: 65.62 kB / 0.7559 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007466/0.6153, allocations: 0.664 MB / 0.7565 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/0.6161, allocations: 0.4996 MB / 0.757 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/0.6168, allocations: 379.6 kB / 0.7574 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6169, allocations: 305.1 kB / 0.7576 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.6194, allocations: 1.054 MB / 0.7587 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/0.6222, allocations: 1.294 MB / 0.7599 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/0.6272, allocations: 2.257 MB / 0.7621 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.6272, allocations: 3.938 kB / 0.7621 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01045/0.6376, allocations: 3.832 MB / 0.7659 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6377, allocations: 10.5 kB / 0.7659 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.6377, allocations: 4 kB / 0.7659 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.648, allocations: 2.727 MB / 0.7686 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.6501, allocations: 371.4 kB / 0.7689 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006932/0.657, allocations: 2.725 MB / 0.7716 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.66, allocations: 286.6 kB / 0.7719 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.6602, allocations: 71.98 kB / 0.7719 GB, free: 7.242 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (206): * Single equations (assignments): 204 * 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.000782/0.6609, allocations: 313.5 kB / 0.7722 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.6613, allocations: 190.8 kB / 0.7724 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0174/0.6787, allocations: 4.989 MB / 0.7773 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.6787, allocations: 16 kB / 0.7773 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6787, allocations: 4 kB / 0.7773 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/0.6788, allocations: 7.922 kB / 0.7773 GB, free: 1.703 MB / 0.5294 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.0209/0.6997, allocations: 7.127 MB / 0.7843 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.6997, allocations: 4 kB / 0.7843 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.7009, allocations: 163.8 kB / 0.7844 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008053/0.7089, allocations: 2.2 MB / 0.7866 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/0.7092, allocations: 35.92 kB / 0.7866 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/0.737, allocations: 10.12 MB / 0.7965 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.737, allocations: 0 / 0.7965 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02037/0.7573, allocations: 6.14 MB / 0.8025 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/0.7581, allocations: 214.4 kB / 0.8027 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/0.7584, allocations: 35.98 kB / 0.8027 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.7602, allocations: 139.8 kB / 0.8028 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008845/0.7611, allocations: 285.2 kB / 0.8031 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.7612, allocations: 35.98 kB / 0.8032 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001778/0.763, allocations: 1.032 MB / 0.8042 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.763, allocations: 0 / 0.8042 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001657/0.7646, allocations: 0.5736 MB / 0.8047 GB, free: 5.332 MB / 0.5606 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 (92): * Single equations (assignments): 91 * 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.02057/0.7852, allocations: 6.762 MB / 0.8113 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01006/0.7952, allocations: 2.908 MB / 0.8142 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7953, allocations: 0 / 0.8142 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006842/0.8021, allocations: 1.958 MB / 0.8161 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.8038, allocations: 159 kB / 0.8162 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04794/0.8517, allocations: 19.92 MB / 0.8357 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/0.8527, allocations: 1.278 MB / 0.8369 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007974/0.8535, allocations: 166.9 kB / 0.8371 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.8545, allocations: 0.6789 MB / 0.8378 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/0.8545, allocations: 0 / 0.8378 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.9601, allocations: 48.59 MB / 0.8852 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.25, allocations: 19 kB / 0.8852 GB, free: 2.574 MB / 0.6387 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.21237804600969] Failed to read output from testmodel.py, exit status != 0: 17.397318847011775 17.413464751 16.901925627 Calling exit ...