Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.001635/0.001635, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.439/1.439, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.002551/0.002551, allocations: 212.4 kB / 309.2 MB, free: 3.168 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.4553/0.4553, allocations: 79.73 MB / 445.4 MB, free: 14.86 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.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.002511/0.002511, allocations: 87.81 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.133, allocations: 73.29 MB / 0.6645 GB, free: 4.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009209/0.1422, allocations: 8.063 MB / 0.6724 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004949/0.1472, allocations: 2.552 MB / 0.6749 GB, free: 9.934 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005227/0.1477, allocations: 12 kB / 0.6749 GB, free: 9.922 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007731/0.1485, allocations: 305.4 kB / 0.6752 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.1513, allocations: 1.261 MB / 0.6764 GB, free: 8.359 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.1527, allocations: 0.6803 MB / 0.6771 GB, free: 7.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.1554, allocations: 2.306 MB / 0.6793 GB, free: 5.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.1558, allocations: 258.1 kB / 0.6796 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.1568, allocations: 0.9028 MB / 0.6805 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1582, allocations: 1.117 MB / 0.6816 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.1585, allocations: 176 kB / 0.6817 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.1591, allocations: 359.8 kB / 0.6821 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.1595, allocations: 454.2 kB / 0.6825 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008015/0.1603, allocations: 0.8701 MB / 0.6833 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.1627, allocations: 2.198 MB / 0.6855 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1627, allocations: 0 / 0.6855 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1627, allocations: 0 / 0.6855 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.1627, allocations: 0 / 0.6855 GB, free: 15.02 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01524/0.178, allocations: 3.948 MB / 0.6894 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.178, allocations: 11.98 kB / 0.6894 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.1783, allocations: 155.6 kB / 0.6895 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005015/0.1833, allocations: 0.7482 MB / 0.6902 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.1857, allocations: 1.033 MB / 0.6912 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/0.1863, allocations: 0.5734 MB / 0.6918 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.1866, allocations: 100 kB / 0.6919 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.1895, allocations: 1.36 MB / 0.6932 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1896, allocations: 0 / 0.6932 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1897, allocations: 44 kB / 0.6933 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.1897, allocations: 20 kB / 0.6933 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.1928, allocations: 1.3 MB / 0.6946 GB, free: 5.508 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.009122/0.2019, allocations: 4.615 MB / 0.6991 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2584/0.4603, allocations: 2.333 MB / 0.7013 GB, free: 33.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.4621, allocations: 0.8175 MB / 0.7021 GB, free: 33.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.4623, allocations: 20.67 kB / 0.7022 GB, free: 33.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.4643, allocations: 1.045 MB / 0.7032 GB, free: 33.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 2.685e-06/0.4643, allocations: 1.406 kB / 0.7032 GB, free: 33.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04272/0.507, allocations: 9.794 MB / 0.7128 GB, free: 33.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5071, allocations: 116.1 kB / 0.7129 GB, free: 33.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.509, allocations: 1.35 MB / 0.7142 GB, free: 33.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.5092, allocations: 48.83 kB / 0.7142 GB, free: 32.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.5095, allocations: 0.5818 MB / 0.7148 GB, free: 32.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.5099, allocations: 477.8 kB / 0.7153 GB, free: 32.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.5105, allocations: 323.3 kB / 0.7156 GB, free: 32.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.5105, allocations: 307.9 kB / 0.7159 GB, free: 31.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.5126, allocations: 0.9561 MB / 0.7168 GB, free: 31.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.5148, allocations: 1.153 MB / 0.7179 GB, free: 30.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/0.519, allocations: 2.049 MB / 0.7199 GB, free: 29.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.519, allocations: 3.438 kB / 0.7199 GB, free: 29.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01003/0.529, allocations: 3.781 MB / 0.7236 GB, free: 27.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.529, allocations: 14 kB / 0.7236 GB, free: 27.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.5291, allocations: 3.781 kB / 0.7236 GB, free: 27.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009172/0.5382, allocations: 2.671 MB / 0.7262 GB, free: 26.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.5397, allocations: 296.5 kB / 0.7265 GB, free: 26.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.5456, allocations: 2.693 MB / 0.7291 GB, free: 25.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.548, allocations: 243.8 kB / 0.7294 GB, free: 24.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.5481, allocations: 64.02 kB / 0.7294 GB, free: 24.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005717/0.5487, allocations: 299.5 kB / 0.7297 GB, free: 24.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.549, allocations: 163.9 kB / 0.7299 GB, free: 24.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.5636, allocations: 4.713 MB / 0.7345 GB, free: 22.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.5636, allocations: 15.69 kB / 0.7345 GB, free: 22.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5636, allocations: 3.969 kB / 0.7345 GB, free: 22.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.5636, allocations: 8.844 kB / 0.7345 GB, free: 22.14 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.01617/0.5798, allocations: 6.788 MB / 0.7411 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.5798, allocations: 4 kB / 0.7411 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/0.5806, allocations: 139.8 kB / 0.7413 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006577/0.5872, allocations: 2.144 MB / 0.7434 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.5874, allocations: 28 kB / 0.7434 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/0.6093, allocations: 9.975 MB / 0.7531 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.6093, allocations: 7.938 kB / 0.7531 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/0.6273, allocations: 5.878 MB / 0.7589 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.6278, allocations: 193.3 kB / 0.7591 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.6281, allocations: 28.66 kB / 0.7591 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.6298, allocations: 139.4 kB / 0.7592 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008351/0.6306, allocations: 274.7 kB / 0.7595 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.6307, allocations: 36 kB / 0.7595 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001537/0.6323, allocations: 0.9095 MB / 0.7604 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6323, allocations: 4 kB / 0.7604 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001425/0.6337, allocations: 0.5185 MB / 0.7609 GB, free: 11.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.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 (81): * Single equations (assignments): 80 * 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.01976/0.6534, allocations: 6.479 MB / 0.7673 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00895/0.6624, allocations: 2.654 MB / 0.7698 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6624, allocations: 0 / 0.7698 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006198/0.6686, allocations: 1.837 MB / 0.7716 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6698, allocations: 134.8 kB / 0.7718 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04723/0.717, allocations: 19.04 MB / 0.7904 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/0.7179, allocations: 1.207 MB / 0.7915 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005674/0.7185, allocations: 137.7 kB / 0.7917 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008629/0.7193, allocations: 0.5735 MB / 0.7922 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.7193, allocations: 0 / 0.7922 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08763/0.807, allocations: 43.83 MB / 0.835 GB, free: 15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/16.71, allocations: 5.531 kB / 0.835 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_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_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.222494943998754] Failed to read output from testmodel.py, exit status != 0: 16.860003882000456 16.888102681 16.720295973 Calling exit ...