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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108.8 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 244.8 MB, free: 14.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 191.9 kB / 299.8 MB, free: 9.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5421/0.5421, allocations: 99.66 MB / 454.4 MB, free: 5.059 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002459/0.002459, allocations: 79.88 kB / 0.6074 GB, free: 9.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1469, allocations: 76.93 MB / 0.6825 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01046/0.1573, allocations: 9.322 MB / 0.6916 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.1634, allocations: 2.871 MB / 0.6944 GB, free: 156 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.1645, allocations: 23.94 kB / 0.6944 GB, free: 132 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2604/0.4249, allocations: 356.3 kB / 0.6948 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.4283, allocations: 1.246 MB / 0.696 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.43, allocations: 0.8378 MB / 0.6968 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.4328, allocations: 2.616 MB / 0.6994 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.4334, allocations: 389.8 kB / 0.6997 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.435, allocations: 1.03 MB / 0.7007 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.4366, allocations: 1.302 MB / 0.702 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004285/0.4371, allocations: 223.4 kB / 0.7022 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.4379, allocations: 475 kB / 0.7027 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.4383, allocations: 0.5347 MB / 0.7032 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008639/0.4391, allocations: 1.055 MB / 0.7042 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.4421, allocations: 2.756 MB / 0.7069 GB, free: 5.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4421, allocations: 0 / 0.7069 GB, free: 5.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4421, allocations: 4.344 kB / 0.7069 GB, free: 5.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.921e-05/0.4422, allocations: 0 / 0.7069 GB, free: 5.582 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.01387/0.456, allocations: 4.025 MB / 0.7108 GB, free: 3.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4561, allocations: 9.188 kB / 0.7109 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/0.4563, allocations: 180.9 kB / 0.711 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.4613, allocations: 0.792 MB / 0.7118 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.4639, allocations: 1.307 MB / 0.7131 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.4643, allocations: 473.2 kB / 0.7135 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.4646, allocations: 139.8 kB / 0.7137 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/0.468, allocations: 1.628 MB / 0.7153 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.468, allocations: 0 / 0.7153 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.4681, allocations: 46.92 kB / 0.7153 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.4682, allocations: 27.84 kB / 0.7153 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.4717, allocations: 1.52 MB / 0.7168 GB, free: 1.086 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.01127/0.483, allocations: 5.82 MB / 0.7225 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00895/0.4919, allocations: 3.084 MB / 0.7255 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/0.4942, allocations: 0.918 MB / 0.7264 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/0.4949, allocations: 0.7334 MB / 0.7271 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/0.4976, allocations: 1.213 MB / 0.7283 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=149): time 5.29e-06/0.4976, allocations: 0 / 0.7283 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=149): time 0.04862/0.5462, allocations: 11.21 MB / 0.7392 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/0.5463, allocations: 153.5 kB / 0.7394 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.5493, allocations: 1.647 MB / 0.741 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/0.5497, allocations: 56.48 kB / 0.7411 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/0.5504, allocations: 0.7169 MB / 0.7418 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/0.5511, allocations: 0.5534 MB / 0.7423 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007541/0.5519, allocations: 401.2 kB / 0.7427 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.552, allocations: 305.1 kB / 0.743 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.5544, allocations: 1.088 MB / 0.744 GB, free: 412 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.5572, allocations: 1.321 MB / 0.7453 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/0.5623, allocations: 2.352 MB / 0.7476 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.5623, allocations: 3.938 kB / 0.7476 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01034/0.5727, allocations: 3.953 MB / 0.7515 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.5727, allocations: 37.64 kB / 0.7515 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.5727, allocations: 4.75 kB / 0.7515 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009704/0.5824, allocations: 2.706 MB / 0.7542 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.5845, allocations: 383.5 kB / 0.7545 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006857/0.5913, allocations: 2.715 MB / 0.7572 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.5944, allocations: 306.5 kB / 0.7575 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.5947, allocations: 77.86 kB / 0.7575 GB, free: 2.453 MB / 0.5137 GB 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 (223): * Single equations (assignments): 220 * 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.0009263/0.5956, allocations: 351.6 kB / 0.7579 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/0.5962, allocations: 198.7 kB / 0.7581 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/0.6138, allocations: 5.124 MB / 0.7631 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/0.6139, allocations: 19.98 kB / 0.7631 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.6139, allocations: 4 kB / 0.7631 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/0.6139, allocations: 7.922 kB / 0.7631 GB, free: 12.73 MB / 0.5294 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.02408/0.638, allocations: 7.669 MB / 0.7706 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.638, allocations: 4 kB / 0.7706 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.6392, allocations: 172.7 kB / 0.7708 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008332/0.6475, allocations: 2.287 MB / 0.773 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003943/0.6479, allocations: 39.98 kB / 0.773 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03222/0.6801, allocations: 12.25 MB / 0.785 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6801, allocations: 0 / 0.785 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02184/0.702, allocations: 6.403 MB / 0.7912 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009659/0.703, allocations: 315.5 kB / 0.7916 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008379/0.7038, allocations: 31.98 kB / 0.7916 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/0.7062, allocations: 163.8 kB / 0.7917 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/0.7075, allocations: 284.8 kB / 0.792 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003257/0.7078, allocations: 39.98 kB / 0.792 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002377/0.7102, allocations: 1.113 MB / 0.7931 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7102, allocations: 0 / 0.7931 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002473/0.7126, allocations: 0.6049 MB / 0.7937 GB, free: 12.95 MB / 0.5606 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 (100): * Single equations (assignments): 98 * 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.022/0.7346, allocations: 7.03 MB / 0.8006 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01095/0.7456, allocations: 3.047 MB / 0.8036 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7456, allocations: 0 / 0.8036 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007441/0.753, allocations: 2.144 MB / 0.8057 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.755, allocations: 172.2 kB / 0.8058 GB, free: 480 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05366/0.8087, allocations: 21.23 MB / 0.8266 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.8099, allocations: 1.347 MB / 0.8279 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009817/0.8109, allocations: 171.7 kB / 0.828 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.8123, allocations: 0.7219 MB / 0.8287 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/0.8123, allocations: 0 / 0.8287 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.9179, allocations: 50.07 MB / 0.8776 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.79, allocations: 10.2 kB / 0.8776 GB, free: 6.715 MB / 0.6387 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: 20.60377984587103] Failed to read output from testmodel.py, exit status != 0: 16.907781259156764 16.922436859 16.477296354 Calling exit ...