Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07505/0.07505, allocations: 12.36 MB / 28.71 MB, free: 0.6016 MB / 19.63 MB " [Timeout remaining time 180] 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.001235/0.001235, allocations: 111.2 kB / 34.42 MB, free: 1.688 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 247.6 MB, free: 8.84 MB / 190.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.001594/0.001594, allocations: 212.4 kB / 302.5 MB, free: 2.363 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3223/0.3223, allocations: 79.74 MB / 436.9 MB, free: 11.71 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.003962/0.003962, allocations: 144.8 kB / 0.5819 GB, free: 7.926 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3284, allocations: 71.91 MB / 0.6521 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.006847/0.3352, allocations: 5.367 MB / 0.6574 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.3386, allocations: 1.592 MB / 0.6589 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.3391, allocations: 8 kB / 0.6589 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.3396, allocations: 190.4 kB / 0.6591 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.3413, allocations: 0.7029 MB / 0.6598 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3425, allocations: 0.4906 MB / 0.6603 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.3438, allocations: 1.074 MB / 0.6613 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.3442, allocations: 194.5 kB / 0.6615 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006636/0.3449, allocations: 474 kB / 0.662 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007747/0.3457, allocations: 0.6145 MB / 0.6626 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3458, allocations: 84 kB / 0.6626 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.3463, allocations: 219.8 kB / 0.6629 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.3465, allocations: 235 kB / 0.6631 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.347, allocations: 0.5009 MB / 0.6636 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3487, allocations: 1.255 MB / 0.6648 GB, free: 1.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3487, allocations: 0 / 0.6648 GB, free: 1.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3487, allocations: 0 / 0.6648 GB, free: 1.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.3487, allocations: 3.938 kB / 0.6648 GB, free: 1.867 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.007379/0.3561, allocations: 2.189 MB / 0.6669 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3561, allocations: 15.98 kB / 0.667 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.3563, allocations: 102.7 kB / 0.6671 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/0.3605, allocations: 0.6504 MB / 0.6677 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3617, allocations: 0.6628 MB / 0.6683 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.3619, allocations: 180.1 kB / 0.6685 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.362, allocations: 60 kB / 0.6686 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.364, allocations: 0.8691 MB / 0.6694 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.364, allocations: 4 kB / 0.6694 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.402e-05/0.3641, allocations: 32 kB / 0.6694 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3641, allocations: 12 kB / 0.6695 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.3662, allocations: 0.9108 MB / 0.6703 GB, free: 12.05 MB / 462.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.00477/0.371, allocations: 2.452 MB / 0.6727 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.3729, allocations: 1.005 MB / 0.6737 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.3743, allocations: 0.581 MB / 0.6743 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.3744, allocations: 16.64 kB / 0.6743 GB, free: 7.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3744, allocations: 43.22 kB / 0.6743 GB, free: 7.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.745e-06/0.3744, allocations: 0 / 0.6743 GB, free: 7.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02427/0.3987, allocations: 5.648 MB / 0.6799 GB, free: 2.066 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3988, allocations: 60.06 kB / 0.6799 GB, free: 1.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3999, allocations: 0.7591 MB / 0.6807 GB, free: 1.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.4001, allocations: 41.7 kB / 0.6807 GB, free: 1.184 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.4004, allocations: 393.2 kB / 0.6811 GB, free: 0.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.4008, allocations: 309.4 kB / 0.6814 GB, free: 500 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.4012, allocations: 182.9 kB / 0.6815 GB, free: 312 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4014, allocations: 341.9 kB / 0.6819 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.4028, allocations: 0.6116 MB / 0.6825 GB, free: 15.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.4044, allocations: 0.7232 MB / 0.6832 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/0.4075, allocations: 1.331 MB / 0.6845 GB, free: 13.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4075, allocations: 0 / 0.6845 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01258/0.42, allocations: 3.576 MB / 0.688 GB, free: 9.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.4201, allocations: 8 kB / 0.688 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4201, allocations: 7.875 kB / 0.688 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006139/0.4262, allocations: 1.511 MB / 0.6895 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4273, allocations: 175.8 kB / 0.6896 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.448, allocations: 8.19 MB / 0.6976 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4492, allocations: 151.5 kB / 0.6978 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4494, allocations: 35.98 kB / 0.6978 GB, free: 15.43 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004558/0.4498, allocations: 221.6 kB / 0.698 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.45, allocations: 107.3 kB / 0.6981 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.4621, allocations: 3.341 MB / 0.7014 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.4622, allocations: 8 kB / 0.7014 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4622, allocations: 3.938 kB / 0.7014 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.4622, allocations: 3.984 kB / 0.7014 GB, free: 11.72 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.01469/0.4769, allocations: 4.812 MB / 0.7061 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4769, allocations: 0 / 0.7061 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.4775, allocations: 99.81 kB / 0.7062 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006359/0.4839, allocations: 1.519 MB / 0.7077 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/0.484, allocations: 19.98 kB / 0.7077 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.5024, allocations: 7.277 MB / 0.7148 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5024, allocations: 7.875 kB / 0.7148 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.5164, allocations: 4.167 MB / 0.7189 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.5167, allocations: 184.3 kB / 0.719 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.5169, allocations: 15.98 kB / 0.7191 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/0.5178, allocations: 83.91 kB / 0.7191 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005832/0.5184, allocations: 168.8 kB / 0.7193 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.5184, allocations: 24 kB / 0.7193 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007332/0.5192, allocations: 0.5107 MB / 0.7198 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5192, allocations: 0 / 0.7198 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001232/0.5204, allocations: 375.7 kB / 0.7202 GB, free: 8.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,frequencyDependent.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(20,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0144/0.5348, allocations: 4.738 MB / 0.7248 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006367/0.5412, allocations: 1.991 MB / 0.7268 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.5412, allocations: 8 kB / 0.7268 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.5454, allocations: 1.278 MB / 0.728 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.5463, allocations: 83.17 kB / 0.7281 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.5821, allocations: 13.02 MB / 0.7408 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.5829, allocations: 1.021 MB / 0.7418 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004317/0.5833, allocations: 89.53 kB / 0.7419 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.5838, allocations: 355.3 kB / 0.7422 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/0.5838, allocations: 0 / 0.7422 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07255/0.6564, allocations: 30.15 MB / 0.7717 GB, free: 3.238 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.8, allocations: 7.484 kB / 0.7717 GB, free: 3.234 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.900014548999025] Failed to read output from testmodel.py, exit status != 0: 15.90615974800312 15.93443576 15.58063491 Calling exit ...