Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001305/0.001305, 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.434/1.434, allocations: 230.6 MB / 252.6 MB, free: 8.328 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.001554/0.001554, allocations: 205.8 kB / 309.2 MB, free: 3.168 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.579/0.579, allocations: 101.4 MB / 467 MB, free: 10.37 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_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.002519/0.002519, allocations: 87.88 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4613, allocations: 78.62 MB / 0.7012 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007265/0.4686, allocations: 8.112 MB / 0.7091 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.4745, allocations: 2.562 MB / 0.7116 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.4763, allocations: 12.72 kB / 0.7116 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.4776, allocations: 317.4 kB / 0.7119 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.4812, allocations: 1.061 MB / 0.713 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.4829, allocations: 0.7719 MB / 0.7137 GB, free: 296 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003404/0.4863, allocations: 2.165 MB / 0.7159 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.4869, allocations: 260.5 kB / 0.7161 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.4884, allocations: 0.8699 MB / 0.717 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.4901, allocations: 1.107 MB / 0.718 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.4903, allocations: 174 kB / 0.7182 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.4911, allocations: 359.9 kB / 0.7185 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.4916, allocations: 458.7 kB / 0.719 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.4925, allocations: 0.8642 MB / 0.7198 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.4955, allocations: 2.189 MB / 0.722 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4955, allocations: 0 / 0.722 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4955, allocations: 0 / 0.722 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.007e-05/0.4956, allocations: 0 / 0.722 GB, free: 12.23 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.01442/0.51, allocations: 3.661 MB / 0.7255 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5101, allocations: 8.438 kB / 0.7255 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002836/0.5103, allocations: 153.5 kB / 0.7257 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.5156, allocations: 0.7485 MB / 0.7264 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.5188, allocations: 1.036 MB / 0.7274 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007207/0.5195, allocations: 0.5678 MB / 0.728 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.5198, allocations: 109.2 kB / 0.7281 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.5232, allocations: 1.377 MB / 0.7294 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5232, allocations: 0.5625 kB / 0.7294 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.5234, allocations: 35.81 kB / 0.7295 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.5234, allocations: 22.66 kB / 0.7295 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.5265, allocations: 1.321 MB / 0.7308 GB, free: 8.203 MB / 0.4981 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.009705/0.5362, allocations: 4.612 MB / 0.7353 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008448/0.5447, allocations: 2.359 MB / 0.7376 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.547, allocations: 0.8221 MB / 0.7384 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.5472, allocations: 27.17 kB / 0.7384 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/0.5496, allocations: 1.057 MB / 0.7395 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=125): time 3.637e-06/0.5496, allocations: 4 kB / 0.7395 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125): time 0.04522/0.5949, allocations: 10.13 MB / 0.7494 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.5949, allocations: 120.6 kB / 0.7495 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.5976, allocations: 1.352 MB / 0.7508 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.598, allocations: 51.61 kB / 0.7508 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.5985, allocations: 0.5794 MB / 0.7514 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/0.5991, allocations: 477.3 kB / 0.7519 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006529/0.5997, allocations: 325.2 kB / 0.7522 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5998, allocations: 305.1 kB / 0.7525 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.6021, allocations: 0.9663 MB / 0.7534 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.6046, allocations: 1.165 MB / 0.7545 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/0.6091, allocations: 2.07 MB / 0.7566 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6091, allocations: 0 / 0.7566 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01103/0.6202, allocations: 3.812 MB / 0.7603 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.6202, allocations: 4 kB / 0.7603 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6202, allocations: 7.984 kB / 0.7603 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/0.6306, allocations: 2.728 MB / 0.763 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.6325, allocations: 295.6 kB / 0.7632 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/0.6396, allocations: 2.717 MB / 0.7659 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.6425, allocations: 254.8 kB / 0.7661 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/0.6427, allocations: 63.98 kB / 0.7662 GB, free: 13.41 MB / 0.5294 GB 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 (175): * Single equations (assignments): 174 * 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.0007229/0.6435, allocations: 285.5 kB / 0.7665 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.6439, allocations: 163 kB / 0.7666 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/0.6608, allocations: 4.771 MB / 0.7713 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.6608, allocations: 12 kB / 0.7713 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.6608, allocations: 0 / 0.7713 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/0.6608, allocations: 19.91 kB / 0.7713 GB, free: 8.137 MB / 0.5294 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.02023/0.6811, allocations: 6.859 MB / 0.778 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.6811, allocations: 0 / 0.778 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.682, allocations: 147.8 kB / 0.7782 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008168/0.6902, allocations: 2.192 MB / 0.7803 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/0.6905, allocations: 31.98 kB / 0.7803 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02823/0.7188, allocations: 10.11 MB / 0.7902 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7188, allocations: 0 / 0.7902 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/0.7389, allocations: 5.968 MB / 0.796 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.7396, allocations: 198.5 kB / 0.7962 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.7399, allocations: 27.94 kB / 0.7962 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.7416, allocations: 139.8 kB / 0.7964 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008585/0.7424, allocations: 265.3 kB / 0.7966 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.7426, allocations: 35.98 kB / 0.7967 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001561/0.7441, allocations: 0.9134 MB / 0.7976 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7441, allocations: 0 / 0.7976 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001484/0.7456, allocations: 0.5152 MB / 0.7981 GB, free: 12.45 MB / 0.5606 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 (82): * Single equations (assignments): 81 * 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.02006/0.7657, allocations: 6.568 MB / 0.8045 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009258/0.7749, allocations: 2.723 MB / 0.8071 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7749, allocations: 0 / 0.8071 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006563/0.7815, allocations: 1.876 MB / 0.809 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.7831, allocations: 135.2 kB / 0.8091 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0489/0.832, allocations: 19.11 MB / 0.8278 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008537/0.8328, allocations: 1.204 MB / 0.8289 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007031/0.8335, allocations: 141.7 kB / 0.8291 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/0.8345, allocations: 0.5852 MB / 0.8296 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/0.8345, allocations: 0 / 0.8296 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09593/0.9304, allocations: 43.92 MB / 0.8725 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.92, allocations: 0.5 kB / 0.8725 GB, free: 15.91 MB / 0.6387 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.483927367000433] Failed to read output from testmodel.py, exit status != 0: 17.059224036998785 17.074975162 16.576281151 Calling exit ...