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.001699/0.001699, 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.474/1.474, allocations: 230.6 MB / 252.7 MB, free: 8.316 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.001692/0.001692, allocations: 222.4 kB / 309.2 MB, free: 3.203 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.5673/0.5673, allocations: 101.4 MB / 467 MB, free: 10.34 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.002457/0.002457, allocations: 83.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4658, allocations: 78.61 MB / 0.7012 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.00731/0.4731, allocations: 8.107 MB / 0.7091 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.4787, allocations: 2.569 MB / 0.7116 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.4801, allocations: 12.06 kB / 0.7116 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.4815, allocations: 311.3 kB / 0.7119 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.4851, allocations: 1.068 MB / 0.713 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.4871, allocations: 0.7719 MB / 0.7137 GB, free: 252 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.4906, allocations: 2.16 MB / 0.7159 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.4912, allocations: 259.7 kB / 0.7161 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.4929, allocations: 0.871 MB / 0.7169 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.4946, allocations: 1.112 MB / 0.718 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.495, allocations: 173.4 kB / 0.7182 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.4957, allocations: 362.9 kB / 0.7185 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.4962, allocations: 458 kB / 0.719 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009365/0.4971, allocations: 0.8653 MB / 0.7198 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.5001, allocations: 2.186 MB / 0.722 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5002, allocations: 0 / 0.722 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5002, allocations: 0.9688 kB / 0.722 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.126e-05/0.5002, allocations: 0 / 0.722 GB, free: 12.18 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.01419/0.5144, allocations: 3.662 MB / 0.7255 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5144, allocations: 9.625 kB / 0.7255 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.5147, allocations: 148.5 kB / 0.7257 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.5197, allocations: 0.7485 MB / 0.7264 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.5226, allocations: 1.039 MB / 0.7274 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006405/0.5232, allocations: 0.5689 MB / 0.728 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.5236, allocations: 107.6 kB / 0.7281 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.5272, allocations: 1.375 MB / 0.7294 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5272, allocations: 0 / 0.7294 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5273, allocations: 40.67 kB / 0.7295 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.5273, allocations: 21.66 kB / 0.7295 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.5306, allocations: 1.32 MB / 0.7308 GB, free: 8.16 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.009599/0.5402, allocations: 4.614 MB / 0.7353 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/0.5486, allocations: 2.357 MB / 0.7376 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.5507, allocations: 0.8236 MB / 0.7384 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.5509, allocations: 29.59 kB / 0.7384 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.5532, allocations: 1.054 MB / 0.7395 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=125): time 2.976e-06/0.5532, allocations: 0 / 0.7395 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125): time 0.0435/0.5967, allocations: 10.14 MB / 0.7494 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.5968, allocations: 116.4 kB / 0.7495 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.5993, allocations: 1.356 MB / 0.7508 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003288/0.5996, allocations: 50.89 kB / 0.7508 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/0.6001, allocations: 0.5755 MB / 0.7514 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/0.6007, allocations: 470.1 kB / 0.7518 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/0.6013, allocations: 328.9 kB / 0.7522 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6015, allocations: 305.1 kB / 0.7525 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.6037, allocations: 0.9658 MB / 0.7534 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.6062, allocations: 1.172 MB / 0.7545 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/0.6107, allocations: 2.062 MB / 0.7566 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.6108, allocations: 8 kB / 0.7566 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01096/0.6217, allocations: 3.808 MB / 0.7603 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6217, allocations: 8 kB / 0.7603 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.6217, allocations: 4 kB / 0.7603 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.632, allocations: 2.739 MB / 0.763 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.6337, allocations: 295.6 kB / 0.7633 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.6405, allocations: 2.713 MB / 0.7659 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.6434, allocations: 250.8 kB / 0.7661 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.6436, allocations: 67.97 kB / 0.7662 GB, free: 13.35 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.0008419/0.6445, allocations: 293.5 kB / 0.7665 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.6449, allocations: 159 kB / 0.7666 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/0.6614, allocations: 4.771 MB / 0.7713 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.6614, allocations: 16 kB / 0.7713 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6614, allocations: 3.938 kB / 0.7713 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.032e-05/0.6614, allocations: 15.91 kB / 0.7713 GB, free: 8.074 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.02046/0.6819, allocations: 6.851 MB / 0.778 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.6819, allocations: 0 / 0.778 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.683, allocations: 143.8 kB / 0.7782 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008017/0.691, allocations: 2.196 MB / 0.7803 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003338/0.6913, allocations: 27.98 kB / 0.7803 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02879/0.7201, allocations: 10.11 MB / 0.7902 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.7201, allocations: 7.938 kB / 0.7902 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/0.7405, allocations: 5.96 MB / 0.796 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008196/0.7413, allocations: 198.5 kB / 0.7962 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/0.7417, allocations: 35.94 kB / 0.7963 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.7434, allocations: 139.8 kB / 0.7964 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008519/0.7443, allocations: 269.2 kB / 0.7966 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.7444, allocations: 35.98 kB / 0.7967 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001604/0.746, allocations: 0.9095 MB / 0.7976 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.746, allocations: 4 kB / 0.7976 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001643/0.7477, allocations: 0.5152 MB / 0.7981 GB, free: 12.39 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.02058/0.7682, allocations: 6.571 MB / 0.8045 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009622/0.7779, allocations: 2.708 MB / 0.8071 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7779, allocations: 0 / 0.8071 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00686/0.7847, allocations: 1.88 MB / 0.809 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.7864, allocations: 131.3 kB / 0.8091 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08037/0.8668, allocations: 19.11 MB / 0.8278 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.8685, allocations: 1.211 MB / 0.8289 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001452/0.87, allocations: 141.7 kB / 0.8291 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/0.8718, allocations: 0.5735 MB / 0.8296 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.8718, allocations: 0 / 0.8296 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/1.01, allocations: 43.92 MB / 0.8725 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/17.18, allocations: 4.562 kB / 0.8725 GB, free: 15.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.98971630912274] Failed to read output from testmodel.py, exit status != 0: 17.32696323795244 17.350336196 16.845741466 Calling exit ...