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.0007625/0.0007625, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8632/0.8632, allocations: 177.2 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.0009535/0.0009535, allocations: 156.5 kB / 256 MB, free: 13.34 MB / 250.7 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.267/0.267, allocations: 80.37 MB / 392.7 MB, free: 2.363 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.555 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.277e-05, allocations: 2.281 kB / 0.555 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.00617/0.006182, allocations: 8.09 MB / 0.5629 GB, free: 4.055 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.01007, allocations: 2.797 MB / 0.5656 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.01063, allocations: 16 kB / 0.5656 GB, free: 1.234 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.01129, allocations: 364.7 kB / 0.566 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1867/0.198, allocations: 1.239 MB / 0.5672 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1994, allocations: 0.8812 MB / 0.568 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.2013, allocations: 2.573 MB / 0.5705 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.2017, allocations: 368.8 kB / 0.5709 GB, free: 14.7 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2028, allocations: 1.435 MB / 0.5723 GB, free: 14.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000847/0.2037, allocations: 1.017 MB / 0.5733 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.2039, allocations: 219.5 kB / 0.5735 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.2045, allocations: 428.3 kB / 0.5739 GB, free: 14.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.2048, allocations: 0.5485 MB / 0.5744 GB, free: 13.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.2053, allocations: 0.7108 MB / 0.5751 GB, free: 13.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.2073, allocations: 2.831 MB / 0.5779 GB, free: 12.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2073, allocations: 2.078 kB / 0.5779 GB, free: 12.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2073, allocations: 0 / 0.5779 GB, free: 12.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.2073, allocations: 0 / 0.5779 GB, free: 12.57 MB / 442.7 MB 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.007362/0.2146, allocations: 4.341 MB / 0.5821 GB, free: 10.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2147, allocations: 14.23 kB / 0.5822 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.2149, allocations: 181.4 kB / 0.5823 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.2172, allocations: 0.7967 MB / 0.5831 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.2187, allocations: 1.23 MB / 0.5843 GB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.219, allocations: 0.6413 MB / 0.5849 GB, free: 9.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.2192, allocations: 136.5 kB / 0.5851 GB, free: 9.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.2212, allocations: 1.628 MB / 0.5867 GB, free: 8.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2212, allocations: 9 kB / 0.5867 GB, free: 8.414 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.2213, allocations: 48.16 kB / 0.5867 GB, free: 8.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.2213, allocations: 27.09 kB / 0.5867 GB, free: 8.379 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.2234, allocations: 1.504 MB / 0.5882 GB, free: 7.867 MB / 442.7 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.005521/0.2289, allocations: 4.647 MB / 0.5927 GB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/0.2333, allocations: 2.615 MB / 0.5953 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.2345, allocations: 0.9095 MB / 0.5962 GB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.2348, allocations: 60.27 kB / 0.5962 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.2362, allocations: 1.203 MB / 0.5974 GB, free: 2.465 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 3.327e-06/0.2362, allocations: 0 / 0.5974 GB, free: 2.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.02083/0.257, allocations: 10.01 MB / 0.6072 GB, free: 12.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.2571, allocations: 141.8 kB / 0.6073 GB, free: 12.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.2589, allocations: 1.643 MB / 0.6089 GB, free: 10.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.259, allocations: 57.7 kB / 0.609 GB, free: 10.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.2594, allocations: 0.7148 MB / 0.6097 GB, free: 9.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.2598, allocations: 0.5468 MB / 0.6102 GB, free: 9.066 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006179/0.2604, allocations: 396 kB / 0.6106 GB, free: 8.672 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.2604, allocations: 313 kB / 0.6109 GB, free: 8.363 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.2619, allocations: 1.107 MB / 0.612 GB, free: 7.246 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.2635, allocations: 1.347 MB / 0.6133 GB, free: 5.828 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.2664, allocations: 2.345 MB / 0.6156 GB, free: 3.406 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2664, allocations: 0 / 0.6156 GB, free: 3.406 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.005613/0.2721, allocations: 3.886 MB / 0.6194 GB, free: 15.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.2721, allocations: 33.7 kB / 0.6194 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.2721, allocations: 4 kB / 0.6194 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005054/0.2772, allocations: 2.707 MB / 0.6221 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.2781, allocations: 382.5 kB / 0.6224 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.282, allocations: 2.722 MB / 0.6251 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.2833, allocations: 306.5 kB / 0.6254 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.2834, allocations: 75.98 kB / 0.6255 GB, free: 9.27 MB / 474.7 MB 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.0005548/0.284, allocations: 341.2 kB / 0.6258 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.2842, allocations: 202.6 kB / 0.626 GB, free: 8.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009209/0.2934, allocations: 5.181 MB / 0.631 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.2934, allocations: 16 kB / 0.631 GB, free: 3.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2934, allocations: 0 / 0.631 GB, free: 3.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.2935, allocations: 11.97 kB / 0.6311 GB, free: 3.559 MB / 474.7 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.01114/0.3046, allocations: 6.916 MB / 0.6378 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3046, allocations: 4 kB / 0.6378 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.3051, allocations: 169.9 kB / 0.638 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004389/0.3095, allocations: 2.295 MB / 0.6402 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.3096, allocations: 31.98 kB / 0.6403 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/0.3259, allocations: 11.76 MB / 0.6517 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3259, allocations: 0 / 0.6517 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.3371, allocations: 6.419 MB / 0.658 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.3376, allocations: 234.4 kB / 0.6582 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.3378, allocations: 30.75 kB / 0.6583 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/0.3387, allocations: 163.8 kB / 0.6584 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005643/0.3392, allocations: 301.3 kB / 0.6587 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.3393, allocations: 40 kB / 0.6587 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001197/0.3405, allocations: 1.101 MB / 0.6598 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 0.6598 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001333/0.3419, allocations: 0.6083 MB / 0.6604 GB, free: 5.328 MB / 0.4948 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.0113/0.3532, allocations: 7.056 MB / 0.6673 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005335/0.3585, allocations: 3.05 MB / 0.6703 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3585, allocations: 0 / 0.6703 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003601/0.3621, allocations: 2.14 MB / 0.6724 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3632, allocations: 175.3 kB / 0.6725 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/0.3925, allocations: 21.17 MB / 0.6932 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.393, allocations: 0.7645 MB / 0.6939 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004356/0.3935, allocations: 175.6 kB / 0.6941 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.3941, allocations: 0.7268 MB / 0.6948 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/0.3941, allocations: 0 / 0.6948 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05752/0.4517, allocations: 51.59 MB / 0.7452 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.546/9.998, allocations: 2.922 kB / 0.7452 GB, free: 14.4 MB / 0.5886 GB " [Timeout remaining time 650] (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: 12.477069787681103] Failed to read output from testmodel.py, exit status != 0: 10.114608687348664 10.123053586 9.914157787 Calling exit ...