Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001307/0.001307, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.419/1.419, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.001584/0.001584, allocations: 207.2 kB / 309.2 MB, free: 3.156 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.4344/0.4344, allocations: 79.74 MB / 445.4 MB, free: 14.86 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.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_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.002558/0.002558, allocations: 91.86 kB / 0.5929 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1354, allocations: 73.3 MB / 0.6645 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01112/0.1465, allocations: 9.312 MB / 0.6736 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.1528, allocations: 2.902 MB / 0.6765 GB, free: 8.293 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1542, allocations: 16 kB / 0.6765 GB, free: 8.277 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1554, allocations: 364.8 kB / 0.6768 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.1594, allocations: 1.344 MB / 0.6781 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.1615, allocations: 0.8641 MB / 0.679 GB, free: 5.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.1656, allocations: 2.802 MB / 0.6817 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.1664, allocations: 388.1 kB / 0.6821 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.1681, allocations: 1.074 MB / 0.6831 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.17, allocations: 1.307 MB / 0.6844 GB, free: 104 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000586/0.1706, allocations: 220 kB / 0.6846 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1718, allocations: 475.7 kB / 0.6851 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006863/0.1724, allocations: 0.5487 MB / 0.6856 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1739, allocations: 1.064 MB / 0.6866 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.1777, allocations: 2.758 MB / 0.6893 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1777, allocations: 0 / 0.6893 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1777, allocations: 0 / 0.6893 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.91e-05/0.1777, allocations: 0 / 0.6893 GB, free: 11.03 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01604/0.1938, allocations: 4.574 MB / 0.6938 GB, free: 6.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1938, allocations: 11.98 kB / 0.6938 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.1941, allocations: 177.3 kB / 0.694 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/0.1989, allocations: 0.7948 MB / 0.6948 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.2014, allocations: 1.24 MB / 0.696 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/0.202, allocations: 0.6392 MB / 0.6966 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.2023, allocations: 128 kB / 0.6967 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.2057, allocations: 1.624 MB / 0.6983 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2057, allocations: 0 / 0.6983 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.2058, allocations: 48 kB / 0.6984 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.2059, allocations: 28 kB / 0.6984 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2426/0.4485, allocations: 1.493 MB / 0.6998 GB, free: 33.4 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.01065/0.4591, allocations: 5.747 MB / 0.7054 GB, free: 32.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008363/0.4675, allocations: 2.627 MB / 0.708 GB, free: 31.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/0.4698, allocations: 0.9061 MB / 0.7089 GB, free: 31.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.4701, allocations: 58.53 kB / 0.709 GB, free: 31.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002524/0.4726, allocations: 1.202 MB / 0.7101 GB, free: 31.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.646e-06/0.4726, allocations: 0 / 0.7101 GB, free: 31.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04029/0.5129, allocations: 9.791 MB / 0.7197 GB, free: 28.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.513, allocations: 153.9 kB / 0.7198 GB, free: 28.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.5155, allocations: 1.641 MB / 0.7214 GB, free: 27.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004115/0.5159, allocations: 56.77 kB / 0.7215 GB, free: 27.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.5163, allocations: 0.7195 MB / 0.7222 GB, free: 26.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/0.5167, allocations: 0.5515 MB / 0.7227 GB, free: 26.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006397/0.5174, allocations: 395.6 kB / 0.7231 GB, free: 26.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.5174, allocations: 301.1 kB / 0.7234 GB, free: 25.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.5196, allocations: 1.076 MB / 0.7245 GB, free: 25.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.522, allocations: 1.307 MB / 0.7257 GB, free: 24.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.5264, allocations: 2.33 MB / 0.728 GB, free: 23.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.5264, allocations: 1.281 kB / 0.728 GB, free: 23.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.009391/0.5358, allocations: 3.974 MB / 0.7319 GB, free: 21.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.5359, allocations: 36.27 kB / 0.7319 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.5359, allocations: 8 kB / 0.7319 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008655/0.5445, allocations: 2.634 MB / 0.7345 GB, free: 20.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.5464, allocations: 393 kB / 0.7349 GB, free: 19.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.5521, allocations: 2.694 MB / 0.7375 GB, free: 18.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.5547, allocations: 304.7 kB / 0.7378 GB, free: 18.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.5549, allocations: 69.73 kB / 0.7379 GB, free: 18.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0006924/0.5556, allocations: 348 kB / 0.7382 GB, free: 17.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.5559, allocations: 203.5 kB / 0.7384 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/0.5715, allocations: 5.131 MB / 0.7434 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.5715, allocations: 19.94 kB / 0.7434 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5715, allocations: 0 / 0.7434 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.769e-05/0.5715, allocations: 7.969 kB / 0.7434 GB, free: 12.73 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.01826/0.5898, allocations: 7.579 MB / 0.7508 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.5898, allocations: 0 / 0.7508 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5909, allocations: 171.7 kB / 0.751 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007019/0.5979, allocations: 2.236 MB / 0.7532 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/0.5982, allocations: 35.98 kB / 0.7532 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02909/0.6273, allocations: 11.87 MB / 0.7648 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6273, allocations: 4 kB / 0.7648 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02036/0.6476, allocations: 6.332 MB / 0.771 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/0.6483, allocations: 240.4 kB / 0.7712 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.6487, allocations: 31.75 kB / 0.7712 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.6505, allocations: 163.8 kB / 0.7714 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000906/0.6514, allocations: 297.2 kB / 0.7717 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.6515, allocations: 36.75 kB / 0.7717 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001883/0.6534, allocations: 1.113 MB / 0.7728 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6534, allocations: 0 / 0.7728 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001747/0.6551, allocations: 0.6014 MB / 0.7734 GB, free: 13.77 MB / 0.5137 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.021/0.6761, allocations: 6.96 MB / 0.7802 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009656/0.6858, allocations: 2.999 MB / 0.7831 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6858, allocations: 0 / 0.7831 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006887/0.6927, allocations: 2.098 MB / 0.7852 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.6945, allocations: 184.1 kB / 0.7853 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05318/0.7477, allocations: 21.36 MB / 0.8062 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.7488, allocations: 1.343 MB / 0.8075 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008095/0.7496, allocations: 167.6 kB / 0.8077 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.7507, allocations: 0.7219 MB / 0.8084 GB, free: 9.484 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.7507, allocations: 0 / 0.8084 GB, free: 9.484 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/0.8587, allocations: 51.43 MB / 0.8586 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/17.28, allocations: 0 / 0.8586 GB, free: 6.223 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.15647563105449] Failed to read output from testmodel.py, exit status != 0: 17.435725601157174 17.464028561 17.280594084 Calling exit ...