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.00168/0.00168, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.45/1.45, allocations: 230.6 MB / 250.5 MB, free: 9.352 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.001594/0.001594, allocations: 200.1 kB / 306.7 MB, free: 4.371 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.4537/0.4537, allocations: 79.71 MB / 442.5 MB, free: 216 kB / 302.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="cs",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.002535/0.002535, allocations: 83.88 kB / 0.5885 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1301, allocations: 73.26 MB / 0.6601 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009532/0.1397, allocations: 8.025 MB / 0.6679 GB, free: 176 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005829/0.1455, allocations: 2.532 MB / 0.6704 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009837/0.1465, allocations: 12 kB / 0.6704 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008984/0.1474, allocations: 305.4 kB / 0.6707 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.1506, allocations: 1.272 MB / 0.6719 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.1524, allocations: 0.6701 MB / 0.6726 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00336/0.1558, allocations: 2.271 MB / 0.6748 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.1563, allocations: 261.6 kB / 0.675 GB, free: 8.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1576, allocations: 0.8833 MB / 0.6759 GB, free: 7.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.1592, allocations: 1.128 MB / 0.677 GB, free: 6.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.1596, allocations: 172 kB / 0.6772 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.1604, allocations: 363.8 kB / 0.6775 GB, free: 6.277 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.1608, allocations: 446.2 kB / 0.6779 GB, free: 5.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009439/0.1617, allocations: 0.8702 MB / 0.6788 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.1645, allocations: 2.206 MB / 0.6809 GB, free: 2.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1645, allocations: 8 kB / 0.6809 GB, free: 2.742 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1645, allocations: 0 / 0.6809 GB, free: 2.742 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.001e-05/0.1645, allocations: 0 / 0.6809 GB, free: 2.742 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01527/0.1798, allocations: 3.85 MB / 0.6847 GB, free: 14.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1798, allocations: 8.031 kB / 0.6847 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.903e-05/0.1799, allocations: 26 kB / 0.6847 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.1801, allocations: 147.6 kB / 0.6849 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.1851, allocations: 0.7521 MB / 0.6856 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.1876, allocations: 1.113 MB / 0.6867 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/0.1882, allocations: 421 kB / 0.6871 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.1885, allocations: 103.9 kB / 0.6872 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.1917, allocations: 1.361 MB / 0.6885 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1918, allocations: 0 / 0.6885 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.1919, allocations: 36 kB / 0.6886 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1919, allocations: 27.94 kB / 0.6886 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.1952, allocations: 1.3 MB / 0.6899 GB, free: 9.402 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.009635/0.2048, allocations: 4.662 MB / 0.6944 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009121/0.2139, allocations: 2.799 MB / 0.6971 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.2161, allocations: 0.8136 MB / 0.6979 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.2163, allocations: 28.97 kB / 0.698 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2504/0.4667, allocations: 1.041 MB / 0.699 GB, free: 36.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.567e-06/0.4667, allocations: 0 / 0.699 GB, free: 36.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.0433/0.51, allocations: 9.875 MB / 0.7086 GB, free: 35.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.51, allocations: 118.9 kB / 0.7087 GB, free: 35.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.512, allocations: 1.355 MB / 0.7101 GB, free: 35.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.5123, allocations: 51.11 kB / 0.7101 GB, free: 35.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.5127, allocations: 0.5771 MB / 0.7107 GB, free: 35.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.5131, allocations: 470.2 kB / 0.7111 GB, free: 35.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006769/0.5138, allocations: 333.7 kB / 0.7114 GB, free: 35.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.5138, allocations: 301.9 kB / 0.7117 GB, free: 34.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.5159, allocations: 0.9582 MB / 0.7127 GB, free: 34.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.5181, allocations: 1.15 MB / 0.7138 GB, free: 33.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.522, allocations: 2.052 MB / 0.7158 GB, free: 32.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.522, allocations: 1.25 kB / 0.7158 GB, free: 32.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009954/0.532, allocations: 3.782 MB / 0.7195 GB, free: 31.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.532, allocations: 6.562 kB / 0.7195 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.532, allocations: 3.406 kB / 0.7195 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009409/0.5414, allocations: 2.663 MB / 0.7221 GB, free: 30.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.5429, allocations: 304.3 kB / 0.7224 GB, free: 30 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/0.549, allocations: 2.703 MB / 0.725 GB, free: 28.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.5512, allocations: 245.3 kB / 0.7253 GB, free: 28.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.5514, allocations: 63.33 kB / 0.7253 GB, free: 28.21 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.0005428/0.5519, allocations: 289.9 kB / 0.7256 GB, free: 27.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.5522, allocations: 161.7 kB / 0.7257 GB, free: 27.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.567, allocations: 4.725 MB / 0.7304 GB, free: 25.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.567, allocations: 11.62 kB / 0.7304 GB, free: 25.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.567, allocations: 3.844 kB / 0.7304 GB, free: 25.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.567, allocations: 7.969 kB / 0.7304 GB, free: 25.47 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.01655/0.5836, allocations: 6.817 MB / 0.737 GB, free: 19.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.5836, allocations: 4 kB / 0.737 GB, free: 19.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/0.5845, allocations: 139.8 kB / 0.7372 GB, free: 19.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00681/0.5913, allocations: 2.146 MB / 0.7393 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.5915, allocations: 31.92 kB / 0.7393 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/0.614, allocations: 10.08 MB / 0.7491 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.614, allocations: 0 / 0.7491 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.6309, allocations: 5.888 MB / 0.7549 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.6314, allocations: 276.2 kB / 0.7552 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.6316, allocations: 24 kB / 0.7552 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.6332, allocations: 135.8 kB / 0.7553 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007618/0.634, allocations: 257.4 kB / 0.7556 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/0.6341, allocations: 35.94 kB / 0.7556 GB, free: 488 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.6354, allocations: 0.9099 MB / 0.7565 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6354, allocations: 4 kB / 0.7565 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00152/0.6369, allocations: 0.5191 MB / 0.757 GB, free: 15.04 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.02009/0.657, allocations: 6.481 MB / 0.7633 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009445/0.6664, allocations: 2.652 MB / 0.7659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6665, allocations: 0 / 0.7659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006846/0.6733, allocations: 1.843 MB / 0.7677 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.6746, allocations: 137.6 kB / 0.7678 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04997/0.7246, allocations: 19.03 MB / 0.7864 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009454/0.7256, allocations: 1.207 MB / 0.7876 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006373/0.7262, allocations: 137.7 kB / 0.7877 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/0.7271, allocations: 0.5774 MB / 0.7883 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.7271, allocations: 0 / 0.7883 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08322/0.8103, allocations: 42.64 MB / 0.8299 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.75, allocations: 8.047 kB / 0.83 GB, free: 4.113 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 19.645920103008393] Failed to read output from testmodel.py, exit status != 0: 15.924951802007854 15.940575483 15.772858297 Calling exit ...