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.001757/0.001757, allocations: 113 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.486/1.486, allocations: 230.6 MB / 252.6 MB, free: 8.324 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.001597/0.001597, allocations: 210.9 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.462/0.462, allocations: 79.74 MB / 445.4 MB, free: 14.87 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.003582/0.003582, allocations: 95.8 kB / 0.593 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.146, allocations: 73.29 MB / 0.6645 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009867/0.1558, allocations: 8.048 MB / 0.6724 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.1611, allocations: 2.544 MB / 0.6749 GB, free: 9.945 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009481/0.1621, allocations: 16 kB / 0.6749 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1631, allocations: 313.4 kB / 0.6752 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.1664, allocations: 1.268 MB / 0.6764 GB, free: 8.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1679, allocations: 0.6814 MB / 0.6771 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.1707, allocations: 2.306 MB / 0.6793 GB, free: 5.367 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.1712, allocations: 258.1 kB / 0.6796 GB, free: 5.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1723, allocations: 0.8989 MB / 0.6805 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.1737, allocations: 1.117 MB / 0.6815 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.174, allocations: 172 kB / 0.6817 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.1747, allocations: 363.8 kB / 0.6821 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.1751, allocations: 454.2 kB / 0.6825 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008163/0.1759, allocations: 0.874 MB / 0.6833 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.1783, allocations: 2.198 MB / 0.6855 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1783, allocations: 0 / 0.6855 GB, free: 15.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1783, allocations: 0 / 0.6855 GB, free: 15.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.1783, allocations: 0 / 0.6855 GB, free: 15.01 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.01483/0.1932, allocations: 3.94 MB / 0.6893 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1932, allocations: 15.98 kB / 0.6894 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.1934, allocations: 147.6 kB / 0.6895 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.198, allocations: 0.7521 MB / 0.6902 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.2001, allocations: 1.033 MB / 0.6912 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/0.2007, allocations: 0.5695 MB / 0.6918 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.2009, allocations: 100 kB / 0.6919 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.2039, allocations: 1.36 MB / 0.6932 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2039, allocations: 0 / 0.6932 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.204, allocations: 36 kB / 0.6933 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.2041, allocations: 27.98 kB / 0.6933 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.2072, allocations: 1.3 MB / 0.6946 GB, free: 5.512 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.009281/0.2165, allocations: 4.619 MB / 0.6991 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2548/0.4713, allocations: 2.332 MB / 0.7013 GB, free: 33.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.4731, allocations: 0.8201 MB / 0.7021 GB, free: 33.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.4732, allocations: 25.02 kB / 0.7022 GB, free: 33.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/0.4752, allocations: 1.045 MB / 0.7032 GB, free: 33.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 2.595e-06/0.4752, allocations: 2.625 kB / 0.7032 GB, free: 33.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04234/0.5175, allocations: 9.791 MB / 0.7127 GB, free: 33.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.5176, allocations: 116 kB / 0.7129 GB, free: 33.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.5195, allocations: 1.353 MB / 0.7142 GB, free: 32.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.5196, allocations: 52.64 kB / 0.7142 GB, free: 32.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.52, allocations: 0.5748 MB / 0.7148 GB, free: 32.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.5203, allocations: 480.9 kB / 0.7153 GB, free: 32.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.5208, allocations: 327.5 kB / 0.7156 GB, free: 32.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.5208, allocations: 305.8 kB / 0.7159 GB, free: 31.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.5228, allocations: 0.9474 MB / 0.7168 GB, free: 31.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.5248, allocations: 1.154 MB / 0.7179 GB, free: 30.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.5286, allocations: 2.051 MB / 0.7199 GB, free: 29.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5286, allocations: 1.125 kB / 0.7199 GB, free: 29.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009539/0.5382, allocations: 3.784 MB / 0.7236 GB, free: 27.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5382, allocations: 10.44 kB / 0.7236 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5382, allocations: 3.219 kB / 0.7236 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009136/0.5473, allocations: 2.672 MB / 0.7262 GB, free: 26.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.5488, allocations: 296.7 kB / 0.7265 GB, free: 26.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/0.5546, allocations: 2.688 MB / 0.7291 GB, free: 25.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.5569, allocations: 251.9 kB / 0.7294 GB, free: 24.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.5571, allocations: 62.61 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.000567/0.5576, allocations: 304.6 kB / 0.7297 GB, free: 24.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.5579, allocations: 163.7 kB / 0.7299 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/0.5723, allocations: 4.716 MB / 0.7345 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5723, allocations: 19.5 kB / 0.7345 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5723, allocations: 0 / 0.7345 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/0.5723, allocations: 10.78 kB / 0.7345 GB, free: 22.13 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.01629/0.5886, allocations: 6.791 MB / 0.7412 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5886, allocations: 0 / 0.7412 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.5894, allocations: 135.8 kB / 0.7413 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006647/0.5961, allocations: 2.142 MB / 0.7434 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.5963, allocations: 31.92 kB / 0.7434 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/0.6184, allocations: 9.967 MB / 0.7531 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6184, allocations: 11.94 kB / 0.7531 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/0.6363, allocations: 5.878 MB / 0.7589 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/0.637, allocations: 196.3 kB / 0.7591 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.6373, allocations: 24 kB / 0.7591 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.6389, allocations: 135.8 kB / 0.7592 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008478/0.6397, allocations: 273.2 kB / 0.7595 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6398, allocations: 35.98 kB / 0.7595 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00154/0.6413, allocations: 0.9134 MB / 0.7604 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6413, allocations: 0 / 0.7604 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0015/0.6428, allocations: 0.5148 MB / 0.7609 GB, free: 11.09 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.01983/0.6627, allocations: 6.48 MB / 0.7672 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008917/0.6716, allocations: 2.653 MB / 0.7698 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.6716, allocations: 8.062 kB / 0.7698 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006552/0.6782, allocations: 1.835 MB / 0.7716 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6794, allocations: 134.1 kB / 0.7718 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04801/0.7274, allocations: 19.04 MB / 0.7904 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000911/0.7283, allocations: 1.207 MB / 0.7915 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006439/0.729, allocations: 137.7 kB / 0.7917 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008679/0.7299, allocations: 0.5852 MB / 0.7922 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.7299, allocations: 0 / 0.7922 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09344/0.8233, allocations: 43.83 MB / 0.835 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.71, allocations: 12.11 kB / 0.835 GB, free: 14.99 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 & /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: 20.30573582602665] Failed to read output from testmodel.py, exit status != 0: 16.857422169996426 16.884630167 16.701103827 Calling exit ...