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.07947/0.07947, allocations: 12.36 MB / 31.19 MB, free: 16 kB / 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.001216/0.001216, allocations: 111.6 kB / 37.24 MB, free: 1.238 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.278/1.278, allocations: 207.6 MB / 250.8 MB, free: 7.359 MB / 190.1 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.00147/0.00147, allocations: 216.4 kB / 306.1 MB, free: 484 kB / 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.3033/0.3033, allocations: 79.73 MB / 440.9 MB, free: 12.45 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.003911/0.003911, allocations: 147.8 kB / 0.5875 GB, free: 7.594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3106, allocations: 71.95 MB / 0.6578 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.00544/0.3161, allocations: 5.391 MB / 0.6631 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.3191, allocations: 1.601 MB / 0.6646 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.3194, allocations: 8.875 kB / 0.6646 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.3199, allocations: 184.8 kB / 0.6648 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.3213, allocations: 0.6966 MB / 0.6655 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.3223, allocations: 0.498 MB / 0.666 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3234, allocations: 1.074 MB / 0.667 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3237, allocations: 185.9 kB / 0.6672 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.3242, allocations: 482.3 kB / 0.6677 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.3249, allocations: 0.617 MB / 0.6683 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3251, allocations: 83.66 kB / 0.6684 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.3254, allocations: 212.4 kB / 0.6686 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.3257, allocations: 239.8 kB / 0.6688 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.3261, allocations: 0.5043 MB / 0.6693 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3275, allocations: 1.252 MB / 0.6705 GB, free: 10.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.3275, allocations: 0 / 0.6705 GB, free: 10.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3275, allocations: 0.9688 kB / 0.6705 GB, free: 10.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3275, allocations: 0 / 0.6705 GB, free: 10.51 MB / 462.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.006347/0.3338, allocations: 2.119 MB / 0.6726 GB, free: 9.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3339, allocations: 10.16 kB / 0.6726 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.334, allocations: 102.6 kB / 0.6727 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003796/0.3378, allocations: 0.6515 MB / 0.6733 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.3387, allocations: 0.5912 MB / 0.6739 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.3389, allocations: 181.7 kB / 0.6741 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3391, allocations: 61.91 kB / 0.6741 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3408, allocations: 0.8706 MB / 0.675 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3408, allocations: 0 / 0.675 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.3409, allocations: 25.31 kB / 0.675 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.3409, allocations: 18.75 kB / 0.675 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.3427, allocations: 0.9046 MB / 0.6759 GB, free: 7.395 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.004194/0.3469, allocations: 2.415 MB / 0.6783 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3484, allocations: 0.7137 MB / 0.679 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.3496, allocations: 0.5852 MB / 0.6795 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.773e-05/0.3497, allocations: 13.42 kB / 0.6795 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3498, allocations: 42.44 kB / 0.6796 GB, free: 4.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 1.943e-06/0.3498, allocations: 0 / 0.6796 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.0211/0.3709, allocations: 5.559 MB / 0.685 GB, free: 2.082 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3709, allocations: 63.41 kB / 0.6851 GB, free: 2.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3719, allocations: 0.7524 MB / 0.6858 GB, free: 1.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.3721, allocations: 36.39 kB / 0.6858 GB, free: 1.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.3724, allocations: 404 kB / 0.6862 GB, free: 1.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.3727, allocations: 313.5 kB / 0.6865 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.373, allocations: 180 kB / 0.6867 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3732, allocations: 347.3 kB / 0.687 GB, free: 488 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.3745, allocations: 0.6091 MB / 0.6876 GB, free: 180 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.3759, allocations: 0.7243 MB / 0.6883 GB, free: 15.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.3785, allocations: 1.336 MB / 0.6896 GB, free: 15.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3785, allocations: 0 / 0.6896 GB, free: 15.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01092/0.3894, allocations: 3.568 MB / 0.6931 GB, free: 13.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3894, allocations: 5.875 kB / 0.6931 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3895, allocations: 1.125 kB / 0.6931 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005279/0.3947, allocations: 1.525 MB / 0.6946 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.3956, allocations: 175.8 kB / 0.6948 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.414, allocations: 8.102 MB / 0.7027 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4152, allocations: 135.5 kB / 0.7028 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/0.4153, allocations: 39.98 kB / 0.7029 GB, free: 3.984 MB / 478.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.0004407/0.4158, allocations: 229.6 kB / 0.7031 GB, free: 3.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.4159, allocations: 103.3 kB / 0.7032 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.4267, allocations: 3.337 MB / 0.7064 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.4267, allocations: 15.92 kB / 0.7064 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.4267, allocations: 0 / 0.7064 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4267, allocations: 7.922 kB / 0.7065 GB, free: 276 kB / 478.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.01291/0.4396, allocations: 4.78 MB / 0.7111 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4396, allocations: 0 / 0.7111 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.4402, allocations: 99.81 kB / 0.7112 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00552/0.4457, allocations: 1.519 MB / 0.7127 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.4458, allocations: 23.92 kB / 0.7127 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/0.4622, allocations: 7.165 MB / 0.7197 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4622, allocations: 0 / 0.7197 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.4747, allocations: 4.174 MB / 0.7238 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.4751, allocations: 111.2 kB / 0.7239 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.4752, allocations: 16 kB / 0.7239 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008021/0.476, allocations: 75.91 kB / 0.724 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/0.4765, allocations: 180.7 kB / 0.7242 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.4766, allocations: 24 kB / 0.7242 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006594/0.4772, allocations: 0.5068 MB / 0.7247 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4772, allocations: 0 / 0.7247 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001011/0.4783, allocations: 375.7 kB / 0.725 GB, free: 12.98 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.01269/0.4909, allocations: 4.743 MB / 0.7297 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005307/0.4962, allocations: 1.995 MB / 0.7316 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4963, allocations: 0 / 0.7316 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003728/0.5, allocations: 1.282 MB / 0.7329 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.5007, allocations: 75.3 kB / 0.7329 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/0.5322, allocations: 13.02 MB / 0.7457 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.5329, allocations: 1.025 MB / 0.7467 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.5333, allocations: 97.47 kB / 0.7468 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.5338, allocations: 363.2 kB / 0.7471 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.5338, allocations: 4 kB / 0.7471 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/0.602, allocations: 30.93 MB / 0.7773 GB, free: 7.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.52, allocations: 3.234 kB / 0.7773 GB, free: 7.199 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.38244724300239] Failed to read output from testmodel.py, exit status != 0: 15.640451077000762 15.654608134 15.324254432 Calling exit ...