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.001662/0.001662, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.487/1.487, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.001575/0.001575, allocations: 207.4 kB / 306.7 MB, free: 4.301 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4412/0.4412, allocations: 79.71 MB / 442.5 MB, free: 132 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_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.002416/0.002416, allocations: 79.88 kB / 0.5885 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1363, allocations: 73.25 MB / 0.6601 GB, free: 8.219 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01074/0.1471, allocations: 9.278 MB / 0.6691 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006148/0.1532, allocations: 2.902 MB / 0.6719 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1542, allocations: 16 kB / 0.672 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.1552, allocations: 360.8 kB / 0.6723 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.1586, allocations: 1.344 MB / 0.6736 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1604, allocations: 0.8337 MB / 0.6744 GB, free: 9.438 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.1641, allocations: 2.759 MB / 0.6771 GB, free: 6.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007531/0.1648, allocations: 391.7 kB / 0.6775 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.1664, allocations: 1.062 MB / 0.6785 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1681, allocations: 1.303 MB / 0.6798 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.1684, allocations: 220 kB / 0.68 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000864/0.1693, allocations: 483.7 kB / 0.6805 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.1698, allocations: 0.5448 MB / 0.681 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009955/0.1708, allocations: 1.064 MB / 0.6821 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.174, allocations: 2.751 MB / 0.6847 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.174, allocations: 0 / 0.6847 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.174, allocations: 0 / 0.6847 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.196e-05/0.174, allocations: 0 / 0.6847 GB, free: 14.8 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01538/0.1894, allocations: 4.238 MB / 0.6889 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1894, allocations: 8.031 kB / 0.6889 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.507e-05/0.1895, allocations: 30.16 kB / 0.6889 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/0.1897, allocations: 181.3 kB / 0.6891 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.1947, allocations: 0.7948 MB / 0.6899 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.1971, allocations: 1.304 MB / 0.6911 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005475/0.1977, allocations: 474.6 kB / 0.6916 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.1979, allocations: 135.9 kB / 0.6917 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.2014, allocations: 1.621 MB / 0.6933 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.2015, allocations: 0 / 0.6933 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.2016, allocations: 51.94 kB / 0.6934 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.2016, allocations: 28 kB / 0.6934 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/0.2052, allocations: 1.5 MB / 0.6948 GB, free: 4.188 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.2647/0.4699, allocations: 5.804 MB / 0.7005 GB, free: 33.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008911/0.4788, allocations: 3.068 MB / 0.7035 GB, free: 32.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.4809, allocations: 0.9065 MB / 0.7044 GB, free: 32.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.4813, allocations: 0.7326 MB / 0.7051 GB, free: 31.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002486/0.4838, allocations: 1.197 MB / 0.7063 GB, free: 31.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.146e-06/0.4838, allocations: 4.812 kB / 0.7063 GB, free: 31.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04258/0.5263, allocations: 9.942 MB / 0.716 GB, free: 30.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.5264, allocations: 149.9 kB / 0.7161 GB, free: 30.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.5289, allocations: 1.642 MB / 0.7177 GB, free: 29.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003305/0.5292, allocations: 64.03 kB / 0.7178 GB, free: 29.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.5296, allocations: 0.715 MB / 0.7185 GB, free: 28.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.5301, allocations: 0.5528 MB / 0.719 GB, free: 28.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006892/0.5308, allocations: 394.9 kB / 0.7194 GB, free: 28.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.811e-05/0.5308, allocations: 306.5 kB / 0.7197 GB, free: 27.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.5331, allocations: 1.078 MB / 0.7208 GB, free: 27.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.5355, allocations: 1.302 MB / 0.722 GB, free: 26.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/0.5399, allocations: 2.333 MB / 0.7243 GB, free: 25.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.5399, allocations: 1.219 kB / 0.7243 GB, free: 25.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.009678/0.5496, allocations: 3.973 MB / 0.7282 GB, free: 23.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.5497, allocations: 33.48 kB / 0.7282 GB, free: 23.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.5497, allocations: 7.906 kB / 0.7282 GB, free: 23.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008921/0.5586, allocations: 2.642 MB / 0.7308 GB, free: 21.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.5604, allocations: 386.9 kB / 0.7312 GB, free: 21.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.5661, allocations: 2.705 MB / 0.7338 GB, free: 20.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.5686, allocations: 296 kB / 0.7341 GB, free: 20.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.5688, allocations: 79.39 kB / 0.7342 GB, free: 20.12 MB / 494.1 MB 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 (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.0006418/0.5694, allocations: 337.9 kB / 0.7345 GB, free: 19.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.5697, allocations: 202.3 kB / 0.7347 GB, free: 19.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/0.5857, allocations: 5.134 MB / 0.7397 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.5857, allocations: 16 kB / 0.7397 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5857, allocations: 4 kB / 0.7397 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.5857, allocations: 7.969 kB / 0.7397 GB, free: 15.55 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 postOpt removeSimpleEquations (simulation): time 0.01803/0.6038, allocations: 7.608 MB / 0.7472 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6038, allocations: 4 kB / 0.7472 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/0.6047, allocations: 167.7 kB / 0.7473 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006964/0.6117, allocations: 2.243 MB / 0.7495 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.6119, allocations: 39.73 kB / 0.7496 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.6399, allocations: 12.08 MB / 0.7614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6399, allocations: 0 / 0.7614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/0.6607, allocations: 6.334 MB / 0.7675 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.6614, allocations: 309.4 kB / 0.7678 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.6617, allocations: 35.98 kB / 0.7679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.6635, allocations: 159.8 kB / 0.768 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009158/0.6644, allocations: 289.3 kB / 0.7683 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.6646, allocations: 39.98 kB / 0.7683 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001938/0.6665, allocations: 1.109 MB / 0.7694 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6665, allocations: 0 / 0.7694 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001804/0.6683, allocations: 0.6044 MB / 0.77 GB, free: 216 kB / 0.4981 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.02134/0.6896, allocations: 6.964 MB / 0.7768 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009894/0.6995, allocations: 2.986 MB / 0.7797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6995, allocations: 0 / 0.7797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007192/0.7067, allocations: 2.105 MB / 0.7818 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.7081, allocations: 186.9 kB / 0.782 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05392/0.7621, allocations: 21.35 MB / 0.8028 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.7631, allocations: 1.345 MB / 0.8041 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008513/0.764, allocations: 175.6 kB / 0.8043 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.7651, allocations: 0.718 MB / 0.805 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/0.7651, allocations: 8 kB / 0.805 GB, free: 11.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09544/0.8606, allocations: 50.02 MB / 0.8538 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.75, allocations: 8.062 kB / 0.8538 GB, free: 10.07 MB / 0.5919 GB " [Timeout remaining time 643] (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: 22.252495930995792] Failed to read output from testmodel.py, exit status != 0: 16.950967754994053 16.966411463 16.789471684 Calling exit ...