Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08033/0.08033, allocations: 12.77 MB / 29.11 MB, free: 224 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 111.5 kB / 34.9 MB, free: 1.211 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.6 MB / 248.2 MB, free: 7.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 204.4 kB / 303.1 MB, free: 1.012 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3262/0.3262, allocations: 79.72 MB / 437.6 MB, free: 13.21 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004102/0.004102, allocations: 155.1 kB / 0.5828 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1349, allocations: 71.99 MB / 0.6531 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.2734/0.4083, allocations: 8.131 MB / 0.661 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.4139, allocations: 2.489 MB / 0.6635 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.4157, allocations: 13.72 kB / 0.6635 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.4166, allocations: 318.1 kB / 0.6638 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.4202, allocations: 1.249 MB / 0.665 GB, free: 5.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4219, allocations: 0.6659 MB / 0.6657 GB, free: 5.051 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.4249, allocations: 2.289 MB / 0.6679 GB, free: 3.977 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.4254, allocations: 276.6 kB / 0.6682 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.4268, allocations: 0.8646 MB / 0.669 GB, free: 3.387 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.4281, allocations: 1.127 MB / 0.6701 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.4283, allocations: 176.2 kB / 0.6703 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.4291, allocations: 400.7 kB / 0.6707 GB, free: 2.789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.4294, allocations: 454.1 kB / 0.6711 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006814/0.4301, allocations: 0.8821 MB / 0.672 GB, free: 1.906 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.4326, allocations: 2.242 MB / 0.6741 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4326, allocations: 0 / 0.6741 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4326, allocations: 0 / 0.6741 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.729e-05/0.4326, allocations: 0 / 0.6741 GB, free: 0.9219 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01457/0.4472, allocations: 3.773 MB / 0.6778 GB, free: 15.38 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4472, allocations: 12.52 kB / 0.6778 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002656/0.4475, allocations: 150.8 kB / 0.678 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.4524, allocations: 0.7536 MB / 0.6787 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.4549, allocations: 1.104 MB / 0.6798 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005211/0.4554, allocations: 426.7 kB / 0.6802 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.4557, allocations: 111.6 kB / 0.6803 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.4588, allocations: 1.381 MB / 0.6817 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.4589, allocations: 3.938 kB / 0.6817 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.459, allocations: 40.44 kB / 0.6817 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.459, allocations: 22.31 kB / 0.6817 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.4622, allocations: 1.313 MB / 0.683 GB, free: 12.95 MB / 478.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.009943/0.4721, allocations: 4.813 MB / 0.6877 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008233/0.4804, allocations: 2.756 MB / 0.6904 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.4826, allocations: 0.8107 MB / 0.6912 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.4827, allocations: 22.88 kB / 0.6912 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.485, allocations: 1.042 MB / 0.6922 GB, free: 6.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 2.966e-06/0.485, allocations: 1.094 kB / 0.6922 GB, free: 6.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04053/0.5256, allocations: 9.636 MB / 0.7016 GB, free: 1.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.5257, allocations: 116.3 kB / 0.7017 GB, free: 1.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.5282, allocations: 1.393 MB / 0.7031 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004356/0.5286, allocations: 51.2 kB / 0.7032 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.5292, allocations: 0.5847 MB / 0.7037 GB, free: 276 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/0.5299, allocations: 477.3 kB / 0.7042 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007634/0.5307, allocations: 330.7 kB / 0.7045 GB, free: 15.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5308, allocations: 301.1 kB / 0.7048 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.5331, allocations: 0.9656 MB / 0.7057 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.5355, allocations: 1.155 MB / 0.7069 GB, free: 13.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.5401, allocations: 2.046 MB / 0.7089 GB, free: 11.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5401, allocations: 0 / 0.7089 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01772/0.5578, allocations: 5.364 MB / 0.7141 GB, free: 6.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.5578, allocations: 4 kB / 0.7141 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.5579, allocations: 4 kB / 0.7141 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.5681, allocations: 2.878 MB / 0.7169 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.5696, allocations: 276.5 kB / 0.7172 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007756/0.5774, allocations: 2.865 MB / 0.72 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.5802, allocations: 246.8 kB / 0.7202 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.5805, allocations: 63.98 kB / 0.7203 GB, free: 15.8 MB / 0.4981 GB 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 (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0009087/0.5814, allocations: 301.5 kB / 0.7206 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/0.582, allocations: 166.9 kB / 0.7207 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/0.5986, allocations: 4.684 MB / 0.7253 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.5986, allocations: 12 kB / 0.7253 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.5986, allocations: 8 kB / 0.7253 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/0.5987, allocations: 7.969 kB / 0.7253 GB, free: 10.6 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 postOpt removeSimpleEquations (simulation): time 0.02093/0.6196, allocations: 6.749 MB / 0.7319 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.6196, allocations: 4 kB / 0.7319 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/0.6206, allocations: 135.8 kB / 0.732 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008054/0.6287, allocations: 2.139 MB / 0.7341 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003732/0.629, allocations: 31.98 kB / 0.7342 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/0.6568, allocations: 10.07 MB / 0.744 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.6568, allocations: 3.938 kB / 0.744 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/0.6762, allocations: 5.842 MB / 0.7497 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.677, allocations: 283.6 kB / 0.75 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000671/0.6777, allocations: 25.69 kB / 0.75 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/0.6798, allocations: 135.8 kB / 0.7501 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/0.6809, allocations: 261.1 kB / 0.7504 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/0.6812, allocations: 39.88 kB / 0.7504 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002119/0.6833, allocations: 0.9418 MB / 0.7513 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6833, allocations: 0 / 0.7513 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002451/0.6857, allocations: 0.5191 MB / 0.7518 GB, free: 15.1 MB / 0.5294 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.02019/0.7059, allocations: 6.437 MB / 0.7581 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009771/0.7157, allocations: 2.687 MB / 0.7608 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7157, allocations: 0 / 0.7608 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006796/0.7225, allocations: 1.828 MB / 0.7625 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.7247, allocations: 128.6 kB / 0.7627 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05024/0.7749, allocations: 18.59 MB / 0.7808 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.776, allocations: 1.211 MB / 0.782 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008026/0.7768, allocations: 141.7 kB / 0.7821 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.7778, allocations: 0.593 MB / 0.7827 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.123e-06/0.7778, allocations: 0 / 0.7827 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09826/0.8761, allocations: 43.56 MB / 0.8253 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.72, allocations: 7.438 kB / 0.8253 GB, free: 3.547 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.275825252290815] Failed to read output from testmodel.py, exit status != 0: 15.835663605947047 15.849947702 15.414309694 Calling exit ...