Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.00198/0.00198, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.492/1.492, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001609/0.001609, allocations: 214 kB / 306 MB, free: 4.289 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.4486/0.4486, allocations: 79.71 MB / 441.8 MB, free: 15.94 MB / 318.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.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.00243/0.00243, allocations: 87.86 kB / 0.5878 GB, free: 1.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.158, allocations: 73.26 MB / 0.6594 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.01125/0.1693, allocations: 8.998 MB / 0.6682 GB, free: 15 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.1763, allocations: 2.907 MB / 0.671 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.1783, allocations: 19.94 kB / 0.671 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.1797, allocations: 349 kB / 0.6714 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004498/0.1842, allocations: 1.305 MB / 0.6726 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.1868, allocations: 0.8825 MB / 0.6735 GB, free: 9.543 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.1914, allocations: 2.646 MB / 0.6761 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008005/0.1922, allocations: 374.5 kB / 0.6764 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.1941, allocations: 1.031 MB / 0.6774 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.1962, allocations: 1.253 MB / 0.6787 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004829/0.1967, allocations: 212 kB / 0.6789 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.1978, allocations: 0.4918 MB / 0.6793 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006081/0.1984, allocations: 0.5176 MB / 0.6798 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1997, allocations: 1.018 MB / 0.6808 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004158/0.2038, allocations: 2.7 MB / 0.6835 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2039, allocations: 3.938 kB / 0.6835 GB, free: 15.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2039, allocations: 0 / 0.6835 GB, free: 15.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.473e-05/0.2039, allocations: 4 kB / 0.6835 GB, free: 15.23 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01706/0.221, allocations: 4.17 MB / 0.6876 GB, free: 11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.221, allocations: 12.03 kB / 0.6876 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002642/0.2213, allocations: 172.9 kB / 0.6877 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.2264, allocations: 0.7909 MB / 0.6885 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.2293, allocations: 1.248 MB / 0.6897 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006306/0.2299, allocations: 0.4963 MB / 0.6902 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.2303, allocations: 128 kB / 0.6903 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.234, allocations: 1.587 MB / 0.6919 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.234, allocations: 0 / 0.6919 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.2342, allocations: 44 kB / 0.6919 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.2342, allocations: 28 kB / 0.6919 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.2378, allocations: 1.484 MB / 0.6934 GB, free: 4.812 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.298/0.5359, allocations: 5.508 MB / 0.6988 GB, free: 33.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009983/0.5459, allocations: 3.024 MB / 0.7017 GB, free: 33.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.5485, allocations: 0.9006 MB / 0.7026 GB, free: 33.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.5489, allocations: 0.7311 MB / 0.7033 GB, free: 32.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00276/0.5517, allocations: 1.146 MB / 0.7044 GB, free: 32.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=136): time 3.336e-06/0.5517, allocations: 0 / 0.7044 GB, free: 32.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.0454/0.5971, allocations: 10.02 MB / 0.7142 GB, free: 31.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.5971, allocations: 121.2 kB / 0.7143 GB, free: 31.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.5995, allocations: 1.558 MB / 0.7159 GB, free: 30.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.5998, allocations: 52.17 kB / 0.7159 GB, free: 30.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.6003, allocations: 0.6814 MB / 0.7166 GB, free: 30.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.6007, allocations: 0.5112 MB / 0.7171 GB, free: 29.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006825/0.6014, allocations: 380.8 kB / 0.7174 GB, free: 29.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.6015, allocations: 302.2 kB / 0.7177 GB, free: 29.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.6039, allocations: 1.065 MB / 0.7188 GB, free: 28.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.6065, allocations: 1.283 MB / 0.72 GB, free: 27.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/0.6115, allocations: 2.264 MB / 0.7222 GB, free: 26.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.6115, allocations: 1.094 kB / 0.7222 GB, free: 26.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01802/0.6295, allocations: 5.65 MB / 0.7278 GB, free: 23.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.6296, allocations: 8.062 kB / 0.7278 GB, free: 23.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.6296, allocations: 4.656 kB / 0.7278 GB, free: 23.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.6397, allocations: 2.777 MB / 0.7305 GB, free: 22.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.6414, allocations: 346.2 kB / 0.7308 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/0.648, allocations: 3.355 MB / 0.7341 GB, free: 20.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.6506, allocations: 289.4 kB / 0.7344 GB, free: 20.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.6509, allocations: 71.97 kB / 0.7344 GB, free: 20.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * 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 {(30,26), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006601/0.6515, allocations: 329.7 kB / 0.7347 GB, free: 19.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.6519, allocations: 183.8 kB / 0.7349 GB, free: 19.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/0.668, allocations: 4.972 MB / 0.7398 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.668, allocations: 16 kB / 0.7398 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.668, allocations: 0 / 0.7398 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/0.668, allocations: 11.91 kB / 0.7398 GB, free: 14.65 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 postOpt removeSimpleEquations (simulation): time 0.0189/0.6869, allocations: 7.168 MB / 0.7468 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.687, allocations: 4 kB / 0.7468 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.6881, allocations: 175.8 kB / 0.747 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007414/0.6955, allocations: 2.138 MB / 0.7491 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003782/0.6959, allocations: 31.98 kB / 0.7491 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02767/0.7236, allocations: 10.08 MB / 0.7589 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7236, allocations: 0 / 0.7589 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/0.7459, allocations: 6.165 MB / 0.7649 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.7469, allocations: 303.5 kB / 0.7652 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007304/0.7476, allocations: 31.94 kB / 0.7653 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.7498, allocations: 147.8 kB / 0.7654 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/0.7509, allocations: 281.3 kB / 0.7657 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/0.7511, allocations: 40.98 kB / 0.7657 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002211/0.7533, allocations: 1.04 MB / 0.7667 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7533, allocations: 0 / 0.7667 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002352/0.7557, allocations: 0.5752 MB / 0.7673 GB, free: 2.305 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.state) * 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 (93): * Single equations (assignments): 92 * 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.0229/0.7786, allocations: 6.786 MB / 0.7739 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01137/0.7899, allocations: 2.887 MB / 0.7767 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.79, allocations: 4 kB / 0.7767 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007552/0.7975, allocations: 1.936 MB / 0.7786 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.7996, allocations: 158.3 kB / 0.7788 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05946/0.859, allocations: 20.74 MB / 0.799 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.8603, allocations: 1.293 MB / 0.8003 GB, free: 140 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001043/0.8613, allocations: 167.2 kB / 0.8005 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.8627, allocations: 0.6828 MB / 0.8011 GB, free: 15.29 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.8627, allocations: 0 / 0.8011 GB, free: 15.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.9696, allocations: 48.77 MB / 0.8488 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.63, allocations: 13.05 kB / 0.8488 GB, free: 14.63 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.19519266700081] Failed to read output from testmodel.py, exit status != 0: 16.756563894989085 16.77952806 16.571154712 Calling exit ...