Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.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.08015/0.08015, allocations: 12.36 MB / 31.19 MB, free: 6.535 MB / 26.18 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.001207/0.001207, 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.298/1.298, allocations: 207.6 MB / 250.8 MB, free: 7.625 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.001542/0.001542, allocations: 204.4 kB / 306.1 MB, free: 0.7383 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.323/0.323, allocations: 79.73 MB / 440.9 MB, free: 10.49 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.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",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.003995/0.003995, allocations: 151.8 kB / 0.5875 GB, free: 5.395 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2998, allocations: 71.96 MB / 0.6578 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant): time 0.006735/0.3065, allocations: 5.328 MB / 0.663 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.3097, allocations: 1.592 MB / 0.6646 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.3101, allocations: 8 kB / 0.6646 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.3107, allocations: 186.4 kB / 0.6648 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.3124, allocations: 0.6836 MB / 0.6654 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3135, allocations: 0.4944 MB / 0.6659 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3149, allocations: 1.055 MB / 0.6669 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.3153, allocations: 187 kB / 0.6671 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.3159, allocations: 462 kB / 0.6676 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.3166, allocations: 0.6106 MB / 0.6682 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.3168, allocations: 84 kB / 0.6682 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.3172, allocations: 215.8 kB / 0.6684 GB, free: 2.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3174, allocations: 235 kB / 0.6687 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.3178, allocations: 0.4931 MB / 0.6691 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.3192, allocations: 1.236 MB / 0.6704 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3192, allocations: 4 kB / 0.6704 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3192, allocations: 0 / 0.6704 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3193, allocations: 0 / 0.6704 GB, free: 0.9727 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006713/0.326, allocations: 2.093 MB / 0.6724 GB, free: 14.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.326, allocations: 8.031 kB / 0.6724 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.3261, allocations: 102.7 kB / 0.6725 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.3302, allocations: 0.6552 MB / 0.6731 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3312, allocations: 0.5894 MB / 0.6737 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.3314, allocations: 176.1 kB / 0.6739 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3315, allocations: 64 kB / 0.674 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.3334, allocations: 0.8575 MB / 0.6748 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3334, allocations: 3.984 kB / 0.6748 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.3335, allocations: 20 kB / 0.6748 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3335, allocations: 19.94 kB / 0.6748 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.3355, allocations: 0.8991 MB / 0.6757 GB, free: 11.38 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.004447/0.3399, allocations: 2.378 MB / 0.678 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3415, allocations: 0.6806 MB / 0.6787 GB, free: 8.219 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.3427, allocations: 0.5771 MB / 0.6793 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.74e-05/0.3428, allocations: 20.56 kB / 0.6793 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3428, allocations: 39.22 kB / 0.6793 GB, free: 7.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=79): time 2.244e-06/0.3428, allocations: 4 kB / 0.6793 GB, free: 7.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=79): time 0.02012/0.3629, allocations: 5.178 MB / 0.6844 GB, free: 2.375 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.363, allocations: 64.06 kB / 0.6844 GB, free: 2.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/0.364, allocations: 0.7435 MB / 0.6852 GB, free: 1.551 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.3641, allocations: 41.7 kB / 0.6852 GB, free: 1.504 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.3644, allocations: 401.2 kB / 0.6856 GB, free: 1.105 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.3647, allocations: 301.4 kB / 0.6859 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.3651, allocations: 178.6 kB / 0.686 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3652, allocations: 341.9 kB / 0.6864 GB, free: 296 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.3666, allocations: 0.6032 MB / 0.687 GB, free: 15.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.368, allocations: 0.7162 MB / 0.6877 GB, free: 14.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.3708, allocations: 1.311 MB / 0.6889 GB, free: 13.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3708, allocations: 0 / 0.6889 GB, free: 13.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01133/0.3821, allocations: 3.525 MB / 0.6924 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3822, allocations: 15.47 kB / 0.6924 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3822, allocations: 0 / 0.6924 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.3876, allocations: 1.503 MB / 0.6939 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.3885, allocations: 167.8 kB / 0.694 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.4079, allocations: 8.074 MB / 0.7019 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.4091, allocations: 139.5 kB / 0.702 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.4092, allocations: 35.98 kB / 0.7021 GB, free: 20 kB / 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 (91): * Single equations (assignments): 90 * 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.0004494/0.4096, allocations: 233.5 kB / 0.7023 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.4098, allocations: 95.39 kB / 0.7024 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.4208, allocations: 3.255 MB / 0.7056 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4208, allocations: 15.94 kB / 0.7056 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4208, allocations: 0 / 0.7056 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4208, allocations: 3.984 kB / 0.7056 GB, free: 12.39 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.01241/0.4332, allocations: 4.546 MB / 0.71 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.4332, allocations: 4 kB / 0.71 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.4338, allocations: 95.88 kB / 0.7101 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00525/0.439, allocations: 1.465 MB / 0.7116 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-05/0.4391, allocations: 16 kB / 0.7116 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.4551, allocations: 6.943 MB / 0.7183 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4551, allocations: 3.938 kB / 0.7184 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.4675, allocations: 4.091 MB / 0.7223 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.4678, allocations: 103.1 kB / 0.7224 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.4679, allocations: 16 kB / 0.7225 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.4687, allocations: 87.83 kB / 0.7225 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/0.4692, allocations: 172.3 kB / 0.7227 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.4693, allocations: 24 kB / 0.7227 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006879/0.47, allocations: 0.5029 MB / 0.7232 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.47, allocations: 4 kB / 0.7232 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009946/0.4709, allocations: 367.7 kB / 0.7236 GB, free: 9.715 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01296/0.4839, allocations: 4.647 MB / 0.7281 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005422/0.4893, allocations: 1.982 MB / 0.7301 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4893, allocations: 4.062 kB / 0.7301 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.493, allocations: 1.256 MB / 0.7313 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.4937, allocations: 75.31 kB / 0.7314 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/0.5258, allocations: 12.81 MB / 0.7439 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.5265, allocations: 1.013 MB / 0.7449 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.5268, allocations: 89.45 kB / 0.7449 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.5273, allocations: 339.3 kB / 0.7453 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.5273, allocations: 0 / 0.7453 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.5944, allocations: 29.68 MB / 0.7742 GB, free: 5.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.64, allocations: 15.28 kB / 0.7743 GB, free: 5.559 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant_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_LoadTestVoltDependant.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.593292969002505] Failed to read output from testmodel.py, exit status != 0: 15.773137208001572 15.787366607 15.465145305 Calling exit ...