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.001303/0.001303, allocations: 109.8 kB / 16.4 MB, free: 6.504 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.371/1.371, allocations: 222.9 MB / 242.1 MB, free: 15.22 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.001451/0.001451, allocations: 205.5 kB / 294.4 MB, free: 12.66 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.5371/0.5371, allocations: 98.2 MB / 444.8 MB, free: 10.95 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.002386/0.002386, allocations: 87.84 kB / 0.5899 GB, free: 4.512 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.13, allocations: 72.77 MB / 0.6609 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01099/0.141, allocations: 9.613 MB / 0.6703 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006609/0.1477, allocations: 3.019 MB / 0.6733 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1491, allocations: 16 kB / 0.6733 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1503, allocations: 380.7 kB / 0.6736 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.1543, allocations: 1.208 MB / 0.6748 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.1567, allocations: 0.9534 MB / 0.6757 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00429/0.161, allocations: 2.83 MB / 0.6785 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1622, allocations: 0.614 MB / 0.6791 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1641, allocations: 1.109 MB / 0.6802 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.166, allocations: 1.35 MB / 0.6815 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005458/0.1666, allocations: 248 kB / 0.6817 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.1677, allocations: 0.4919 MB / 0.6822 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005781/0.1683, allocations: 0.5838 MB / 0.6828 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.1695, allocations: 1.134 MB / 0.6839 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.1732, allocations: 2.996 MB / 0.6868 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1732, allocations: 0 / 0.6868 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1732, allocations: 3.938 kB / 0.6868 GB, free: 1.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.738e-05/0.1733, allocations: 0 / 0.6868 GB, free: 1.004 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.2662/0.4395, allocations: 4.146 MB / 0.6909 GB, free: 25.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4395, allocations: 9.266 kB / 0.6909 GB, free: 25.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.4398, allocations: 197.1 kB / 0.6911 GB, free: 25.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.4445, allocations: 0.8081 MB / 0.6919 GB, free: 25.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.4472, allocations: 1.402 MB / 0.6932 GB, free: 24.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004959/0.4477, allocations: 0.5609 MB / 0.6938 GB, free: 24.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.448, allocations: 147.5 kB / 0.6939 GB, free: 24.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.4518, allocations: 1.764 MB / 0.6957 GB, free: 24.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.4519, allocations: 3.25 kB / 0.6957 GB, free: 24.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.452, allocations: 48.98 kB / 0.6957 GB, free: 24.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.4521, allocations: 34.69 kB / 0.6957 GB, free: 24.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.4561, allocations: 1.653 MB / 0.6973 GB, free: 24.06 MB / 494.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.01161/0.4677, allocations: 6.047 MB / 0.7033 GB, free: 22.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/0.4778, allocations: 3.343 MB / 0.7065 GB, free: 21.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.4804, allocations: 1.071 MB / 0.7076 GB, free: 21.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/0.4809, allocations: 0.7349 MB / 0.7083 GB, free: 20.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002739/0.4837, allocations: 1.276 MB / 0.7095 GB, free: 20.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=155): time 3.446e-06/0.4837, allocations: 0 / 0.7095 GB, free: 20.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=155): time 0.04632/0.53, allocations: 11.16 MB / 0.7204 GB, free: 14.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.5301, allocations: 123.3 kB / 0.7205 GB, free: 14.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.533, allocations: 1.709 MB / 0.7222 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005425/0.5335, allocations: 59.97 kB / 0.7223 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.534, allocations: 0.7511 MB / 0.723 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005886/0.5346, allocations: 0.5786 MB / 0.7236 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007313/0.5353, allocations: 395 kB / 0.7239 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.5354, allocations: 302.2 kB / 0.7242 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.5379, allocations: 1.141 MB / 0.7253 GB, free: 11.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.5405, allocations: 1.376 MB / 0.7267 GB, free: 10.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.5456, allocations: 2.413 MB / 0.729 GB, free: 9.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.5457, allocations: 4.625 kB / 0.729 GB, free: 9.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01215/0.5578, allocations: 4.55 MB / 0.7335 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5579, allocations: 11.94 kB / 0.7335 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5579, allocations: 4 kB / 0.7335 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009418/0.5674, allocations: 2.856 MB / 0.7363 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.5692, allocations: 384.9 kB / 0.7367 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.5798, allocations: 5.178 MB / 0.7417 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.5832, allocations: 322.5 kB / 0.742 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/0.5835, allocations: 75.97 kB / 0.7421 GB, free: 11.98 MB / 0.4981 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.0009332/0.5845, allocations: 370 kB / 0.7425 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.585, allocations: 206.7 kB / 0.7427 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/0.6044, allocations: 5.296 MB / 0.7478 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.6044, allocations: 16 kB / 0.7478 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6044, allocations: 4 kB / 0.7478 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/0.6045, allocations: 7.969 kB / 0.7478 GB, free: 6.066 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.02364/0.6281, allocations: 7.766 MB / 0.7554 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.6282, allocations: 0 / 0.7554 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6296, allocations: 195.7 kB / 0.7556 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008981/0.6386, allocations: 2.258 MB / 0.7578 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/0.639, allocations: 39.98 kB / 0.7579 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03232/0.6713, allocations: 12 MB / 0.7696 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.6714, allocations: 0 / 0.7696 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02325/0.6946, allocations: 6.677 MB / 0.7761 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/0.6955, allocations: 315.5 kB / 0.7764 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005641/0.6961, allocations: 32 kB / 0.7764 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/0.6983, allocations: 191.7 kB / 0.7766 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.6995, allocations: 297.3 kB / 0.7769 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.6997, allocations: 43.98 kB / 0.7769 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002241/0.7019, allocations: 1.157 MB / 0.7781 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.244e-06/0.7019, allocations: 4 kB / 0.7781 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002495/0.7044, allocations: 0.6243 MB / 0.7787 GB, free: 6.066 MB / 0.5294 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.02341/0.7279, allocations: 7.297 MB / 0.7858 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.7394, allocations: 3.405 MB / 0.7891 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7395, allocations: 0 / 0.7891 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008063/0.7475, allocations: 2.281 MB / 0.7914 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.7492, allocations: 174.7 kB / 0.7915 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06066/0.8099, allocations: 22.61 MB / 0.8136 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.8111, allocations: 1.382 MB / 0.815 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009949/0.8121, allocations: 188.1 kB / 0.8151 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.8134, allocations: 0.7742 MB / 0.8159 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of SimCode: time 2.845e-06/0.8134, allocations: 0 / 0.8159 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.9196, allocations: 52.69 MB / 0.8673 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.17, allocations: 7.938 kB / 0.8674 GB, free: 10.96 MB / 0.6231 GB " [Timeout remaining time 644] (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.07643116824329] Failed to read output from testmodel.py, exit status != 0: 16.29510178277269 16.316999171 16.139655825 Calling exit ...