Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.conf.json 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.001826/0.001826, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.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.001454/0.001454, allocations: 187.2 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5325/0.5325, allocations: 99.65 MB / 454.4 MB, free: 5.059 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 75.88 kB / 0.6073 GB, free: 9.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1549, allocations: 76.93 MB / 0.6825 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01109/0.166, allocations: 9.667 MB / 0.6919 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2901/0.4561, allocations: 3.011 MB / 0.6949 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.4582, allocations: 21.28 kB / 0.6949 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.4595, allocations: 385.8 kB / 0.6952 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.4634, allocations: 1.277 MB / 0.6965 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.4657, allocations: 0.9459 MB / 0.6974 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004379/0.47, allocations: 2.837 MB / 0.7002 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007735/0.4708, allocations: 440.8 kB / 0.7006 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.4726, allocations: 1.114 MB / 0.7017 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.4746, allocations: 1.371 MB / 0.703 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000384/0.475, allocations: 249.8 kB / 0.7033 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009326/0.4759, allocations: 0.4922 MB / 0.7038 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.4764, allocations: 0.5834 MB / 0.7043 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000899/0.4773, allocations: 1.135 MB / 0.7054 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.4806, allocations: 2.993 MB / 0.7084 GB, free: 4.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4806, allocations: 2.062 kB / 0.7084 GB, free: 4.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4806, allocations: 0 / 0.7084 GB, free: 4.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.686e-05/0.4806, allocations: 0 / 0.7084 GB, free: 4.648 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.0143/0.4949, allocations: 4.151 MB / 0.7124 GB, free: 2.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.495, allocations: 14.64 kB / 0.7124 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.4953, allocations: 195.5 kB / 0.7126 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/0.5001, allocations: 0.8103 MB / 0.7134 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.5028, allocations: 1.399 MB / 0.7148 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.5033, allocations: 0.5622 MB / 0.7153 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/0.5036, allocations: 141.5 kB / 0.7155 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/0.5074, allocations: 1.768 MB / 0.7172 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.5074, allocations: 4.469 kB / 0.7172 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.5076, allocations: 52.02 kB / 0.7172 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.5076, allocations: 30.66 kB / 0.7173 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.5115, allocations: 1.659 MB / 0.7189 GB, free: 15.83 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.01261/0.5241, allocations: 6.045 MB / 0.7248 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009386/0.5335, allocations: 3.23 MB / 0.7279 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/0.5361, allocations: 0.9756 MB / 0.7289 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/0.5368, allocations: 0.7273 MB / 0.7296 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00298/0.5398, allocations: 1.288 MB / 0.7309 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=155): time 3.977e-06/0.5398, allocations: 0 / 0.7309 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155): time 0.04626/0.5861, allocations: 11.12 MB / 0.7417 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.5861, allocations: 123.8 kB / 0.7418 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.5893, allocations: 1.712 MB / 0.7435 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004879/0.5898, allocations: 54.61 kB / 0.7436 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/0.5904, allocations: 0.7545 MB / 0.7443 GB, free: 84 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008938/0.5913, allocations: 0.5756 MB / 0.7449 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008011/0.5921, allocations: 396.1 kB / 0.7452 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5923, allocations: 304.9 kB / 0.7455 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/0.5949, allocations: 1.14 MB / 0.7466 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.5978, allocations: 1.379 MB / 0.748 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005466/0.6033, allocations: 2.411 MB / 0.7503 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.6033, allocations: 8 kB / 0.7504 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01314/0.6164, allocations: 4.492 MB / 0.7547 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.6165, allocations: 4.375 kB / 0.7547 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6165, allocations: 8 kB / 0.7547 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.6269, allocations: 2.865 MB / 0.7575 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.629, allocations: 383.4 kB / 0.7579 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.6393, allocations: 5.18 MB / 0.763 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/0.6426, allocations: 323.5 kB / 0.7633 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.6429, allocations: 75.97 kB / 0.7634 GB, free: 12.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,eXAC1_1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008822/0.6438, allocations: 369.5 kB / 0.7637 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.6443, allocations: 198.7 kB / 0.7639 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/0.6621, allocations: 5.265 MB / 0.769 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.6621, allocations: 19.94 kB / 0.7691 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6621, allocations: 4 kB / 0.7691 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-05/0.6621, allocations: 7.969 kB / 0.7691 GB, free: 6.324 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.02237/0.6845, allocations: 7.729 MB / 0.7766 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.6845, allocations: 0 / 0.7766 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.6859, allocations: 195.7 kB / 0.7768 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008023/0.6939, allocations: 2.267 MB / 0.779 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003905/0.6943, allocations: 32 kB / 0.779 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/0.7235, allocations: 11.99 MB / 0.7908 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7235, allocations: 0 / 0.7908 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/0.7447, allocations: 6.637 MB / 0.7972 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.7456, allocations: 323.5 kB / 0.7975 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.7459, allocations: 32 kB / 0.7976 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.7479, allocations: 179.8 kB / 0.7977 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009661/0.7488, allocations: 305.2 kB / 0.798 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.7489, allocations: 47.98 kB / 0.7981 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001992/0.7509, allocations: 1.153 MB / 0.7992 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7509, allocations: 0 / 0.7992 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00173/0.7527, allocations: 0.6204 MB / 0.7998 GB, free: 6.395 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eXAC1_1.imLimitedSimpleLag.state,eXAC1_1.imDerivativeLag.x,eXAC1_1.leadLag.TF.x_scaled[1],eXAC1_1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1_1.TransducerDelay.state,mNLEX2.simpleLagLim.state,mNLEX2.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02092/0.7736, allocations: 7.254 MB / 0.8069 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.7838, allocations: 3.224 MB / 0.81 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7838, allocations: 0 / 0.81 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006874/0.7907, allocations: 2.192 MB / 0.8122 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.7924, allocations: 177.3 kB / 0.8124 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05492/0.8473, allocations: 22.51 MB / 0.8343 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.8484, allocations: 1.37 MB / 0.8357 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009218/0.8493, allocations: 188.1 kB / 0.8359 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.8504, allocations: 0.7765 MB / 0.8366 GB, free: 208 kB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.8504, allocations: 0 / 0.8366 GB, free: 208 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.9589, allocations: 53.21 MB / 0.8886 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.76, allocations: 7.922 kB / 0.8886 GB, free: 11.15 MB / 0.6544 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_UEL_MNLEX2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.942673482000828] Failed to read output from testmodel.py, exit status != 0: 16.889110578224063 16.903760249 16.42012177 Calling exit ...