Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.515/1.515, allocations: 230.6 MB / 252.7 MB, free: 8.062 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.001623/0.001623, allocations: 210.3 kB / 309.2 MB, free: 2.949 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.5847/0.5847, allocations: 107.3 MB / 473 MB, free: 4.418 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.002759/0.002759, allocations: 83.86 kB / 0.6332 GB, free: 4.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4172, allocations: 80.18 MB / 0.7115 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01012/0.4273, allocations: 8.096 MB / 0.7194 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008595/0.4359, allocations: 2.787 MB / 0.7222 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.4377, allocations: 23.81 kB / 0.7222 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.4394, allocations: 366.7 kB / 0.7225 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.4452, allocations: 1.208 MB / 0.7237 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.4487, allocations: 0.8647 MB / 0.7246 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004952/0.4537, allocations: 2.651 MB / 0.7272 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.4544, allocations: 359.9 kB / 0.7275 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.4563, allocations: 1.069 MB / 0.7285 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.4582, allocations: 1.181 MB / 0.7297 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.4587, allocations: 218.9 kB / 0.7299 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.4599, allocations: 431.7 kB / 0.7303 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006324/0.4606, allocations: 0.5358 MB / 0.7308 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.4621, allocations: 0.861 MB / 0.7317 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.467, allocations: 2.764 MB / 0.7344 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.467, allocations: 1 kB / 0.7344 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.484e-06/0.467, allocations: 0 / 0.7344 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.704e-05/0.4671, allocations: 0 / 0.7344 GB, free: 6.242 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.01568/0.4828, allocations: 4.37 MB / 0.7386 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4828, allocations: 9.688 kB / 0.7387 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/0.4831, allocations: 180.8 kB / 0.7388 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005011/0.4881, allocations: 0.8023 MB / 0.7396 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.491, allocations: 1.231 MB / 0.7408 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006647/0.4917, allocations: 0.6406 MB / 0.7414 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.492, allocations: 134.6 kB / 0.7416 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.4955, allocations: 1.634 MB / 0.7432 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.4955, allocations: 1.406 kB / 0.7432 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.4957, allocations: 45.97 kB / 0.7432 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.4957, allocations: 27.84 kB / 0.7432 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.4993, allocations: 1.509 MB / 0.7447 GB, free: 15.71 MB / 0.5137 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.01112/0.5104, allocations: 4.648 MB / 0.7492 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008843/0.5192, allocations: 2.608 MB / 0.7518 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.5216, allocations: 0.9072 MB / 0.7527 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.5219, allocations: 61.17 kB / 0.7527 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00273/0.5246, allocations: 1.204 MB / 0.7539 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.958e-06/0.5246, allocations: 0 / 0.7539 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04398/0.5686, allocations: 10.01 MB / 0.7637 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5687, allocations: 149.8 kB / 0.7638 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.5721, allocations: 1.65 MB / 0.7654 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.5725, allocations: 53.7 kB / 0.7655 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.5733, allocations: 0.7195 MB / 0.7662 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008397/0.5741, allocations: 0.5578 MB / 0.7667 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.5749, allocations: 388 kB / 0.7671 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5751, allocations: 305.1 kB / 0.7674 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.5778, allocations: 1.103 MB / 0.7685 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.5807, allocations: 1.352 MB / 0.7698 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005498/0.5862, allocations: 2.339 MB / 0.7721 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.5862, allocations: 0 / 0.7721 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01071/0.5969, allocations: 3.896 MB / 0.7759 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.597, allocations: 33.7 kB / 0.7759 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.597, allocations: 8 kB / 0.7759 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.6073, allocations: 2.7 MB / 0.7786 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.6093, allocations: 371.5 kB / 0.7789 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.6165, allocations: 2.729 MB / 0.7816 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.6194, allocations: 302.6 kB / 0.7819 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.6197, allocations: 75.98 kB / 0.7819 GB, free: 14.36 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0008351/0.6205, allocations: 349.4 kB / 0.7823 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/0.621, allocations: 194.7 kB / 0.7825 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0185/0.6395, allocations: 5.182 MB / 0.7875 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.6395, allocations: 20 kB / 0.7875 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6395, allocations: 0 / 0.7875 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.6395, allocations: 11.91 kB / 0.7876 GB, free: 8.578 MB / 0.545 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.02235/0.6619, allocations: 6.91 MB / 0.7943 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.6619, allocations: 0 / 0.7943 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.6631, allocations: 167.7 kB / 0.7945 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008748/0.6719, allocations: 2.295 MB / 0.7967 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/0.6722, allocations: 31.98 kB / 0.7967 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03186/0.7041, allocations: 11.77 MB / 0.8082 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7041, allocations: 0 / 0.8082 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/0.7261, allocations: 6.424 MB / 0.8145 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009233/0.727, allocations: 234.4 kB / 0.8147 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.7275, allocations: 35.98 kB / 0.8148 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.7293, allocations: 167.8 kB / 0.8149 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009347/0.7303, allocations: 293.2 kB / 0.8152 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.7304, allocations: 39.98 kB / 0.8152 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002013/0.7324, allocations: 1.101 MB / 0.8163 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7324, allocations: 0 / 0.8163 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001918/0.7343, allocations: 0.6126 MB / 0.8169 GB, free: 10.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02182/0.7561, allocations: 7.043 MB / 0.8238 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.7662, allocations: 3.055 MB / 0.8268 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7662, allocations: 0 / 0.8268 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007027/0.7732, allocations: 2.128 MB / 0.8289 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7748, allocations: 182 kB / 0.829 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05326/0.828, allocations: 21.24 MB / 0.8498 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/0.829, allocations: 0.7645 MB / 0.8505 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009186/0.8299, allocations: 175.6 kB / 0.8507 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.8311, allocations: 0.7219 MB / 0.8514 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/0.8311, allocations: 4 kB / 0.8514 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/0.9669, allocations: 51.34 MB / 0.9015 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.87, allocations: 8 kB / 0.9015 GB, free: 3.141 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.92365823406726] Failed to read output from testmodel.py, exit status != 0: 16.027167403139174 16.05401121 15.58144777 Calling exit ...