Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.001774/0.001774, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.486/1.486, allocations: 230.6 MB / 253.4 MB, free: 14.65 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.001623/0.001623, allocations: 222.8 kB / 310 MB, free: 3.094 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.477/0.477, allocations: 79.74 MB / 446.2 MB, free: 38.79 MB / 350.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.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="cs",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.002467/0.002467, allocations: 81.64 kB / 0.5937 GB, free: 38.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1199, allocations: 73.3 MB / 0.6653 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009728/0.1296, allocations: 8.118 MB / 0.6732 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.1361, allocations: 2.563 MB / 0.6757 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.1377, allocations: 12 kB / 0.6757 GB, free: 7.375 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.139, allocations: 317.4 kB / 0.676 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.1433, allocations: 1.262 MB / 0.6773 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1452, allocations: 0.6806 MB / 0.6779 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003969/0.1492, allocations: 2.311 MB / 0.6802 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006774/0.1499, allocations: 282.2 kB / 0.6805 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.1515, allocations: 0.8873 MB / 0.6813 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.1535, allocations: 1.128 MB / 0.6824 GB, free: 496 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005252/0.154, allocations: 176 kB / 0.6826 GB, free: 320 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1551, allocations: 411.7 kB / 0.683 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.1556, allocations: 462.2 kB / 0.6834 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.1568, allocations: 0.8741 MB / 0.6843 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.1605, allocations: 2.245 MB / 0.6865 GB, free: 12.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1605, allocations: 0 / 0.6865 GB, free: 12.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1605, allocations: 0 / 0.6865 GB, free: 12.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.088e-05/0.1606, allocations: 0 / 0.6865 GB, free: 12.32 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01592/0.1765, allocations: 3.866 MB / 0.6903 GB, free: 8.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1766, allocations: 8.031 kB / 0.6903 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.832e-05/0.1766, allocations: 26 kB / 0.6903 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.1768, allocations: 151.8 kB / 0.6904 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004846/0.1817, allocations: 0.7521 MB / 0.6912 GB, free: 7.465 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.184, allocations: 1.037 MB / 0.6922 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006169/0.1847, allocations: 0.5769 MB / 0.6927 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.185, allocations: 108 kB / 0.6928 GB, free: 5.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.1882, allocations: 1.385 MB / 0.6942 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1882, allocations: 3.938 kB / 0.6942 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.1883, allocations: 36 kB / 0.6942 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.1883, allocations: 27.94 kB / 0.6943 GB, free: 4.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.1915, allocations: 1.308 MB / 0.6955 GB, free: 2.824 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.009759/0.2013, allocations: 4.756 MB / 0.7002 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008705/0.21, allocations: 2.312 MB / 0.7024 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.2122, allocations: 0.8058 MB / 0.7032 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.2123, allocations: 28.95 kB / 0.7033 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/0.2147, allocations: 1.038 MB / 0.7043 GB, free: 9.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 2.915e-06/0.2147, allocations: 3.938 kB / 0.7043 GB, free: 9.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.04334/0.2581, allocations: 9.556 MB / 0.7136 GB, free: 32 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.2582, allocations: 123.9 kB / 0.7137 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.2606, allocations: 1.39 MB / 0.7151 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003581/0.261, allocations: 49.7 kB / 0.7151 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.2616, allocations: 0.589 MB / 0.7157 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006696/0.2622, allocations: 460.1 kB / 0.7161 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007203/0.2629, allocations: 335.4 kB / 0.7165 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2631, allocations: 305.1 kB / 0.7168 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.2655, allocations: 0.9643 MB / 0.7177 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/0.2684, allocations: 1.158 MB / 0.7188 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/0.2737, allocations: 2.05 MB / 0.7208 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.2737, allocations: 0 / 0.7208 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01986/0.2935, allocations: 5.361 MB / 0.7261 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.2936, allocations: 4 kB / 0.7261 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.2936, allocations: 4 kB / 0.7261 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.3046, allocations: 2.887 MB / 0.7289 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.3062, allocations: 279.6 kB / 0.7292 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/0.314, allocations: 2.864 MB / 0.732 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.3165, allocations: 246.8 kB / 0.7322 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.3167, allocations: 67.97 kB / 0.7323 GB, free: 12.73 MB / 0.5137 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.0007294/0.3175, allocations: 289.5 kB / 0.7325 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.3179, allocations: 162.9 kB / 0.7327 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/0.3354, allocations: 4.698 MB / 0.7373 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.3354, allocations: 12 kB / 0.7373 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.3355, allocations: 4 kB / 0.7373 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/0.3355, allocations: 7.969 kB / 0.7373 GB, free: 7.539 MB / 0.5137 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.02112/0.3566, allocations: 6.725 MB / 0.7439 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.3566, allocations: 0 / 0.7439 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/0.3576, allocations: 143.8 kB / 0.744 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008222/0.3658, allocations: 2.134 MB / 0.7461 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003234/0.3662, allocations: 31.98 kB / 0.7461 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02824/0.3944, allocations: 9.976 MB / 0.7559 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3944, allocations: 0 / 0.7559 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/0.4151, allocations: 5.846 MB / 0.7616 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/0.4159, allocations: 198.6 kB / 0.7618 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007603/0.4167, allocations: 31.98 kB / 0.7618 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.4188, allocations: 131.8 kB / 0.7619 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/0.4199, allocations: 261 kB / 0.7622 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/0.4201, allocations: 35.98 kB / 0.7622 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002178/0.4223, allocations: 0.9418 MB / 0.7631 GB, free: 12.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4223, allocations: 0 / 0.7631 GB, free: 12.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002205/0.4245, allocations: 0.5269 MB / 0.7636 GB, free: 12.28 MB / 0.545 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.0212/0.4457, allocations: 6.433 MB / 0.7699 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01061/0.4563, allocations: 2.685 MB / 0.7725 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.4563, allocations: 4 kB / 0.7725 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007181/0.4635, allocations: 1.84 MB / 0.7743 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.4655, allocations: 130.4 kB / 0.7745 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05363/0.5191, allocations: 18.6 MB / 0.7926 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.5203, allocations: 1.207 MB / 0.7938 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007619/0.5211, allocations: 141.7 kB / 0.7939 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.5222, allocations: 0.593 MB / 0.7945 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.5222, allocations: 0 / 0.7945 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/0.8986, allocations: 44.87 MB / 0.8383 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.02, allocations: 11.3 kB / 0.8383 GB, free: 114.9 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.853891790029593] Failed to read output from testmodel.py, exit status != 0: 17.21732295700349 17.235242381 17.071046779 Calling exit ...