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.000789/0.000789, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.8769/0.8769, allocations: 177.1 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001566/0.001566, allocations: 164.5 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.274/0.274, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5548 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.867e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.006288/0.006307, allocations: 7.745 MB / 0.5624 GB, free: 4.855 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.0106, allocations: 2.77 MB / 0.5651 GB, free: 2.074 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.01112, allocations: 19.94 kB / 0.5651 GB, free: 2.055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.0119, allocations: 340.9 kB / 0.5654 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.01419, allocations: 1.099 MB / 0.5665 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.0157, allocations: 0.9749 MB / 0.5675 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.01747, allocations: 2.45 MB / 0.5699 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.01784, allocations: 330.8 kB / 0.5702 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/0.01875, allocations: 1.356 MB / 0.5715 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.01947, allocations: 0.958 MB / 0.5724 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.01964, allocations: 204 kB / 0.5726 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.02007, allocations: 419.6 kB / 0.573 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.02034, allocations: 0.5096 MB / 0.5735 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.02077, allocations: 0.6774 MB / 0.5742 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.02244, allocations: 2.663 MB / 0.5768 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02245, allocations: 7.938 kB / 0.5768 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.02245, allocations: 0 / 0.5768 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.02246, allocations: 4 kB / 0.5768 GB, free: 6.023 MB / 0.4948 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.00741/0.02987, allocations: 3.826 MB / 0.5805 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.02991, allocations: 12.03 kB / 0.5805 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.03006, allocations: 168.7 kB / 0.5807 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.03227, allocations: 0.7793 MB / 0.5815 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.03359, allocations: 1.168 MB / 0.5826 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.03392, allocations: 0.6311 MB / 0.5832 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.03409, allocations: 135.9 kB / 0.5834 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.03605, allocations: 1.544 MB / 0.5849 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.03606, allocations: 7.938 kB / 0.5849 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.03615, allocations: 47.98 kB / 0.5849 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.03617, allocations: 31.94 kB / 0.5849 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.03833, allocations: 1.445 MB / 0.5864 GB, free: 11.96 MB / 0.5105 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.005788/0.04412, allocations: 4.232 MB / 0.5905 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/0.04851, allocations: 2.501 MB / 0.5929 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.04966, allocations: 0.8994 MB / 0.5938 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.04988, allocations: 49.28 kB / 0.5939 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/0.05126, allocations: 1.145 MB / 0.595 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=134): time 2.685e-06/0.05127, allocations: 0 / 0.595 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.2139/0.2652, allocations: 10.33 MB / 0.6051 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2652, allocations: 118.3 kB / 0.6052 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.2668, allocations: 1.539 MB / 0.6067 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.267, allocations: 57.53 kB / 0.6067 GB, free: 92.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.2673, allocations: 0.668 MB / 0.6074 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.2675, allocations: 0.4999 MB / 0.6079 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.268, allocations: 374.3 kB / 0.6082 GB, free: 91.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.757e-05/0.268, allocations: 305.8 kB / 0.6085 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.2695, allocations: 1.051 MB / 0.6095 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.2713, allocations: 1.286 MB / 0.6108 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.2744, allocations: 2.255 MB / 0.613 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.2744, allocations: 5.094 kB / 0.613 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.005891/0.2803, allocations: 3.832 MB / 0.6168 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2803, allocations: 7.25 kB / 0.6168 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.2803, allocations: 4.406 kB / 0.6168 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005646/0.286, allocations: 2.724 MB / 0.6194 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/0.2869, allocations: 366 kB / 0.6198 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.2906, allocations: 2.727 MB / 0.6224 GB, free: 85.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.2918, allocations: 278.9 kB / 0.6227 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.2919, allocations: 75.94 kB / 0.6228 GB, free: 85.87 MB / 0.5105 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.0004417/0.2923, allocations: 320.9 kB / 0.6231 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.2925, allocations: 189.4 kB / 0.6233 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/0.3013, allocations: 4.991 MB / 0.6281 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3013, allocations: 14.69 kB / 0.6282 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3013, allocations: 1.156 kB / 0.6282 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3013, allocations: 7.969 kB / 0.6282 GB, free: 84.27 MB / 0.5105 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.01018/0.3115, allocations: 6.456 MB / 0.6345 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3115, allocations: 4.031 kB / 0.6345 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.312, allocations: 167.9 kB / 0.6346 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00368/0.3157, allocations: 2.198 MB / 0.6368 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.3158, allocations: 31.56 kB / 0.6368 GB, free: 79.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.3288, allocations: 9.88 MB / 0.6465 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3289, allocations: 0.9375 kB / 0.6465 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00917/0.338, allocations: 6.13 MB / 0.6524 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.3383, allocations: 218.8 kB / 0.6526 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.3385, allocations: 28 kB / 0.6527 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.3393, allocations: 151.8 kB / 0.6528 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/0.3397, allocations: 285.2 kB / 0.6531 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/0.3398, allocations: 35.98 kB / 0.6531 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000865/0.3407, allocations: 1.021 MB / 0.6541 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3407, allocations: 4 kB / 0.6541 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009492/0.3416, allocations: 0.5723 MB / 0.6547 GB, free: 62.27 MB / 0.5105 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.00922/0.3508, allocations: 6.754 MB / 0.6613 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004563/0.3554, allocations: 2.915 MB / 0.6641 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3554, allocations: 4 kB / 0.6641 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.3584, allocations: 1.943 MB / 0.666 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.3591, allocations: 160.5 kB / 0.6662 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.3793, allocations: 18.45 MB / 0.6842 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3797, allocations: 0.7044 MB / 0.6849 GB, free: 31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003466/0.38, allocations: 159.9 kB / 0.685 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.3805, allocations: 0.6878 MB / 0.6857 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/0.3805, allocations: 4 kB / 0.6857 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05493/0.4355, allocations: 48.96 MB / 0.7335 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.942, allocations: 0 / 0.7335 GB, free: 13.42 MB / 0.5417 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 11.411740554496646] Failed to read output from testmodel.py, exit status != 0: 9.061723764054477 9.073253771 9.048709959 Calling exit ...