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.001778/0.001778, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.503/1.503, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001843/0.001843, allocations: 224.9 kB / 309.2 MB, free: 3.145 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.5731/0.5731, allocations: 101.3 MB / 467 MB, free: 10.32 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.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.003246/0.003246, allocations: 87.88 kB / 0.6244 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4867, allocations: 78.62 MB / 0.7012 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008784/0.4955, allocations: 9.381 MB / 0.7104 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.5015, allocations: 2.927 MB / 0.7132 GB, free: 336 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.5029, allocations: 15.94 kB / 0.7132 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.504, allocations: 368.1 kB / 0.7136 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.5072, allocations: 1.247 MB / 0.7148 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.5094, allocations: 0.8589 MB / 0.7157 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.5139, allocations: 2.668 MB / 0.7183 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000809/0.5147, allocations: 387.5 kB / 0.7186 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.5166, allocations: 1.062 MB / 0.7197 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.5184, allocations: 1.308 MB / 0.7209 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.5187, allocations: 217.1 kB / 0.7211 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.5196, allocations: 481.2 kB / 0.7216 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006153/0.5202, allocations: 0.539 MB / 0.7221 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.5213, allocations: 1.051 MB / 0.7232 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.5254, allocations: 2.754 MB / 0.7259 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5254, allocations: 0.9688 kB / 0.7259 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.858e-06/0.5254, allocations: 3.938 kB / 0.7259 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.394e-05/0.5254, allocations: 0 / 0.7259 GB, free: 9.781 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.01661/0.542, allocations: 4.364 MB / 0.7301 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5421, allocations: 10.28 kB / 0.7301 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003428/0.5424, allocations: 180.8 kB / 0.7303 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.5476, allocations: 0.7983 MB / 0.7311 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.5508, allocations: 1.235 MB / 0.7323 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007016/0.5515, allocations: 0.648 MB / 0.7329 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.5519, allocations: 133.7 kB / 0.733 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004119/0.556, allocations: 1.63 MB / 0.7346 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.556, allocations: 3.938 kB / 0.7346 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.5562, allocations: 50.44 kB / 0.7347 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.5562, allocations: 28.78 kB / 0.7347 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.5599, allocations: 1.522 MB / 0.7362 GB, free: 4.102 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.01369/0.5736, allocations: 5.822 MB / 0.7419 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008762/0.5824, allocations: 2.615 MB / 0.7444 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.5846, allocations: 0.911 MB / 0.7453 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.585, allocations: 69.44 kB / 0.7454 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/0.5877, allocations: 1.205 MB / 0.7466 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.617e-06/0.5877, allocations: 1.281 kB / 0.7466 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.043/0.6307, allocations: 10.01 MB / 0.7563 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.6308, allocations: 149.8 kB / 0.7565 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.6341, allocations: 1.639 MB / 0.7581 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005856/0.6347, allocations: 57.69 kB / 0.7581 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/0.6355, allocations: 0.7195 MB / 0.7588 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009523/0.6365, allocations: 0.55 MB / 0.7594 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008595/0.6373, allocations: 400 kB / 0.7598 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6375, allocations: 305.1 kB / 0.7601 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.6401, allocations: 1.078 MB / 0.7611 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/0.643, allocations: 1.319 MB / 0.7624 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005256/0.6483, allocations: 2.347 MB / 0.7647 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.6483, allocations: 4 kB / 0.7647 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01032/0.6586, allocations: 3.859 MB / 0.7685 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.6587, allocations: 40.19 kB / 0.7685 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.6587, allocations: 4 kB / 0.7685 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009839/0.6685, allocations: 2.704 MB / 0.7711 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.6707, allocations: 383.5 kB / 0.7715 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/0.6778, allocations: 2.717 MB / 0.7742 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.681, allocations: 302.5 kB / 0.7745 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.6813, allocations: 83.97 kB / 0.7745 GB, free: 4.598 MB / 0.5294 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.0008514/0.6821, allocations: 345.1 kB / 0.7749 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.6825, allocations: 194.7 kB / 0.775 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/0.7008, allocations: 5.182 MB / 0.7801 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.7008, allocations: 16 kB / 0.7801 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.7008, allocations: 4 kB / 0.7801 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/0.7009, allocations: 11.92 kB / 0.7801 GB, free: 14.83 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.0234/0.7243, allocations: 7.609 MB / 0.7876 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.7243, allocations: 0 / 0.7876 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.7258, allocations: 171.7 kB / 0.7877 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00852/0.7344, allocations: 2.302 MB / 0.79 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/0.7347, allocations: 39.92 kB / 0.79 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03152/0.7663, allocations: 12.04 MB / 0.8018 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7663, allocations: 4 kB / 0.8018 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/0.7875, allocations: 6.417 MB / 0.808 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/0.7885, allocations: 230.5 kB / 0.8083 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.7888, allocations: 28 kB / 0.8083 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.7907, allocations: 171.7 kB / 0.8085 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009575/0.7916, allocations: 293.2 kB / 0.8087 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.7918, allocations: 43.98 kB / 0.8088 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001979/0.7937, allocations: 1.105 MB / 0.8099 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7937, allocations: 0 / 0.8099 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001792/0.7955, allocations: 0.6049 MB / 0.8105 GB, free: 15.36 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.02118/0.8167, allocations: 7.046 MB / 0.8173 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009826/0.8265, allocations: 3.025 MB / 0.8203 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8265, allocations: 0 / 0.8203 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007154/0.8337, allocations: 2.137 MB / 0.8224 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.8354, allocations: 182.8 kB / 0.8225 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05411/0.8895, allocations: 21.28 MB / 0.8433 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.8906, allocations: 1.339 MB / 0.8446 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00101/0.8916, allocations: 171.6 kB / 0.8448 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.8928, allocations: 0.7219 MB / 0.8455 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of SimCode: time 1.302e-06/0.8928, allocations: 0 / 0.8455 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/1.013, allocations: 51.34 MB / 0.8956 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.75, allocations: 14.03 kB / 0.8957 GB, free: 7.754 MB / 0.6544 GB " [Timeout remaining time 642] (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: 22.114021676126868] Failed to read output from testmodel.py, exit status != 0: 17.90457245684229 17.932277749 17.400503381 Calling exit ...