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.001503/0.001503, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.558/1.558, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.00155/0.00155, allocations: 210.3 kB / 309.2 MB, free: 3.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.66/0.66, allocations: 107.2 MB / 472.8 MB, free: 29.88 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.0026/0.0026, allocations: 87.17 kB / 0.6331 GB, free: 29.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1428, allocations: 80.15 MB / 0.7113 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01047/0.1532, allocations: 8.105 MB / 0.7192 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006171/0.1594, allocations: 2.79 MB / 0.722 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.1606, allocations: 19.94 kB / 0.722 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.1617, allocations: 364.8 kB / 0.7223 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.1651, allocations: 1.212 MB / 0.7235 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.167, allocations: 0.8543 MB / 0.7244 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.1703, allocations: 2.654 MB / 0.7269 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.1709, allocations: 360.2 kB / 0.7273 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.1725, allocations: 1.074 MB / 0.7283 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.174, allocations: 1.17 MB / 0.7295 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.1744, allocations: 220 kB / 0.7297 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1755, allocations: 427.8 kB / 0.7301 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005749/0.176, allocations: 0.5409 MB / 0.7306 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.1771, allocations: 0.8587 MB / 0.7315 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00339/0.1805, allocations: 2.762 MB / 0.7342 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1805, allocations: 0 / 0.7342 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1805, allocations: 4 kB / 0.7342 GB, free: 200 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.1805, allocations: 0 / 0.7342 GB, free: 200 kB / 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.01532/0.1958, allocations: 4.368 MB / 0.7384 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.1959, allocations: 8.031 kB / 0.7384 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000289/0.1962, allocations: 189.2 kB / 0.7386 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/0.201, allocations: 0.7908 MB / 0.7394 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.2037, allocations: 1.24 MB / 0.7406 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006333/0.2044, allocations: 0.6353 MB / 0.7412 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.2047, allocations: 143.9 kB / 0.7414 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.2081, allocations: 1.625 MB / 0.7429 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.2082, allocations: 0 / 0.7429 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2083, allocations: 55.98 kB / 0.743 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.2083, allocations: 28 kB / 0.743 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/0.2119, allocations: 1.508 MB / 0.7445 GB, free: 5.332 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.01273/0.2247, allocations: 4.643 MB / 0.749 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009018/0.2337, allocations: 2.607 MB / 0.7516 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.2364, allocations: 0.9121 MB / 0.7525 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.2367, allocations: 57.28 kB / 0.7525 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002691/0.2394, allocations: 1.213 MB / 0.7537 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=148): time 3.767e-06/0.2394, allocations: 0 / 0.7537 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=148): time 0.05879/0.2982, allocations: 9.997 MB / 0.7635 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.2984, allocations: 145.8 kB / 0.7636 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/0.3039, allocations: 1.65 MB / 0.7652 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006606/0.3045, allocations: 57.7 kB / 0.7653 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.3056, allocations: 0.7156 MB / 0.766 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.3071, allocations: 0.5539 MB / 0.7665 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/0.309, allocations: 392 kB / 0.7669 GB, free: 14.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3091, allocations: 305.1 kB / 0.7672 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004147/0.3133, allocations: 1.107 MB / 0.7683 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004372/0.3177, allocations: 1.344 MB / 0.7696 GB, free: 11.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008311/0.326, allocations: 2.343 MB / 0.7719 GB, free: 8.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-05/0.326, allocations: 4 kB / 0.7719 GB, free: 8.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01668/0.3427, allocations: 3.892 MB / 0.7757 GB, free: 4.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/0.3428, allocations: 37.69 kB / 0.7757 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/0.3428, allocations: 7.938 kB / 0.7757 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/0.3573, allocations: 2.7 MB / 0.7783 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.3601, allocations: 375.5 kB / 0.7787 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.3707, allocations: 2.729 MB / 0.7814 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.3746, allocations: 306.5 kB / 0.7817 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005261/0.3752, allocations: 71.98 kB / 0.7817 GB, free: 14.66 MB / 0.5606 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.001481/0.3766, allocations: 345.4 kB / 0.7821 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009909/0.3776, allocations: 194.7 kB / 0.7822 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/0.4006, allocations: 5.182 MB / 0.7873 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/0.4006, allocations: 16 kB / 0.7873 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.4007, allocations: 0 / 0.7873 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/0.4007, allocations: 15.91 kB / 0.7873 GB, free: 8.891 MB / 0.5606 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.02441/0.4251, allocations: 6.914 MB / 0.7941 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.4251, allocations: 7.938 kB / 0.7941 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.4263, allocations: 163.8 kB / 0.7943 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009027/0.4353, allocations: 2.295 MB / 0.7965 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003542/0.4357, allocations: 39.98 kB / 0.7965 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03297/0.4687, allocations: 11.75 MB / 0.808 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4687, allocations: 4 kB / 0.808 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4084/0.8771, allocations: 6.416 MB / 0.8143 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/0.8778, allocations: 229.8 kB / 0.8145 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/0.8782, allocations: 34.78 kB / 0.8145 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/0.88, allocations: 165.2 kB / 0.8147 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009788/0.881, allocations: 295.5 kB / 0.815 GB, free: 91.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.8811, allocations: 42.8 kB / 0.815 GB, free: 91.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002189/0.8833, allocations: 1.107 MB / 0.8161 GB, free: 91.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8833, allocations: 0 / 0.8161 GB, free: 91.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002477/0.8858, allocations: 0.6046 MB / 0.8167 GB, free: 91.12 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.02239/0.9082, allocations: 7.05 MB / 0.8236 GB, free: 89.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009774/0.918, allocations: 3.056 MB / 0.8265 GB, free: 88.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.918, allocations: 3.844 kB / 0.8266 GB, free: 88.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006583/0.9246, allocations: 2.128 MB / 0.8286 GB, free: 87.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.9262, allocations: 185.7 kB / 0.8288 GB, free: 87.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04468/0.9709, allocations: 21.23 MB / 0.8495 GB, free: 74.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.9715, allocations: 0.7645 MB / 0.8503 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008147/0.9724, allocations: 175.6 kB / 0.8505 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000845/0.9732, allocations: 0.7258 MB / 0.8512 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.9732, allocations: 0 / 0.8512 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08181/1.055, allocations: 51.36 MB / 0.9013 GB, free: 21.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.26, allocations: 4 kB / 0.9013 GB, free: 21.5 MB / 0.5762 GB " [Timeout remaining time 644] (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: 20.611508601810783] Failed to read output from testmodel.py, exit status != 0: 16.41467558639124 16.434615544 16.25035983 Calling exit ...