Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.00134/0.00134, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.442/1.442, allocations: 230.6 MB / 252.7 MB, free: 8.277 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.001639/0.001639, allocations: 206.8 kB / 309.2 MB, free: 3.137 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.4535/0.4535, allocations: 79.74 MB / 445.4 MB, free: 14.84 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.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",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.002478/0.002478, allocations: 79.88 kB / 0.5929 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1578, allocations: 73.29 MB / 0.6645 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.008405/0.1662, allocations: 7.07 MB / 0.6714 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.1712, allocations: 2.175 MB / 0.6735 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1724, allocations: 19.94 kB / 0.6736 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.1733, allocations: 257.8 kB / 0.6738 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.1758, allocations: 0.849 MB / 0.6746 GB, free: 10.12 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.1776, allocations: 0.7563 MB / 0.6754 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.1802, allocations: 1.752 MB / 0.6771 GB, free: 7.617 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.1808, allocations: 296 kB / 0.6774 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.182, allocations: 0.7276 MB / 0.6781 GB, free: 6.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.1831, allocations: 0.8516 MB / 0.6789 GB, free: 5.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.1833, allocations: 136 kB / 0.679 GB, free: 5.582 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006108/0.1839, allocations: 291.8 kB / 0.6793 GB, free: 5.297 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.1842, allocations: 346.6 kB / 0.6796 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.1849, allocations: 0.7185 MB / 0.6803 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.1873, allocations: 1.844 MB / 0.6822 GB, free: 2.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1873, allocations: 3.938 kB / 0.6822 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1873, allocations: 0 / 0.6822 GB, free: 2.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.1873, allocations: 0 / 0.6822 GB, free: 2.379 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009997/0.1973, allocations: 2.991 MB / 0.6851 GB, free: 15.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.1974, allocations: 15.97 kB / 0.6851 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.1976, allocations: 143.4 kB / 0.6852 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/0.2028, allocations: 0.8147 MB / 0.686 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.2047, allocations: 0.866 MB / 0.6869 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005126/0.2053, allocations: 493.7 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.2054, allocations: 91.94 kB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.2082, allocations: 1.291 MB / 0.6887 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2082, allocations: 0 / 0.6887 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2083, allocations: 36 kB / 0.6887 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.2084, allocations: 20 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.2112, allocations: 1.202 MB / 0.6899 GB, free: 10.22 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.008003/0.2192, allocations: 4.11 MB / 0.6939 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.2224, allocations: 1.234 MB / 0.6951 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.2242, allocations: 0.7745 MB / 0.6959 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.2243, allocations: 16.98 kB / 0.6959 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/0.2264, allocations: 0.9619 MB / 0.6968 GB, free: 2.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.256e-06/0.2264, allocations: 0 / 0.6968 GB, free: 2.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.3368/0.5633, allocations: 7.695 MB / 0.7044 GB, free: 34.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.5633, allocations: 116.3 kB / 0.7045 GB, free: 34.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.5653, allocations: 1.039 MB / 0.7055 GB, free: 34.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003422/0.5656, allocations: 46.89 kB / 0.7055 GB, free: 33.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.5661, allocations: 0.5358 MB / 0.7061 GB, free: 33.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.5665, allocations: 407 kB / 0.7064 GB, free: 33.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005383/0.567, allocations: 244.5 kB / 0.7067 GB, free: 33.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5672, allocations: 363.2 kB / 0.707 GB, free: 33.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.5691, allocations: 0.7855 MB / 0.7078 GB, free: 33.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.571, allocations: 0.9458 MB / 0.7087 GB, free: 33.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02404/0.595, allocations: 5.596 MB / 0.7142 GB, free: 31.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.595, allocations: 1.031 kB / 0.7142 GB, free: 31.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01381/0.6088, allocations: 4.431 MB / 0.7185 GB, free: 30.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.6089, allocations: 58.22 kB / 0.7186 GB, free: 30.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.6089, allocations: 6.719 kB / 0.7186 GB, free: 30.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005791/0.6147, allocations: 1.741 MB / 0.7203 GB, free: 30.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.6164, allocations: 279.6 kB / 0.7205 GB, free: 30.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.6367, allocations: 8.948 MB / 0.7293 GB, free: 24.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.6388, allocations: 204.5 kB / 0.7295 GB, free: 24.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00034/0.6391, allocations: 53.75 kB / 0.7295 GB, free: 24.4 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0009442/0.6401, allocations: 310.9 kB / 0.7298 GB, free: 24.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.6406, allocations: 134 kB / 0.7299 GB, free: 24.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.6547, allocations: 4.364 MB / 0.7342 GB, free: 21.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.6547, allocations: 11.72 kB / 0.7342 GB, free: 21.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6547, allocations: 6.969 kB / 0.7342 GB, free: 21.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/0.6547, allocations: 3.984 kB / 0.7342 GB, free: 21.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.671, allocations: 6.195 MB / 0.7403 GB, free: 16.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.671, allocations: 4.031 kB / 0.7403 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.6719, allocations: 129.9 kB / 0.7404 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005844/0.6777, allocations: 1.902 MB / 0.7423 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/0.678, allocations: 19.98 kB / 0.7423 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/0.6999, allocations: 10.52 MB / 0.7526 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6999, allocations: 3.812 kB / 0.7526 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.7163, allocations: 5.391 MB / 0.7578 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.7168, allocations: 152.6 kB / 0.758 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/0.7173, allocations: 19.94 kB / 0.758 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.719, allocations: 139.8 kB / 0.7581 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009085/0.7199, allocations: 248.7 kB / 0.7584 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.72, allocations: 28 kB / 0.7584 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001414/0.7215, allocations: 0.7045 MB / 0.7591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7215, allocations: 0 / 0.7591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002117/0.7236, allocations: 492 kB / 0.7595 GB, free: 12.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01851/0.7421, allocations: 5.969 MB / 0.7654 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008023/0.7501, allocations: 2.61 MB / 0.7679 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7501, allocations: 0 / 0.7679 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005689/0.7558, allocations: 1.81 MB / 0.7697 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.7576, allocations: 136.8 kB / 0.7698 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0469/0.8045, allocations: 16.79 MB / 0.7862 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.8057, allocations: 1.159 MB / 0.7873 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006925/0.8064, allocations: 112.3 kB / 0.7875 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009256/0.8073, allocations: 499.2 kB / 0.7879 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of SimCode: time 1.243e-06/0.8073, allocations: 0 / 0.7879 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/0.9087, allocations: 40.41 MB / 0.8274 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/16.95, allocations: 3.094 kB / 0.8274 GB, free: 7.082 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.57768671300073] Failed to read output from testmodel.py, exit status != 0: 17.09018563400241 17.115384529 16.923301707 Calling exit ...