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.001381/0.001381, allocations: 110.4 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.441/1.441, allocations: 230.6 MB / 252.7 MB, free: 8.293 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.001572/0.001572, allocations: 209.4 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.4456/0.4456, allocations: 79.73 MB / 445.4 MB, free: 14.85 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.002452/0.002452, allocations: 87.86 kB / 0.5929 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1437, allocations: 73.31 MB / 0.6645 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.009154/0.1528, allocations: 7.058 MB / 0.6714 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.1578, allocations: 2.183 MB / 0.6735 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009957/0.1588, allocations: 15.94 kB / 0.6736 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1598, allocations: 257.8 kB / 0.6738 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.1624, allocations: 0.8471 MB / 0.6746 GB, free: 10.14 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.001922/0.1643, allocations: 0.7589 MB / 0.6754 GB, free: 9.391 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.167, allocations: 1.756 MB / 0.6771 GB, free: 7.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.1676, allocations: 288.1 kB / 0.6774 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1689, allocations: 0.7392 MB / 0.6781 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.1703, allocations: 0.8477 MB / 0.6789 GB, free: 5.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004281/0.1708, allocations: 136 kB / 0.679 GB, free: 5.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.1716, allocations: 287.8 kB / 0.6793 GB, free: 5.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005131/0.1721, allocations: 346.6 kB / 0.6796 GB, free: 4.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.1731, allocations: 0.7146 MB / 0.6803 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.1758, allocations: 1.852 MB / 0.6822 GB, free: 2.395 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1758, allocations: 0 / 0.6822 GB, free: 2.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1758, allocations: 0 / 0.6822 GB, free: 2.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.132e-05/0.1758, allocations: 0 / 0.6822 GB, free: 2.395 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.01077/0.1866, allocations: 2.991 MB / 0.6851 GB, free: 15.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1867, allocations: 11.98 kB / 0.6851 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003616/0.187, allocations: 147.4 kB / 0.6852 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005352/0.1924, allocations: 0.8147 MB / 0.686 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.1946, allocations: 0.866 MB / 0.6869 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005922/0.1952, allocations: 481.8 kB / 0.6873 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.1955, allocations: 95.92 kB / 0.6874 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.1985, allocations: 1.291 MB / 0.6887 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.1985, allocations: 0 / 0.6887 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1987, allocations: 36 kB / 0.6887 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1987, allocations: 20 kB / 0.6887 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.2016, allocations: 1.202 MB / 0.6899 GB, free: 10.24 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.007961/0.2096, allocations: 4.118 MB / 0.6939 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.213, allocations: 1.238 MB / 0.6951 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.2148, allocations: 0.7744 MB / 0.6959 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.2149, allocations: 16.98 kB / 0.6959 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/0.2171, allocations: 0.9583 MB / 0.6968 GB, free: 2.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.156e-06/0.2171, allocations: 0 / 0.6968 GB, free: 2.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.3084/0.5255, allocations: 7.696 MB / 0.7044 GB, free: 34.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.5255, allocations: 114.7 kB / 0.7045 GB, free: 34.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.5273, allocations: 1.038 MB / 0.7055 GB, free: 34.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.5275, allocations: 46.48 kB / 0.7055 GB, free: 34.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.5279, allocations: 0.533 MB / 0.7061 GB, free: 33.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.5283, allocations: 406.7 kB / 0.7064 GB, free: 33.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/0.5288, allocations: 251.4 kB / 0.7067 GB, free: 33.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5289, allocations: 363.1 kB / 0.707 GB, free: 33.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.5308, allocations: 0.7833 MB / 0.7078 GB, free: 33.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.5327, allocations: 0.9452 MB / 0.7087 GB, free: 33.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/0.5563, allocations: 5.591 MB / 0.7142 GB, free: 32.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.5563, allocations: 1 kB / 0.7142 GB, free: 32.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0139/0.5702, allocations: 4.433 MB / 0.7185 GB, free: 30.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.5703, allocations: 64.03 kB / 0.7186 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5703, allocations: 2.594 kB / 0.7186 GB, free: 30.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005679/0.576, allocations: 1.736 MB / 0.7203 GB, free: 30.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.5775, allocations: 275.8 kB / 0.7205 GB, free: 30.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.5974, allocations: 8.954 MB / 0.7293 GB, free: 24.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.5994, allocations: 207.1 kB / 0.7295 GB, free: 24.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.5995, allocations: 56.17 kB / 0.7295 GB, free: 24.47 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.0005516/0.6, allocations: 312.3 kB / 0.7298 GB, free: 24.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.6002, allocations: 133.7 kB / 0.7299 GB, free: 24.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.6136, allocations: 4.362 MB / 0.7342 GB, free: 21.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.6136, allocations: 15.7 kB / 0.7342 GB, free: 21.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6136, allocations: 3.875 kB / 0.7342 GB, free: 21.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.6136, allocations: 3.984 kB / 0.7342 GB, free: 21.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.6286, allocations: 6.193 MB / 0.7403 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.6287, allocations: 8.016 kB / 0.7403 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.6293, allocations: 123.8 kB / 0.7404 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.6348, allocations: 1.903 MB / 0.7423 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.635, allocations: 20 kB / 0.7423 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/0.6551, allocations: 10.52 MB / 0.7526 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6551, allocations: 3.938 kB / 0.7526 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.6707, allocations: 5.383 MB / 0.7578 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.6712, allocations: 156.6 kB / 0.758 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.6714, allocations: 23.94 kB / 0.758 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.6727, allocations: 135.8 kB / 0.7581 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007275/0.6735, allocations: 248.6 kB / 0.7584 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.6736, allocations: 27.98 kB / 0.7584 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00116/0.6747, allocations: 0.7045 MB / 0.7591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6747, allocations: 0 / 0.7591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00153/0.6762, allocations: 495.5 kB / 0.7595 GB, free: 12.73 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.01766/0.6939, allocations: 5.971 MB / 0.7654 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007456/0.7014, allocations: 2.608 MB / 0.7679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7014, allocations: 0 / 0.7679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/0.7067, allocations: 1.812 MB / 0.7697 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7079, allocations: 133.7 kB / 0.7698 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04197/0.7499, allocations: 16.79 MB / 0.7862 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000931/0.7508, allocations: 1.151 MB / 0.7873 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005206/0.7513, allocations: 120.3 kB / 0.7875 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007283/0.752, allocations: 499.2 kB / 0.7879 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.752, allocations: 3.938 kB / 0.7879 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0947/0.8467, allocations: 40.4 MB / 0.8274 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.16, allocations: 3.094 kB / 0.8274 GB, free: 7.117 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 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: 19.71817647991702] Failed to read output from testmodel.py, exit status != 0: 16.30356018501334 16.328896829 16.148501762 Calling exit ...