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.001411/0.001411, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.395/1.395, allocations: 230.6 MB / 250.5 MB, free: 9.215 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.001547/0.001547, allocations: 214.3 kB / 306.7 MB, free: 4.281 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.5233/0.5233, allocations: 101.3 MB / 464 MB, free: 11.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="cs",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.003852/0.003852, allocations: 79.89 kB / 0.62 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.201, allocations: 78.57 MB / 0.6967 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2979/0.4989, allocations: 9.337 MB / 0.7058 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.5045, allocations: 2.909 MB / 0.7087 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.5058, allocations: 21.78 kB / 0.7087 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000927/0.5067, allocations: 368.9 kB / 0.709 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.5095, allocations: 1.255 MB / 0.7103 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.5114, allocations: 0.8343 MB / 0.7111 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.5149, allocations: 2.611 MB / 0.7136 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.5156, allocations: 385.1 kB / 0.714 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.5172, allocations: 1.061 MB / 0.715 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.519, allocations: 1.301 MB / 0.7163 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.5193, allocations: 219.8 kB / 0.7165 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009017/0.5202, allocations: 482.6 kB / 0.717 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.5207, allocations: 0.5333 MB / 0.7175 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009978/0.5217, allocations: 1.057 MB / 0.7185 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.5253, allocations: 2.749 MB / 0.7212 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.5253, allocations: 0 / 0.7212 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5253, allocations: 7.938 kB / 0.7212 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.903e-05/0.5253, allocations: 0 / 0.7212 GB, free: 10.59 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.01552/0.5408, allocations: 4.02 MB / 0.7251 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5409, allocations: 14.73 kB / 0.7252 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.81e-05/0.5409, allocations: 28.61 kB / 0.7252 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/0.5412, allocations: 181.4 kB / 0.7254 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.5465, allocations: 0.7997 MB / 0.7261 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.5496, allocations: 1.314 MB / 0.7274 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/0.5502, allocations: 473.7 kB / 0.7279 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.5505, allocations: 135.3 kB / 0.728 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/0.5541, allocations: 1.63 MB / 0.7296 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.5541, allocations: 1.188 kB / 0.7296 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.5543, allocations: 45.41 kB / 0.7296 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.5543, allocations: 28.31 kB / 0.7297 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.5579, allocations: 1.522 MB / 0.7312 GB, free: 5.664 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.01138/0.5693, allocations: 5.886 MB / 0.7369 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009377/0.5787, allocations: 3.065 MB / 0.7399 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.5812, allocations: 0.9147 MB / 0.7408 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.5819, allocations: 0.7402 MB / 0.7415 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002775/0.5847, allocations: 1.21 MB / 0.7427 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.106e-06/0.5847, allocations: 0 / 0.7427 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.04489/0.6296, allocations: 10.15 MB / 0.7526 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.6297, allocations: 153.4 kB / 0.7528 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.633, allocations: 1.646 MB / 0.7544 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005328/0.6335, allocations: 57.69 kB / 0.7544 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006553/0.6342, allocations: 0.7156 MB / 0.7551 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.635, allocations: 0.5539 MB / 0.7557 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/0.6358, allocations: 392 kB / 0.756 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6359, allocations: 309.1 kB / 0.7563 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.6385, allocations: 1.078 MB / 0.7574 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.6413, allocations: 1.319 MB / 0.7587 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005392/0.6467, allocations: 2.347 MB / 0.761 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.6467, allocations: 7.938 kB / 0.761 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01029/0.657, allocations: 3.863 MB / 0.7647 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.657, allocations: 33.7 kB / 0.7648 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.6571, allocations: 4 kB / 0.7648 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.6672, allocations: 2.711 MB / 0.7674 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.6694, allocations: 379.5 kB / 0.7678 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.6767, allocations: 2.729 MB / 0.7704 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/0.6799, allocations: 294.6 kB / 0.7707 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/0.6802, allocations: 83.97 kB / 0.7708 GB, free: 5.246 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.0008739/0.6811, allocations: 341.4 kB / 0.7711 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/0.6816, allocations: 200.7 kB / 0.7713 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01879/0.7004, allocations: 5.174 MB / 0.7764 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.7004, allocations: 16 kB / 0.7764 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.7005, allocations: 7.938 kB / 0.7764 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.228e-05/0.7005, allocations: 7.969 kB / 0.7764 GB, free: 15.48 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.02312/0.7236, allocations: 7.642 MB / 0.7839 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.7236, allocations: 3.938 kB / 0.7839 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.7248, allocations: 171.7 kB / 0.784 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008686/0.7335, allocations: 2.302 MB / 0.7863 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/0.7339, allocations: 32.69 kB / 0.7863 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03146/0.7654, allocations: 12.24 MB / 0.7983 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7654, allocations: 0 / 0.7983 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/0.7872, allocations: 6.424 MB / 0.8045 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.7882, allocations: 311.6 kB / 0.8048 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/0.7885, allocations: 31.94 kB / 0.8049 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.7904, allocations: 167.8 kB / 0.805 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000946/0.7914, allocations: 277.4 kB / 0.8053 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.7915, allocations: 43.98 kB / 0.8053 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001871/0.7934, allocations: 1.105 MB / 0.8064 GB, free: 260 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7934, allocations: 0 / 0.8064 GB, free: 260 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001801/0.7952, allocations: 0.5972 MB / 0.807 GB, free: 15.65 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.02177/0.8169, allocations: 7.053 MB / 0.8139 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01006/0.827, allocations: 3.033 MB / 0.8169 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.827, allocations: 4 kB / 0.8169 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007035/0.834, allocations: 2.132 MB / 0.8189 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.8357, allocations: 179.8 kB / 0.8191 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05301/0.8887, allocations: 21.28 MB / 0.8399 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.8897, allocations: 1.339 MB / 0.8412 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009043/0.8906, allocations: 171.6 kB / 0.8414 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.8917, allocations: 0.7219 MB / 0.8421 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.8917, allocations: 0 / 0.8421 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.9934, allocations: 49.95 MB / 0.8908 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.41, allocations: 5.938 kB / 0.8909 GB, free: 9.426 MB / 0.6544 GB " [Timeout remaining time 643] (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: 21.828452257963363] Failed to read output from testmodel.py, exit status != 0: 16.591895453981124 16.612994633 16.083334821 Calling exit ...