Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.001471/0.001471, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] 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.001516/0.001516, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1907/0.1907, allocations: 38.56 MB / 352.5 MB, free: 12.38 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Drives.ASM,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.002503/0.002503, allocations: 59.91 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3714, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01454/0.3859, allocations: 7.068 MB / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.4001, allocations: 4.992 MB / 0.5537 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.4016, allocations: 44.16 kB / 0.5538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01979/0.4214, allocations: 6.503 MB / 0.5601 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.424, allocations: 0.7468 MB / 0.5608 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.4256, allocations: 0.5222 MB / 0.5614 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004452/0.43, allocations: 2.776 MB / 0.5641 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.4319, allocations: 1.131 MB / 0.5652 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.4335, allocations: 0.8216 MB / 0.566 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4353, allocations: 0.9539 MB / 0.5669 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004637/0.4358, allocations: 148 kB / 0.567 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.4377, allocations: 0.6983 MB / 0.5677 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.4388, allocations: 0.6701 MB / 0.5684 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.4403, allocations: 0.6146 MB / 0.569 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.4442, allocations: 2.293 MB / 0.5712 GB, free: 6.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4442, allocations: 4 kB / 0.5712 GB, free: 6.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4442, allocations: 0 / 0.5712 GB, free: 6.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.4443, allocations: 0 / 0.5712 GB, free: 6.195 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.004421/0.4487, allocations: 1.932 MB / 0.5731 GB, free: 4.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4487, allocations: 11.98 kB / 0.5731 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.449, allocations: 185.4 kB / 0.5733 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008916/0.4499, allocations: 215.9 kB / 0.5735 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.4522, allocations: 0.9857 MB / 0.5745 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.4525, allocations: 337.3 kB / 0.5748 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.4528, allocations: 112 kB / 0.5749 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003568/0.4563, allocations: 1.888 MB / 0.5767 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.4564, allocations: 3.953 kB / 0.5767 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.4565, allocations: 40 kB / 0.5768 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/0.4568, allocations: 129.9 kB / 0.5769 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/0.46, allocations: 1.604 MB / 0.5785 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009655/0.4697, allocations: 5.33 MB / 0.5837 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.4724, allocations: 1.035 MB / 0.5847 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.474, allocations: 0.6876 MB / 0.5854 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.4741, allocations: 12.98 kB / 0.5854 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002025/0.4761, allocations: 0.9767 MB / 0.5863 GB, free: 6.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.396e-06/0.4761, allocations: 0 / 0.5863 GB, free: 6.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.01031/0.4864, allocations: 4.333 MB / 0.5906 GB, free: 1.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.4865, allocations: 135.7 kB / 0.5907 GB, free: 1.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4876, allocations: 0.8016 MB / 0.5915 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.4878, allocations: 61.69 kB / 0.5915 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.4882, allocations: 0.5244 MB / 0.592 GB, free: 368 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.4887, allocations: 420.5 kB / 0.5924 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004335/0.4891, allocations: 250.8 kB / 0.5927 GB, free: 15.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4893, allocations: 357.9 kB / 0.593 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4905, allocations: 0.7389 MB / 0.5937 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.4919, allocations: 1.038 MB / 0.5948 GB, free: 13.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.4945, allocations: 1.678 MB / 0.5964 GB, free: 11.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4945, allocations: 0 / 0.5964 GB, free: 11.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004537/0.499, allocations: 2.268 MB / 0.5986 GB, free: 9.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.4991, allocations: 68.33 kB / 0.5987 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.4992, allocations: 4 kB / 0.5987 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.5005, allocations: 426.2 kB / 0.5991 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009525/0.5015, allocations: 215.6 kB / 0.5993 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009101/0.5106, allocations: 5.965 MB / 0.6051 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5118, allocations: 103.8 kB / 0.6052 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.512, allocations: 87.88 kB / 0.6053 GB, free: 2.273 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0008729/0.5129, allocations: 454.8 kB / 0.6057 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.5132, allocations: 123.3 kB / 0.6059 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.5174, allocations: 1.792 MB / 0.6076 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/0.5175, allocations: 31.98 kB / 0.6076 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5175, allocations: 4 kB / 0.6076 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.5175, allocations: 7.922 kB / 0.6076 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.5243, allocations: 3.102 MB / 0.6107 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5244, allocations: 0 / 0.6107 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.5253, allocations: 171.8 kB / 0.6108 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.5259, allocations: 158.4 kB / 0.611 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.526, allocations: 40.02 kB / 0.611 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.5309, allocations: 4.483 MB / 0.6154 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5309, allocations: 4.031 kB / 0.6154 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006215/0.5371, allocations: 2.746 MB / 0.6181 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/0.5379, allocations: 239.2 kB / 0.6183 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.5382, allocations: 83.94 kB / 0.6184 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.5391, allocations: 111.8 kB / 0.6185 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.5394, allocations: 76.84 kB / 0.6186 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.5395, allocations: 39.97 kB / 0.6186 GB, free: 4.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008368/0.5403, allocations: 0.5459 MB / 0.6191 GB, free: 3.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5403, allocations: 0 / 0.6191 GB, free: 3.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00144/0.5417, allocations: 383.7 kB / 0.6195 GB, free: 3.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008459/0.5502, allocations: 3.791 MB / 0.6232 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004747/0.555, allocations: 2.157 MB / 0.6253 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.555, allocations: 1.375 kB / 0.6253 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.5576, allocations: 1.161 MB / 0.6265 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.559, allocations: 241.5 kB / 0.6267 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/0.5814, allocations: 13.12 MB / 0.6395 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009077/0.5823, allocations: 0.6827 MB / 0.6402 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.5833, allocations: 300.5 kB / 0.6405 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/0.584, allocations: 447.3 kB / 0.6409 GB, free: 13 MB / 494.1 MB Notification: Performance of SimCode: time 2.154e-06/0.584, allocations: 4 kB / 0.6409 GB, free: 12.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08516/0.6692, allocations: 31.87 MB / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.84, allocations: 8 kB / 0.672 GB, free: 13.33 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.542340479325503] Failed to read output from testmodel.py, exit status != 0: 15.036017146892846 15.052825016 14.605139228 Calling exit ...