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.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.00181/0.00181, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.507/1.507, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001607/0.001607, allocations: 209.4 kB / 309.2 MB, free: 3.109 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6173/0.6173, allocations: 107.3 MB / 473 MB, free: 29.68 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.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: 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.002596/0.002596, allocations: 90.75 kB / 0.6333 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1492, allocations: 80.16 MB / 0.7115 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.UEL.MNLEX2): time 0.01119/0.1604, allocations: 8.369 MB / 0.7197 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007032/0.1674, allocations: 2.938 MB / 0.7226 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.169, allocations: 27.94 kB / 0.7226 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.1701, allocations: 384.7 kB / 0.723 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.1735, allocations: 1.239 MB / 0.7242 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.1758, allocations: 0.9666 MB / 0.7251 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.18, allocations: 2.88 MB / 0.7279 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009226/0.181, allocations: 413.3 kB / 0.7283 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.1831, allocations: 1.152 MB / 0.7295 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1851, allocations: 1.236 MB / 0.7307 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004897/0.1856, allocations: 244 kB / 0.7309 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009748/0.1865, allocations: 451.8 kB / 0.7313 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.1871, allocations: 0.5876 MB / 0.7319 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1882, allocations: 0.9286 MB / 0.7328 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.1919, allocations: 3 MB / 0.7357 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1919, allocations: 0 / 0.7357 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1919, allocations: 8 kB / 0.7358 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.223e-05/0.192, allocations: 0 / 0.7358 GB, free: 14.62 MB / 0.5137 GB 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.01523/0.2072, allocations: 4.524 MB / 0.7402 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.2072, allocations: 12.03 kB / 0.7402 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003009/0.2075, allocations: 198 kB / 0.7404 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.2125, allocations: 0.8103 MB / 0.7412 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.2157, allocations: 1.33 MB / 0.7425 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009034/0.2166, allocations: 0.8926 MB / 0.7433 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.217, allocations: 136 kB / 0.7435 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/0.221, allocations: 1.772 MB / 0.7452 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.2211, allocations: 0 / 0.7452 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.2212, allocations: 55.94 kB / 0.7452 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.2212, allocations: 28 kB / 0.7453 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.2254, allocations: 1.645 MB / 0.7469 GB, free: 2.902 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 preOpt removeSimpleEquations (simulation): time 0.01159/0.2369, allocations: 4.803 MB / 0.7516 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009695/0.2466, allocations: 2.754 MB / 0.7543 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/0.2492, allocations: 0.9755 MB / 0.7552 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.2496, allocations: 57.28 kB / 0.7553 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002984/0.2526, allocations: 1.278 MB / 0.7565 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=155): time 3.607e-06/0.2526, allocations: 0 / 0.7565 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=155): time 0.04931/0.3019, allocations: 10.95 MB / 0.7672 GB, free: 13.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.42e-05/0.302, allocations: 124.1 kB / 0.7673 GB, free: 13.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/0.3051, allocations: 1.715 MB / 0.769 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004698/0.3055, allocations: 53.7 kB / 0.7691 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/0.3063, allocations: 0.7511 MB / 0.7698 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.3072, allocations: 0.5733 MB / 0.7703 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.3079, allocations: 400.1 kB / 0.7707 GB, free: 10.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3081, allocations: 301.1 kB / 0.771 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/0.3109, allocations: 1.148 MB / 0.7721 GB, free: 8.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.314, allocations: 1.378 MB / 0.7735 GB, free: 7.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005814/0.3198, allocations: 2.42 MB / 0.7758 GB, free: 4.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.3198, allocations: 0 / 0.7758 GB, free: 4.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02067/0.3405, allocations: 5.898 MB / 0.7816 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.3405, allocations: 4 kB / 0.7816 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3406, allocations: 7.984 kB / 0.7816 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/0.3517, allocations: 2.842 MB / 0.7844 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.3537, allocations: 375.5 kB / 0.7847 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.3647, allocations: 5.054 MB / 0.7897 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.3678, allocations: 318.6 kB / 0.79 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.3681, allocations: 83.97 kB / 0.7901 GB, free: 6.039 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (216): * Single equations (assignments): 213 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008671/0.3689, allocations: 357.4 kB / 0.7904 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/0.3694, allocations: 206.8 kB / 0.7906 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02947/0.3988, allocations: 5.246 MB / 0.7957 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.3989, allocations: 20 kB / 0.7957 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3989, allocations: 3.938 kB / 0.7958 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-05/0.3989, allocations: 12.05 kB / 0.7958 GB, free: 176 kB / 0.5606 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.03454/0.4335, allocations: 6.973 MB / 0.8026 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.4335, allocations: 4.031 kB / 0.8026 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.4356, allocations: 191.8 kB / 0.8028 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0133/0.4489, allocations: 2.252 MB / 0.805 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005287/0.4494, allocations: 35.98 kB / 0.805 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3193/0.7687, allocations: 11.52 MB / 0.8162 GB, free: 89.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7687, allocations: 1.766 kB / 0.8162 GB, free: 89.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/0.7915, allocations: 6.604 MB / 0.8227 GB, free: 88.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.7924, allocations: 249.4 kB / 0.8229 GB, free: 88.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.7928, allocations: 33.72 kB / 0.823 GB, free: 88.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.7949, allocations: 183.8 kB / 0.8231 GB, free: 88.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/0.7962, allocations: 310.2 kB / 0.8234 GB, free: 88.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.7963, allocations: 45.92 kB / 0.8235 GB, free: 88.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002689/0.799, allocations: 1.153 MB / 0.8246 GB, free: 87.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.799, allocations: 0 / 0.8246 GB, free: 87.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002769/0.8018, allocations: 0.6187 MB / 0.8252 GB, free: 87.58 MB / 0.5762 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.02145/0.8232, allocations: 7.224 MB / 0.8323 GB, free: 85.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009776/0.833, allocations: 3.227 MB / 0.8354 GB, free: 84.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.833, allocations: 0 / 0.8354 GB, free: 84.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006469/0.8395, allocations: 2.197 MB / 0.8376 GB, free: 83.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.8409, allocations: 175.3 kB / 0.8377 GB, free: 83.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04758/0.8885, allocations: 22.74 MB / 0.8599 GB, free: 62.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.8891, allocations: 0.806 MB / 0.8607 GB, free: 62.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008573/0.89, allocations: 188.1 kB / 0.8609 GB, free: 61.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008863/0.8909, allocations: 0.7726 MB / 0.8616 GB, free: 61.19 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.8909, allocations: 0 / 0.8616 GB, free: 61.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0883/0.9792, allocations: 54.52 MB / 0.9149 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.89, allocations: 8 kB / 0.9149 GB, free: 6.848 MB / 0.5762 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.233046534005553] Failed to read output from testmodel.py, exit status != 0: 16.043953157030046 16.057425412 15.862220236 Calling exit ...