Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 224.2 kB / 22.93 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.28/1.28, allocations: 230.5 MB / 256.4 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 71.89 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2028, allocations: 53.31 MB / 429.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.0284/0.2312, allocations: 27.28 MB / 456.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.2454, allocations: 7.55 MB / 464.3 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.2489, allocations: 175.4 kB / 464.4 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.2531, allocations: 1.859 MB / 466.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.2595, allocations: 2.449 MB / 468.8 MB, free: 148 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.2632, allocations: 1.58 MB / 470.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.2742, allocations: 8.739 MB / 479.1 MB, free: 5.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.2796, allocations: 4.159 MB / 483.2 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/0.2846, allocations: 4.101 MB / 487.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006552/0.2912, allocations: 4.982 MB / 492.3 MB, free: 8.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001663/0.2928, allocations: 1.137 MB / 493.5 MB, free: 7.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.2953, allocations: 1.371 MB / 494.8 MB, free: 5.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.2975, allocations: 2.559 MB / 497.4 MB, free: 3.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005126/0.3027, allocations: 4.796 MB / 0.4904 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.3175, allocations: 14.95 MB / 0.505 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3175, allocations: 7.984 kB / 0.505 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3175, allocations: 0 / 0.505 GB, free: 15.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000258/0.3177, allocations: 4 kB / 0.505 GB, free: 15.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02284/0.3406, allocations: 9.605 MB / 0.5144 GB, free: 5.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3406, allocations: 8.031 kB / 0.5144 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001312/0.3419, allocations: 0.996 MB / 0.5154 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008422/0.3504, allocations: 1.756 MB / 0.5171 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009524/0.3599, allocations: 5.169 MB / 0.5221 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004387/0.3603, allocations: 0.5342 MB / 0.5227 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.362, allocations: 0.7147 MB / 0.5234 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/0.3791, allocations: 9.812 MB / 0.5329 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.3793, allocations: 11.89 kB / 0.533 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006672/0.3799, allocations: 300 kB / 0.5332 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003083/0.3802, allocations: 350.6 kB / 0.5336 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3255/0.7058, allocations: 8.326 MB / 0.5417 GB, free: 90.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/0.7384, allocations: 30.6 MB / 0.5716 GB, free: 68.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.7486, allocations: 16.93 MB / 0.5881 GB, free: 49.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005017/0.7537, allocations: 3.535 MB / 0.5916 GB, free: 46.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.7645, allocations: 9.307 MB / 0.6007 GB, free: 36.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7645, allocations: 68.7 kB / 0.6007 GB, free: 36.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 3.797e-06/0.7645, allocations: 3.938 kB / 0.6007 GB, free: 36.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=289): time 0.01916/0.7837, allocations: 12.45 MB / 0.6129 GB, free: 24.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.7837, allocations: 81.69 kB / 0.613 GB, free: 24.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/0.7875, allocations: 3.819 MB / 0.6167 GB, free: 20.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.7877, allocations: 77.7 kB / 0.6168 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.7889, allocations: 3.338 MB / 0.62 GB, free: 17.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.7893, allocations: 1.047 MB / 0.6211 GB, free: 16.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007182/0.79, allocations: 0.6494 MB / 0.6217 GB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.948e-05/0.7901, allocations: 309.1 kB / 0.622 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.7919, allocations: 1.538 MB / 0.6235 GB, free: 13.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.794, allocations: 2.681 MB / 0.6261 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/0.7983, allocations: 4.521 MB / 0.6305 GB, free: 5.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.7983, allocations: 8 kB / 0.6305 GB, free: 5.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006482/0.8048, allocations: 5.359 MB / 0.6358 GB, free: 40 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.8048, allocations: 24 kB / 0.6358 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.184e-05/0.8048, allocations: 32.8 kB / 0.6358 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.8062, allocations: 0.5709 MB / 0.6364 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.8091, allocations: 0.858 MB / 0.6372 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009067/0.8182, allocations: 9.463 MB / 0.6465 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.8209, allocations: 176 kB / 0.6466 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.8212, allocations: 164 kB / 0.6468 GB, free: 4.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003499/0.8247, allocations: 2.144 MB / 0.6489 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007992/0.8255, allocations: 441.1 kB / 0.6493 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008139/0.8336, allocations: 4.753 MB / 0.6539 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.8336, allocations: 35.92 kB / 0.654 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.8337, allocations: 16 kB / 0.654 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.8337, allocations: 15.94 kB / 0.654 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.8504, allocations: 10.98 MB / 0.6647 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.8505, allocations: 4 kB / 0.6647 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/0.8524, allocations: 443.4 kB / 0.6652 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.855, allocations: 1.034 MB / 0.6662 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/0.8552, allocations: 84.94 kB / 0.6662 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.8749, allocations: 18.96 MB / 0.6848 GB, free: 12.03 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.8749, allocations: 11.97 kB / 0.6848 GB, free: 12.02 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.8857, allocations: 6.843 MB / 0.6915 GB, free: 4.961 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/0.8875, allocations: 0.8495 MB / 0.6923 GB, free: 4.09 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/0.888, allocations: 68 kB / 0.6923 GB, free: 4.023 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.8897, allocations: 135.9 kB / 0.6925 GB, free: 3.891 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/0.8902, allocations: 225.8 kB / 0.6927 GB, free: 3.668 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.8904, allocations: 87.97 kB / 0.6928 GB, free: 3.582 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0037/0.8941, allocations: 2.58 MB / 0.6953 GB, free: 0.9922 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/0.8941, allocations: 0 / 0.6953 GB, free: 0.9922 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.003709/0.8978, allocations: 1.242 MB / 0.6965 GB, free: 15.75 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (217): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/0.9087, allocations: 7.526 MB / 0.7039 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006906/0.9156, allocations: 4.365 MB / 0.7081 GB, free: 3.527 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.9156, allocations: 4 kB / 0.7081 GB, free: 3.523 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/0.9201, allocations: 2.943 MB / 0.711 GB, free: 496 kB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/0.9249, allocations: 1.183 MB / 0.7122 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2321/1.157, allocations: 43.29 MB / 0.7544 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/1.16, allocations: 4.399 MB / 0.7587 GB, free: 181.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002264/1.162, allocations: 0.9078 MB / 0.7596 GB, free: 181.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/1.165, allocations: 2.779 MB / 0.7623 GB, free: 179.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.165, allocations: 0 / 0.7623 GB, free: 179.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.314, allocations: 112.5 MB / 0.8722 GB, free: 75.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.35, allocations: 7.594 kB / 0.8722 GB, free: 75.38 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.864306045004923]